TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
ScalarRegister Class Reference

: class ScalarRegister More...

#include <ScalarRegister.h>

Public Member Functions

 ScalarRegister ()
 ~ScalarRegister ()
int getOutputIntValue (const Nom &name) const
double getOutputDoubleValue (const Nom &name) const
bool checkOutputIntEntry (const Nom &name) const
bool checkOutputDoubleEntry (const Nom &name) const
void setInputIntValue (const Nom &name, const int &val)
void setInputDoubleValue (const Nom &name, const double &val)

Protected Attributes

std::map< std::string, int > int_reg
std::map< std::string, double > double_reg

Detailed Description

: class ScalarRegister

Providing map of scalars associated with a name inside Probleme_U Those are typically toggled through the ICoCo API (get/setInputIntValue() get/setDoubleValue()).

Definition at line 31 of file ScalarRegister.h.

Constructor & Destructor Documentation

◆ ScalarRegister()

ScalarRegister::ScalarRegister ( )
inline

Definition at line 35 of file ScalarRegister.h.

◆ ~ScalarRegister()

ScalarRegister::~ScalarRegister ( )
inline

Definition at line 36 of file ScalarRegister.h.

Member Function Documentation

◆ checkOutputDoubleEntry()

bool ScalarRegister::checkOutputDoubleEntry ( const Nom & name) const

Definition at line 66 of file ScalarRegister.cpp.

◆ checkOutputIntEntry()

bool ScalarRegister::checkOutputIntEntry ( const Nom & name) const

Definition at line 57 of file ScalarRegister.cpp.

◆ getOutputDoubleValue()

double ScalarRegister::getOutputDoubleValue ( const Nom & name) const

Definition at line 44 of file ScalarRegister.cpp.

◆ getOutputIntValue()

int ScalarRegister::getOutputIntValue ( const Nom & name) const

Definition at line 31 of file ScalarRegister.cpp.

◆ setInputDoubleValue()

void ScalarRegister::setInputDoubleValue ( const Nom & name,
const double & val )

Definition at line 25 of file ScalarRegister.cpp.

◆ setInputIntValue()

void ScalarRegister::setInputIntValue ( const Nom & name,
const int & val )

Definition at line 19 of file ScalarRegister.cpp.

Member Data Documentation

◆ double_reg

std::map<std::string, double> ScalarRegister::double_reg
protected

Definition at line 50 of file ScalarRegister.h.

◆ int_reg

std::map<std::string, int> ScalarRegister::int_reg
protected

Definition at line 49 of file ScalarRegister.h.


The documentation for this class was generated from the following files: