iMSTK
Interactive Medical Simulation Toolkit
|
Newmark-beta time integration. More...
#include <imstkNewmarkBeta.h>
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) |
![]() | |
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 |
![]() | |
Type | m_type |
Type of the time integrator. | |
double | m_dT |
Delta T. | |
double | m_defaultDt |
Additional Inherited Members | |
![]() | |
enum | Type { ForwardEuler, BackwardEuler, NewmarkBeta, CentralDifference, NoTimeStepper, None } |
Newmark-beta time integration.
Definition at line 18 of file imstkNewmarkBeta.h.