musica (C++)
Loading...
Searching...
No Matches
constitutive::DebugVariable< T > Struct Template Reference

#include <debugvariable.hpp>

Public Member Functions

void initialize (StateVariable< T > &sv)
void setEnables (const std::unordered_map< std::string, bool > &enables)
void appendScalar (const std::string &field, const std::unordered_map< std::string, int > &index, T value)
void appendVector (const std::string &field, const std::unordered_map< std::string, int > &index, const Eigen::Matrix< T, Eigen::Dynamic, 1 > &value)
void clear ()

Public Attributes

bool debug = false
std::unordered_map< std::string, std::vector< Scalar< T > > > scalars = {}
std::unordered_map< std::string, std::vector< Vector< T > > > vectors = {}
std::unordered_map< std::string, bool > enables = {}

Member Function Documentation

◆ appendScalar()

template<typename T>
void constitutive::DebugVariable< T >::appendScalar ( const std::string & field,
const std::unordered_map< std::string, int > & index,
T value )
inline

References constitutive::Scalar< T >::Scalar().

Here is the call graph for this function:

◆ appendVector()

template<typename T>
void constitutive::DebugVariable< T >::appendVector ( const std::string & field,
const std::unordered_map< std::string, int > & index,
const Eigen::Matrix< T, Eigen::Dynamic, 1 > & value )
inline

References constitutive::Vector< T >::Vector().

Here is the call graph for this function:

◆ clear()

template<typename T>
void constitutive::DebugVariable< T >::clear ( )
inline

Referenced by initialize().

Here is the caller graph for this function:

◆ initialize()

template<typename T>
void constitutive::DebugVariable< T >::initialize ( StateVariable< T > & sv)
inline

References clear().

Here is the call graph for this function:

◆ setEnables()

template<typename T>
void constitutive::DebugVariable< T >::setEnables ( const std::unordered_map< std::string, bool > & enables)
inline

References enables.

Member Data Documentation

◆ debug

template<typename T>
bool constitutive::DebugVariable< T >::debug = false

◆ enables

template<typename T>
std::unordered_map<std::string, bool> constitutive::DebugVariable< T >::enables = {}

Referenced by setEnables().

◆ scalars

template<typename T>
std::unordered_map<std::string, std::vector<Scalar<T> > > constitutive::DebugVariable< T >::scalars = {}

◆ vectors

template<typename T>
std::unordered_map<std::string, std::vector<Vector<T> > > constitutive::DebugVariable< T >::vectors = {}

The documentation for this struct was generated from the following file: