chrono::ChLoaderUVWdistributed Class Referenceabstract

Description

Class of loaders for ChLoadableUVW objects (which support volume loads), for loads of distributed type, so these loads will undergo Gauss quadrature to integrate them in the volume.

#include <ChLoaderUVW.h>

Inheritance diagram for chrono::ChLoaderUVWdistributed:
Collaboration diagram for chrono::ChLoaderUVWdistributed:

Public Member Functions

 ChLoaderUVWdistributed (std::shared_ptr< ChLoadableUVW > mloadable)
 
virtual int GetIntegrationPointsU ()=0
 
virtual int GetIntegrationPointsV ()=0
 
virtual int GetIntegrationPointsW ()=0
 
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)
 
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 ()
 

Additional Inherited Members

- Public Types inherited from chrono::ChLoaderUVW
typedef ChLoadableUVW type_loadable
 
- Public Attributes inherited from chrono::ChLoaderUVW
std::shared_ptr< ChLoadableUVWloadable
 
- Public Attributes inherited from chrono::ChLoader
ChVectorDynamic Q
 

Member Function Documentation

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

Computes Q = integral (N'*F*detJ dudvdz)

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.