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

#include <VecId.h>

Inheritance diagram for sofa::core::TStandardVec< V_COORD, 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 position ()=delete
 
static constexpr MyVecId restPosition ()=delete
 
static constexpr MyVecId freePosition ()=delete
 
static constexpr MyVecId resetPosition ()=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_COORD, vaccess >::V_FIRST_DYNAMIC_INDEX = static_cast<uint8_t>(State::DYNAMIC_INDEX)
staticconstexpr

Function details

◆ freePosition()

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

◆ getGroup()

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

◆ getName()

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

◆ position()

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

◆ resetPosition()

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

This is the first index used for dynamically allocated vectors.

◆ restPosition()

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

◆ state()

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