PRISMS-PF  v2.1
variableValueContainer Class Reference

#include <variableValueContainer.h>

Public Member Functions

 variableValueContainer ()
 
void set (unsigned int global_variable_index, double variable_value)
 
double operator() (unsigned int global_variable_index)
 

Private Attributes

std::vector< unsigned int > var_index
 
std::vector< double > value
 
unsigned int num_entries
 

Detailed Description

Definition at line 5 of file variableValueContainer.h.

Constructor & Destructor Documentation

◆ variableValueContainer()

Definition at line 8 of file variableValueContainer.h.

Member Function Documentation

◆ operator()()

double operator() ( unsigned int  global_variable_index)
inline

Definition at line 15 of file variableValueContainer.h.

◆ set()

void set ( unsigned int  global_variable_index,
double  variable_value 
)
inline

Definition at line 10 of file variableValueContainer.h.

Member Data Documentation

◆ num_entries

unsigned int num_entries
private

Definition at line 29 of file variableValueContainer.h.

◆ value

std::vector<double> value
private

Definition at line 28 of file variableValueContainer.h.

◆ var_index

std::vector<unsigned int> var_index
private

Definition at line 25 of file variableValueContainer.h.


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