chrono::ChLoader Class Referenceabstract

Description

Loads applied to a single ChLoadable object.

Loads can be forces, torques, pressures, thermal loads, etc. depending on the loaded ChLoadable object. For example, if the load references a ChBody the load is a wrench (force+torque), for a tetrahedron FE it is a force, etc. Objects of this class must be capable of computing the generalized load Q from the load F.

#include <ChLoader.h>

Inheritance diagram for chrono::ChLoader:

Public Member Functions

virtual void ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w)=0
 
virtual std::shared_ptr< ChLoadableGetLoadable ()=0
 
virtual bool IsStiff ()
 

Public Attributes

ChVectorDynamic Q
 

Member Function Documentation

◆ ComputeQ()

virtual void chrono::ChLoader::ComputeQ ( ChVectorDynamic<> * state_x,
ChVectorDynamic<> * state_w )
pure virtual
Parameters
state_xif not null, update state (pos. part) to this, then evaluate Q
state_wif not null, update state (speed part) to this, then evaluate Q

Implemented in chrono::ChLoaderUatomic, chrono::ChLoaderUdistributed, chrono::ChLoaderUVatomic, chrono::ChLoaderUVdistributed, chrono::ChLoaderUVWatomic, and chrono::ChLoaderUVWdistributed.


The documentation for this class was generated from the following file:
  • C:/M/B/src/chrono-9.0.1/src/chrono/physics/ChLoader.h