Description

Class for data structure for per-node and per-materialpoint properties that contain an integrable vector state, namely position in 3D space.

It contains a ChVariableGeneric of size size_T.

#include <ChFieldData.h>

Inheritance diagram for chrono::fea::ChFieldDataPos3D:
Collaboration diagram for chrono::fea::ChFieldDataPos3D:

Public Member Functions

virtual ChVector3d GetPos () const
 
virtual void SetPos (const ChVector3d mpos)
 
virtual ChVector3d GetPosDt () const
 
virtual void SetPosDt (const ChVector3d mposdt)
 
virtual ChVector3d GetPosDt2 () const
 
virtual void SetPosDt2 (const ChVector3d mposdtdt)
 
virtual ChVector3d GetLoad () const
 
virtual void SetLoad (const ChVector3d mF)
 
virtual ChVectorRef State () override
 
virtual ChVectorRef StateDt () override
 
virtual ChVectorRef Load () override
 Access the applied load term (ex. the atomic load/source in a Poisson equation).
 
virtual ChVariablesGetVariable () override
 Access the contained ChVariable.
 
virtual void SetFixed (bool fixed) override
 Fix/release this state. More...
 
virtual bool IsFixed () const override
 
virtual unsigned int GetNumCoordsPosLevel () override
 Get the number of degrees of freedom of the field.
 
virtual unsigned int GetNumCoordsVelLevel () override
 
virtual void DataIntStateGather (const unsigned int off_x, ChState &x, const unsigned int off_v, ChStateDelta &v, double &T) override
 
virtual void DataIntStateScatter (const unsigned int off_x, const ChState &x, const unsigned int off_v, const ChStateDelta &v, const double T) override
 
virtual void DataIntStateGatherAcceleration (const unsigned int off_a, ChStateDelta &a) override
 
virtual void DataIntStateScatterAcceleration (const unsigned int off_a, const ChStateDelta &a) override
 
virtual void DataIntLoadResidual_F (const unsigned int off, ChVectorDynamic<> &R, const double c) override
 
virtual void DataIntLoadResidual_Mv (const unsigned int off, ChVectorDynamic<> &R, const ChVectorDynamic<> &w, const double c) override
 
virtual void DataIntLoadLumpedMass_Md (const unsigned int off, ChVectorDynamic<> &Md, double &error, const double c) override
 
virtual void DataIntToDescriptor (const unsigned int off_v, const ChStateDelta &v, const ChVectorDynamic<> &R) override
 
virtual void DataIntFromDescriptor (const unsigned int off_v, ChStateDelta &v) override
 
virtual void InjectVariables (ChSystemDescriptor &descriptor) override
 
- Public Member Functions inherited from chrono::fea::ChFieldDataState
unsigned int DataGetOffsetPosLevel ()
 
unsigned int DataGetOffsetVelLevel ()
 
void DataSetOffsetPosLevel (const unsigned int moff)
 
void DataSetOffsetVelLevel (const unsigned int moff)
 
virtual void DataIntStateIncrement (const unsigned int off_x, ChState &x_new, const ChState &x, const unsigned int off_v, const ChStateDelta &Dv)
 
virtual void DataIntStateGetIncrement (const unsigned int off_x, const ChState &x_new, const ChState &x, const unsigned int off_v, ChStateDelta &Dv)
 
- Public Member Functions inherited from chrono::fea::ChFieldData
virtual ChFieldDataGetNthSubData (int n)
 Optionally, a ChFieldData could have children ChFieldData objects, like a tree structure. More...
 
template<typename VisitorFunc >
void VisitTree (VisitorFunc &&visitor)
 
template<typename VisitorFunc >
void ForEach (VisitorFunc &&visitor)
 

Static Public Member Functions

static bool IsFirstOrderState ()
 
static unsigned int StaticGetNumCoordsPosLevel ()
 
static unsigned int StaticGetNumCoordsVelLevel ()
 
- Static Public Member Functions inherited from chrono::fea::ChFieldDataState
static bool IsFirstOrder ()
 By default all ChFieldDataState are ment for 2nd order ODE, i.e. More...
 
static unsigned int StaticGetNumCoordsPosLevel ()
 
static unsigned int StaticGetNumCoordsVelLevel ()
 

Member Function Documentation

◆ SetFixed()

virtual void chrono::fea::ChFieldDataPos3D::SetFixed ( bool  fixed)
inlineoverridevirtual

Fix/release this state.

If fixed, its state variables are not changed by the solver.

Implements chrono::fea::ChFieldDataState.


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