chrono::ChLoaderUVatomic Class Reference

Description

Class of loaders for ChLoadableUV objects (which support surface loads) of atomic type, that is, with a concentrated load in a point Pu,Pv.

#include <ChLoaderUV.h>

Inheritance diagram for chrono::ChLoaderUVatomic:
Collaboration diagram for chrono::ChLoaderUVatomic:

Public Member Functions

 ChLoaderUVatomic (std::shared_ptr< ChLoadableUV > mloadable)
 
virtual void ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w) override
 Computes Q = N'*F. More...
 
void SetApplication (double mu, double mv)
 Set the position, on the surface where the atomic load is applied.
 
- Public Member Functions inherited from chrono::ChLoaderUV
 ChLoaderUV (std::shared_ptr< ChLoadableUV > mloadable)
 
virtual void ComputeF (const double U, const double V, ChVectorDynamic<> &F, ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w)=0
 Children classes must provide this function that evaluates F = F(u,v) This will be evaluated during ComputeQ() to perform integration over the domain. More...
 
void SetLoadable (std::shared_ptr< ChLoadableUV > mloadable)
 
virtual std::shared_ptr< ChLoadableGetLoadable () override
 
std::shared_ptr< ChLoadableUVGetLoadableUV ()
 
- Public Member Functions inherited from chrono::ChLoader
virtual bool IsStiff ()
 

Public Attributes

double Pu
 
double Pv
 
- Public Attributes inherited from chrono::ChLoaderUV
std::shared_ptr< ChLoadableUVloadable
 
- Public Attributes inherited from chrono::ChLoader
ChVectorDynamic Q
 

Additional Inherited Members

- Public Types inherited from chrono::ChLoaderUV
typedef ChLoadableUV type_loadable
 

Member Function Documentation

virtual void chrono::ChLoaderUVatomic::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.