chrono::ChLoaderUdistributed Class Referenceabstract

Description

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

#include <ChLoaderU.h>

Inheritance diagram for chrono::ChLoaderUdistributed:
Collaboration diagram for chrono::ChLoaderUdistributed:

Public Member Functions

 ChLoaderUdistributed (std::shared_ptr< ChLoadableU > mloadable)
 
virtual int GetIntegrationPointsU ()=0
 
virtual void ComputeQ (ChVectorDynamic<> *state_x, ChVectorDynamic<> *state_w) override
 Computes Q = integral (N'*F*detJ du) More...
 
- 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
< ChLoadable
GetLoadable () override
 
std::shared_ptr< ChLoadableUGetLoadableU ()
 
- Public Member Functions inherited from chrono::ChLoader
virtual bool IsStiff ()
 

Additional Inherited Members

- Public Types inherited from chrono::ChLoaderU
typedef ChLoadableU type_loadable
 
- Public Attributes inherited from chrono::ChLoaderU
std::shared_ptr< ChLoadableUloadable
 
- Public Attributes inherited from chrono::ChLoader
ChVectorDynamic Q
 

Member Function Documentation

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

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

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.