chrono::ChLoaderUatomic Class Reference

Description

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

#include <ChLoaderU.h>

Inheritance diagram for chrono::ChLoaderUatomic:
Collaboration diagram for chrono::ChLoaderUatomic:

Public Member Functions

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

Public Attributes

double Pu
 
- Public Attributes inherited from chrono::ChLoaderU
std::shared_ptr< ChLoadableUloadable
 
- Public Attributes inherited from chrono::ChLoader
ChVectorDynamic Q
 

Additional Inherited Members

- Public Types inherited from chrono::ChLoaderU
typedef ChLoadableU type_loadable
 

Member Function Documentation

◆ ComputeQ()

virtual void chrono::ChLoaderUatomic::ComputeQ ( ChVectorDynamic<> *  state_x,
ChVectorDynamic<> *  state_w 
)
inlineoverridevirtual

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.


The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/physics/ChLoaderU.h