Classes
MarmotStateVarVectorManager.h File Reference
#include "Marmot/MarmotUtils.h"
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
Include dependency graph for MarmotStateVarVectorManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MarmotStateVarVectorManager
 A convenience auxiliary class for managing multiple statevars with arbitrary length in a single consecutive double array. More...
 
struct  MarmotStateVarVectorManager::StateVarEntryDefinition
 An entry in the statevar vector consists of the name and a certain length. More...
 
struct  MarmotStateVarVectorManager::StateVarEntryLocation
 The location in the statevar vector consists of the index and its certain length. More...
 
struct  MarmotStateVarVectorManager::StateVarVectorLayout
 

Class Documentation

◆ MarmotStateVarVectorManager::StateVarEntryDefinition

struct MarmotStateVarVectorManager::StateVarEntryDefinition

An entry in the statevar vector consists of the name and a certain length.

Class Members
string name
int length

◆ MarmotStateVarVectorManager::StateVarEntryLocation

struct MarmotStateVarVectorManager::StateVarEntryLocation

The location in the statevar vector consists of the index and its certain length.

Class Members
int index
int length

◆ MarmotStateVarVectorManager::StateVarVectorLayout

struct MarmotStateVarVectorManager::StateVarVectorLayout

The layout is defined by a map of names to Locations, and the resulting required total length of the statevar vector

Class Members
unordered_map< string, StateVarEntryLocation > entries
int nRequiredStateVars