chrono::ChLoaderUVWatomic Class Reference
Description
Class of loaders for ChLoadableUVW objects (which support volume loads) of atomic type, that is, with a concentrated load in a point Pu,Pv,Pz.
#include <ChLoaderUVW.h>
Inheritance diagram for chrono::ChLoaderUVWatomic:
Collaboration diagram for chrono::ChLoaderUVWatomic:
Public Member Functions | |
ChLoaderUVWatomic (std::shared_ptr< ChLoadableUVW > mloadable, double mU, double mV, double mW) | |
virtual void | ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w) override |
Computes Q = N'*F. More... | |
void | SetApplication (double mu, double mv, double mw) |
Set the position, in the volume, where the atomic load is applied. | |
Public Member Functions inherited from chrono::ChLoaderUVW | |
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 bool | IsStiff () |
Public Attributes | |
double | Pu |
double | Pv |
double | Pw |
Public Attributes inherited from chrono::ChLoaderUVW | |
std::shared_ptr< ChLoadableUVW > | loadable |
Public Attributes inherited from chrono::ChLoader | |
ChVectorDynamic | Q |
Additional Inherited Members | |
Public Types inherited from chrono::ChLoaderUVW | |
typedef ChLoadableUVW | type_loadable |
Member Function Documentation
◆ ComputeQ()
|
inlineoverridevirtual |
Computes Q = N'*F.
- Parameters
-
state_x if != 0, update state (pos. part) to this, then evaluate Q state_w if != 0, update state (speed part) to this, then evaluate Q
Implements chrono::ChLoader.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/physics/ChLoaderUVW.h