iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Protected Attributes | List of all members
imstk::NewmarkBeta Class Reference

Newmark-beta time integration. More...

#include <imstkNewmarkBeta.h>

Inheritance diagram for imstk::NewmarkBeta:
Inheritance graph
[legend]
Collaboration diagram for imstk::NewmarkBeta:
Collaboration graph
[legend]

Public Member Functions

 NewmarkBeta (const double dT, const double beta=0.25, const double gamma=0.5)
 
void updateStateGivenDv (std::shared_ptr< FeDeformBodyState > prevState, std::shared_ptr< FeDeformBodyState > currentState, Vectord &dV)
 Update states given the updates in different forms.
 
void updateStateGivenDu (std::shared_ptr< FeDeformBodyState > prevState, std::shared_ptr< FeDeformBodyState > currentState, Vectord &dU)
 
void updateStateGivenV (std::shared_ptr< FeDeformBodyState > prevState, std::shared_ptr< FeDeformBodyState > currentState, Vectord &v)
 
void updateStateGivenU (std::shared_ptr< FeDeformBodyState > prevState, std::shared_ptr< FeDeformBodyState > currentState, Vectord &u)
 
- Public Member Functions inherited from imstk::TimeIntegrator
 TimeIntegrator (Type type, double dT)
 
TimeIntegrator::Type getType () const
 Return the type of the time integrator.
 
void setTimestepSize (const double dT)
 Get/Set the time step size.
 
double getTimestepSize () const
 
void setTimestepSizeToDefault ()
 
void setDefaultTimestepSize (const double dT)
 Set/Get the time step size.
 
double getDefaultTimestepSize () const
 

Protected Attributes

double m_beta
 
double m_gamma
 
- Protected Attributes inherited from imstk::TimeIntegrator
Type m_type
 Type of the time integrator.
 
double m_dT
 Delta T.
 
double m_defaultDt
 

Additional Inherited Members

- Public Types inherited from imstk::TimeIntegrator
enum  Type {
  ForwardEuler, BackwardEuler, NewmarkBeta, CentralDifference,
  NoTimeStepper, None
}
 

Detailed Description

Newmark-beta time integration.

Definition at line 18 of file imstkNewmarkBeta.h.


The documentation for this class was generated from the following file: