chrono::ChLoaderUV Class Referenceabstract

Description

Class of loaders for ChLoadableUV objects (which support surface loads).

#include <ChLoaderUV.h>

Inheritance diagram for chrono::ChLoaderUV:
Collaboration diagram for chrono::ChLoaderUV:

Public Types

typedef ChLoadableUV type_loadable
 

Public Member Functions

 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 void ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w)=0
 
virtual bool IsStiff ()
 

Public Attributes

std::shared_ptr< ChLoadableUVloadable
 
- Public Attributes inherited from chrono::ChLoader
ChVectorDynamic Q
 

Member Function Documentation

◆ ComputeF()

virtual void chrono::ChLoaderUV::ComputeF ( const double  U,
const double  V,
ChVectorDynamic<> &  F,
ChVectorDynamic<> *  state_x,
ChVectorDynamic<> *  state_w 
)
pure virtual

Children classes must provide this function that evaluates F = F(u,v) This will be evaluated during ComputeQ() to perform integration over the domain.

Parameters
Uparametric coordinate in surface
Vparametric coordinate in surface
FResult F vector here, size must be = n.field coords.of loadable
state_xif != 0, update state (pos. part) to this, then evaluate F
state_wif != 0, update state (speed part) to this, then evaluate F

Implemented in chrono::ChLoaderPressure, and chrono::ChLoaderForceOnSurface.


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