chrono::ChLoaderUVW Class Referenceabstract
Description
Class of loaders for ChLoadableUVW objects (which support volume loads).
#include <ChLoaderUVW.h>
Inheritance diagram for chrono::ChLoaderUVW:
Collaboration diagram for chrono::ChLoaderUVW:
Public Types | |
typedef ChLoadableUVW | type_loadable |
Public Member Functions | |
ChLoaderUVW (std::shared_ptr< ChLoadableUVW > mloadable) | |
virtual void | ComputeF (const double U, const double V, const double W, ChVectorDynamic<> &F, ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w)=0 |
Children classes must provide this function that evaluates F = F(u,v,w) This will be evaluated during ComputeQ() to perform integration over the domain. More... | |
void | SetLoadable (std::shared_ptr< ChLoadableUVW > mloadable) |
virtual std::shared_ptr< ChLoadable > | GetLoadable () override |
std::shared_ptr< ChLoadableUVW > | GetLoadableUVW () |
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< ChLoadableUVW > | loadable |
Public Attributes inherited from chrono::ChLoader | |
ChVectorDynamic | Q |
Member Function Documentation
◆ ComputeF()
|
pure virtual |
Children classes must provide this function that evaluates F = F(u,v,w) This will be evaluated during ComputeQ() to perform integration over the domain.
- Parameters
-
U parametric coordinate in volume V parametric coordinate in volume W parametric coordinate in volume F Result F vector here, size must be = n.field coords.of loadable state_x if != 0, update state (pos. part) to this, then evaluate F state_w if != 0, update state (speed part) to this, then evaluate F
Implemented in chrono::ChLoaderGravity, and chrono::ChLoaderXYZnode.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/physics/ChLoaderUVW.h