SOFA API  83276a98
Open source framework for multi-physics simuation
sofa::core::TStandardVec< V_DERIV, vaccess > Class Template Reference

#include <VecId.h>

Inheritance diagram for sofa::core::TStandardVec< V_DERIV, vaccess >:

Static Public Attributes

static constexpr uint8_t V_FIRST_DYNAMIC_INDEX = static_cast<uint8_t>(State::DYNAMIC_INDEX)
 

Static Public Member Functions

template<State v_state>
static constexpr MyVecId state ()
 
static constexpr MyVecId velocity ()=delete
 
static constexpr MyVecId resetVelocity ()=delete
 
static constexpr MyVecId freeVelocity ()=delete
 
static constexpr MyVecId normal ()=delete
 
static constexpr MyVecId force ()=delete
 
static constexpr MyVecId externalForce ()=delete
 
static constexpr MyVecId dx ()=delete
 
static constexpr MyVecId dforce ()=delete
 This is the first index used for dynamically allocated vectors. More...
 
static std::string getName (const MyVecId &v)
 
static std::string getGroup (const MyVecId &v)
 

Attribute details

◆ V_FIRST_DYNAMIC_INDEX

template<VecAccess vaccess>
constexpr uint8_t sofa::core::TStandardVec< V_DERIV, vaccess >::V_FIRST_DYNAMIC_INDEX = static_cast<uint8_t>(State::DYNAMIC_INDEX)
staticconstexpr

Function details

◆ dforce()

template<VecAccess vaccess>
static constexpr MyVecId sofa::core::TStandardVec< V_DERIV, vaccess >::dforce ( )
staticconstexprdelete

This is the first index used for dynamically allocated vectors.

◆ dx()

template<VecAccess vaccess>
static constexpr MyVecId sofa::core::TStandardVec< V_DERIV, vaccess >::dx ( )
staticconstexprdelete

◆ externalForce()

template<VecAccess vaccess>
static constexpr MyVecId sofa::core::TStandardVec< V_DERIV, vaccess >::externalForce ( )
staticconstexprdelete

◆ force()

template<VecAccess vaccess>
static constexpr MyVecId sofa::core::TStandardVec< V_DERIV, vaccess >::force ( )
staticconstexprdelete

◆ freeVelocity()

template<VecAccess vaccess>
static constexpr MyVecId sofa::core::TStandardVec< V_DERIV, vaccess >::freeVelocity ( )
staticconstexprdelete

◆ getGroup()

template<VecAccess vaccess>
static std::string sofa::core::TStandardVec< V_DERIV, vaccess >::getGroup ( const MyVecId v)
inlinestatic

◆ getName()

template<VecAccess vaccess>
static std::string sofa::core::TStandardVec< V_DERIV, vaccess >::getName ( const MyVecId v)
inlinestatic

◆ normal()

template<VecAccess vaccess>
static constexpr MyVecId sofa::core::TStandardVec< V_DERIV, vaccess >::normal ( )
staticconstexprdelete

◆ resetVelocity()

template<VecAccess vaccess>
static constexpr MyVecId sofa::core::TStandardVec< V_DERIV, vaccess >::resetVelocity ( )
staticconstexprdelete

◆ state()

template<VecAccess vaccess>
template<State v_state>
static constexpr MyVecId sofa::core::TStandardVec< V_DERIV, vaccess >::state ( )
inlinestaticconstexpr

◆ velocity()

template<VecAccess vaccess>
static constexpr MyVecId sofa::core::TStandardVec< V_DERIV, vaccess >::velocity ( )
staticconstexprdelete