SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::core::StateTypeSize< DataTypes, vtype > Struct Template Reference

#include <VecId.h>

Detailed Description

template<class DataTypes, core::VecType vtype>
struct sofa::core::StateTypeSize< DataTypes, vtype >

Maps a VecType to a DataTypes member static variable representing the size of the state variables Example: StateTypeSize_v<DataTypes, core::V_COORD> is the value of DataTypes::coord_total_size