chrono::fea::ChFieldDataGeneric< T_nstates > Class Template Reference

Description

template<int T_nstates>
class chrono::fea::ChFieldDataGeneric< T_nstates >

Class for data structures for per-node and per-materialpoint properties that that contain an integrable state vector, of size T_nstates.

It contains a ChVariableGeneric of size size_T.

#include <ChFieldData.h>

Inheritance diagram for chrono::fea::ChFieldDataGeneric< T_nstates >:
Collaboration diagram for chrono::fea::ChFieldDataGeneric< T_nstates >:

Public Member Functions

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 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()

template<int T_nstates>
virtual void chrono::fea::ChFieldDataGeneric< T_nstates >::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