chrono::ChLoaderU Class Referenceabstract
Description
Loaders for ChLoadableU objects (which support line loads).
#include <ChLoaderU.h>
Inheritance diagram for chrono::ChLoaderU:
Collaboration diagram for chrono::ChLoaderU:
Public Member Functions | |
ChLoaderU (std::shared_ptr< ChLoadableU > mloadable) | |
virtual void | ComputeF (double U, ChVectorDynamic<> &F, ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w)=0 |
Evaluate F = F(u) for this line load. More... | |
void | SetLoadable (std::shared_ptr< ChLoadableU > mloadable) |
virtual std::shared_ptr< ChLoadable > | GetLoadable () override |
std::shared_ptr< ChLoadableU > | GetLoadableU () |
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< ChLoadableU > | loadable |
Public Attributes inherited from chrono::ChLoader | |
ChVectorDynamic | Q |
Member Function Documentation
◆ ComputeF()
|
pure virtual |
Evaluate F = F(u) 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.
- Parameters
-
U parametric coordinate in line F result vector, size = field dim 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::fea::ChLoaderBeamWrenchDistributed, and chrono::fea::ChLoaderBeamWrench.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/physics/ChLoaderU.h