Description

Base class for 2nd order timesteppers, i.e., a time integrator for a ChIntegrableIIorder.

A ChIntegrableIIorder is a special subclass of integrable objects that have a state comprised of position and velocity y={x,v}, and state derivative dy/dt={v,a}, where a=acceleration.

#include <ChTimestepper.h>

Inheritance diagram for chrono::ChTimestepperIIorder:
Collaboration diagram for chrono::ChTimestepperIIorder:

Public Member Functions

virtual ChState & GetStatePos ()
 Access the state, position part, at current time.
 
virtual ChStateDelta & GetStateVel ()
 Access the state, speed part, at current time.
 
virtual ChStateDelta & GetStateAcc ()
 Access the acceleration, at current time.
 
virtual void SetIntegrable (ChIntegrableIIorder *intgr)
 Set the integrable object.
 
ChIntegrableIIorder * GetIntegrableIIorder () const
 Get the integrable object.
 

Protected Member Functions

 ChTimestepperIIorder (ChIntegrableIIorder *intgr=nullptr)
 

Protected Attributes

ChIntegrableIIorder * integrable
 
ChState X
 
ChStateDelta V
 
ChStateDelta A
 

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