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

#include <debugvariable.hpp>

Public Member Functions

 DebugVariable ()=default
 
virtual ~DebugVariable ()=default
 
void initialize ()
 
void setEnables (const std::map< std::string, bool > &enables)
 
void appendScalar (const std::string &field, const std::map< std::string, int > &index, T value)
 
void appendVector (const std::string &field, const std::map< std::string, int > &index, const Eigen::Matrix< T, Eigen::Dynamic, 1 > &value)
 
void clear ()
 

Public Attributes

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

Constructor & Destructor Documentation

◆ DebugVariable()

template<typename T>
micromechanical::core::DebugVariable< T >::DebugVariable ( )
default

◆ ~DebugVariable()

template<typename T>
virtual micromechanical::core::DebugVariable< T >::~DebugVariable ( )
virtualdefault

Member Function Documentation

◆ appendScalar()

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

◆ appendVector()

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

◆ clear()

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

Referenced by initialize().

Here is the caller graph for this function:

◆ initialize()

template<typename T>
void micromechanical::core::DebugVariable< T >::initialize ( )
inline

References clear().

Here is the call graph for this function:

◆ setEnables()

template<typename T>
void micromechanical::core::DebugVariable< T >::setEnables ( const std::map< std::string, bool > & enables)
inline

References enables.

Member Data Documentation

◆ debug

template<typename T>
bool micromechanical::core::DebugVariable< T >::debug = false

◆ enables

template<typename T>
std::map<std::string, bool> micromechanical::core::DebugVariable< T >::enables = {}

Referenced by setEnables().

◆ scalars

template<typename T>
std::map<std::string, std::vector<Scalar<T> > > micromechanical::core::DebugVariable< T >::scalars = {}

◆ vectors

template<typename T>
std::map<std::string, std::vector<Vector<T> > > micromechanical::core::DebugVariable< T >::vectors = {}

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