chrono::ChLoaderGravity Class Reference
  Description
A very usual type of volume loader: the constant gravitational load on Y.
#include <ChLoaderUVW.h>
Inheritance diagram for chrono::ChLoaderGravity:

Collaboration diagram for chrono::ChLoaderGravity:

| Public Member Functions | |
| ChLoaderGravity (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) override | 
| 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 | SetNumIntPoints (int val) | 
| Sets the number of integration points for gravity (assumed, for now, same number per direction) | |
| int | GetNumIntPoints () const | 
| Gets the number of integration points for gravity. | |
| void | Set_G_acc (ChVector<> m_acc) | 
| Sets the G (gravity) acceleration vector affecting the loadable object. | |
| ChVector | Get_G_acc () | 
| Gets the G (gravity) acceleration vector affecting the loadable object. | |
| virtual int | GetIntegrationPointsU () override | 
| virtual int | GetIntegrationPointsV () override | 
| virtual int | GetIntegrationPointsW () override | 
|  Public Member Functions inherited from chrono::ChLoaderUVWdistributed | |
| ChLoaderUVWdistributed (std::shared_ptr< ChLoadableUVW > mloadable) | |
| virtual void | ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w) override | 
| Computes Q = integral (N'*F*detJ dudvdz)  More... | |
|  Public Member Functions inherited from chrono::ChLoaderUVW | |
| ChLoaderUVW (std::shared_ptr< ChLoadableUVW > mloadable) | |
| 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 () | 
| Additional Inherited Members | |
|  Public Types inherited from chrono::ChLoaderUVW | |
| typedef ChLoadableUVW | type_loadable | 
|  Public Attributes inherited from chrono::ChLoaderUVW | |
| std::shared_ptr< ChLoadableUVW > | loadable | 
|  Public Attributes inherited from chrono::ChLoader | |
| ChVectorDynamic | Q | 
Member Function Documentation
◆ ComputeF()
| 
 | inlineoverridevirtual | 
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 
Implements chrono::ChLoaderUVW.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/physics/ChLoaderUVW.h
