chrono::ChTimestepperEulerExpl Class Reference
Description
Euler explicit timestepper.
This performs the typical y_new = y+ dy/dt * dt integration with Euler formula.
#include <ChTimestepper.h>
Inheritance diagram for chrono::ChTimestepperEulerExpl:
Collaboration diagram for chrono::ChTimestepperEulerExpl:
Public Member Functions | |
ChTimestepperEulerExpl (ChIntegrable *intgr=nullptr) | |
Constructors (default empty) | |
virtual void | Advance (const double dt) override |
Performs an integration timestep. More... | |
virtual void | ArchiveOut (ChArchiveOut &archive) override |
Method to allow serialization of transient data to archives. | |
virtual void | ArchiveIn (ChArchiveIn &archive) override |
Method to allow de-serialization of transient data from archives. | |
Public Member Functions inherited from chrono::ChTimestepperIorder | |
ChTimestepperIorder (ChIntegrable *intgr=nullptr) | |
Constructor. | |
virtual | ~ChTimestepperIorder () |
Destructor. | |
virtual ChState & | GetState () |
Access the state at current time. | |
virtual ChStateDelta & | GetStateDt () |
Access the derivative of state at current time. | |
virtual void | SetIntegrable (ChIntegrable *intgr) |
Set the integrable object. | |
Public Member Functions inherited from chrono::ChTimestepper | |
ChTimestepper (ChIntegrable *intgr=nullptr) | |
Constructor. | |
virtual | ~ChTimestepper () |
Destructor. | |
virtual Type | GetType () const |
Return type of the integration method. More... | |
virtual ChVectorDynamic & | GetLagrangeMultipliers () |
Access the lagrangian multipliers, if any. | |
ChIntegrable * | GetIntegrable () |
Get the integrable object. | |
virtual double | GetTime () const |
Get the current time. | |
virtual void | SetTime (double mt) |
Set the current time. | |
void | SetVerbose (bool verb) |
Turn on/off logging of messages. | |
Public Member Functions inherited from chrono::ChExplicitTimestepper | |
void | SetDiagonalLumpingON (double Ck=1000, double Cr=0) |
Turn on the diagonal lumping. More... | |
void | SetDiagonalLumpingOFF () |
Turn off the diagonal lumping (default is off) | |
double | GetLumpingError () |
Gets the diagonal lumping error done last time the integrator has been called. | |
void | ResetLumpingError () |
Resets the diagonal lumping error. | |
Additional Inherited Members | |
Public Types inherited from chrono::ChTimestepper | |
enum | Type { EULER_IMPLICIT_LINEARIZED, EULER_IMPLICIT_PROJECTED, EULER_IMPLICIT, TRAPEZOIDAL, TRAPEZOIDAL_LINEARIZED, HHT, HEUN, RUNGEKUTTA45, EULER_EXPLICIT, LEAPFROG, NEWMARK, CUSTOM } |
Available methods for time integration (time steppers). | |
Static Public Member Functions inherited from chrono::ChTimestepper | |
static std::string | GetTypeAsString (Type type) |
Return the integrator type as a string. | |
Protected Attributes inherited from chrono::ChTimestepperIorder | |
ChState | Y |
ChStateDelta | dYdt |
Protected Attributes inherited from chrono::ChTimestepper | |
ChIntegrable * | integrable |
double | T |
ChVectorDynamic | L |
bool | verbose |
bool | Qc_do_clamp |
double | Qc_clamping |
Protected Attributes inherited from chrono::ChExplicitTimestepper | |
ChLumpingParms * | lumping_parameters |
Member Function Documentation
◆ Advance()
|
overridevirtual |
Performs an integration timestep.
- Parameters
-
dt timestep to advance
Implements chrono::ChTimestepper.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/timestepper/ChTimestepper.h
- /builds/uwsbel/chrono/src/chrono/timestepper/ChTimestepper.cpp