chrono::ChLoaderUVW Class Referenceabstract


Loaders for ChLoadableUVW objects (which support volume loads).

#include <ChLoaderUVW.h>

Inheritance diagram for chrono::ChLoaderUVW:
Collaboration diagram for chrono::ChLoaderUVW:

Public Member Functions

 ChLoaderUVW (std::shared_ptr< ChLoadableUVW > mloadable)
virtual void ComputeF (double U, double V, double W, ChVectorDynamic<> &F, ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w)=0
 Evaluate F = F(u,v,w) for this line load. More...
void SetLoadable (std::shared_ptr< ChLoadableUVW > mloadable)
virtual std::shared_ptr< ChLoadableGetLoadable () override
std::shared_ptr< ChLoadableUVWGetLoadableUVW ()
- Public Member Functions inherited from chrono::ChLoader
virtual void ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w)=0
virtual bool IsStiff ()

Public Attributes

std::shared_ptr< ChLoadableUVWloadable
- Public Attributes inherited from chrono::ChLoader
ChVectorDynamic Q

Member Function Documentation

◆ ComputeF()

virtual void chrono::ChLoaderUVW::ComputeF ( double  U,
double  V,
double  W,
ChVectorDynamic<> &  F,
ChVectorDynamic<> *  state_x,
ChVectorDynamic<> *  state_w 
pure virtual

Evaluate F = F(u,v,w) for this line load.

The vector F is set to zero on entry. The function provided by derived classes is called by ComputeQ to perform integration over the domain.

Uparametric coordinate in volume
Vparametric coordinate in volume
Wparametric coordinate in volume
Fresult vector, size = field dim of loadable
state_xif != 0, update state (pos. part) to this, then evaluate F
state_wif != 0, update state (speed part) to this, then evaluate F

Implemented in chrono::ChLoaderGravity, and chrono::ChLoaderNodeXYZ.

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/physics/ChLoaderUVW.h