chrono::ChTimestepperRungeKutta Class Reference

Description

Runke-Kutta 4th order explicit integrator.

#include <ChTimestepperExplicit.h>

Inheritance diagram for chrono::ChTimestepperRungeKutta:
Collaboration diagram for chrono::ChTimestepperRungeKutta:

Public Member Functions

 ChTimestepperRungeKutta (ChIntegrable *intgr=nullptr)
 
virtual Type GetType () const override
 Return type of the integration method. More...
 
virtual ChIntegrableGetIntegrable () const override
 Return the associated integrable object.
 
virtual void Advance (double dt) override
 Performs an integration timestep.
 
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
virtual ChStateGetState ()
 Access the state at current time.
 
virtual ChStateDeltaGetStateDt ()
 Access the derivative of state at current time.
 
virtual void SetIntegrable (ChIntegrable *intgr)
 Set the integrable object.
 
ChIntegrableGetIntegrableIorder () const
 Get the integrable object.
 
- Public Member Functions inherited from chrono::ChTimestepperExplicit
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.
 
- Public Member Functions inherited from chrono::ChTimestepper
virtual ChVectorDynamicGetLagrangeMultipliers ()
 Access the Lagrange multipliers, if any.
 
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.
 

Protected Attributes

ChState y_new
 
ChStateDelta Dydt1
 
ChStateDelta Dydt2
 
ChStateDelta Dydt3
 
ChStateDelta Dydt4
 
- Protected Attributes inherited from chrono::ChTimestepperIorder
ChIntegrableintegrable
 
ChState Y
 
ChStateDelta dYdt
 
- Protected Attributes inherited from chrono::ChTimestepperExplicit
ChLumpingParmslumping_parameters
 
- Protected Attributes inherited from chrono::ChTimestepper
bool verbose
 
double T
 
ChVectorDynamic L
 
bool Qc_do_clamp
 
double Qc_clamping
 

Additional Inherited Members

- Public Types inherited from chrono::ChTimestepper
enum  Type {
  EULER_EXPLICIT_I, EULER_EXPLICIT_II, EULER_SEMI_IMPLICIT, RUNGE_KUTTA,
  HEUN, LEAPFROG, EULER_IMPLICIT, EULER_IMPLICIT_LINEARIZED,
  EULER_IMPLICIT_PROJECTED, TRAPEZOIDAL, TRAPEZOIDAL_LINEARIZED, NEWMARK,
  HHT, CUSTOM
}
 Methods for time integration.
 
- Static Public Member Functions inherited from chrono::ChTimestepper
static std::string GetTypeAsString (Type type)
 Return the integrator type as a string.
 
- Protected Member Functions inherited from chrono::ChTimestepperIorder
 ChTimestepperIorder (ChIntegrable *intgr=nullptr)
 
- Protected Member Functions inherited from chrono::ChTimestepper
 ChTimestepper (ChIntegrable *intgr=nullptr)
 

Member Function Documentation

◆ GetType()

virtual Type chrono::ChTimestepperRungeKutta::GetType ( ) const
inlineoverridevirtual

Return type of the integration method.

Default is CUSTOM. Derived classes should override this function.

Implements chrono::ChTimestepper.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/timestepper/ChTimestepperExplicit.h
  • /builds/uwsbel/chrono/src/chrono/timestepper/ChTimestepperExplicit.cpp