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, const double mU, const double mV, const 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< ChLoadableUVWGetLoadableUVW ()
 
- 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< ChLoadableUVWloadable
 
- Public Attributes inherited from chrono::ChLoader
ChVectorDynamic Q
 

Additional Inherited Members

- Public Types inherited from chrono::ChLoaderUVW
typedef ChLoadableUVW type_loadable
 

Member Function Documentation

virtual void chrono::ChLoaderUVWatomic::ComputeQ ( ChVectorDynamic<> *  state_x,
ChVectorDynamic<> *  state_w 
)
overridevirtual

Computes Q = N'*F.

Parameters
state_xif != 0, update state (pos. part) to this, then evaluate Q
state_wif != 0, update state (speed part) to this, then evaluate Q

Implements chrono::ChLoader.