#include <Configuration.h>
Public Member Functions | |
Configuration (unsigned int i_size) | |
constructor More... | |
bool | operator!= (const Configuration &cfg) |
compare configurations More... | |
bool | operator== (const Configuration &cfg) |
compare configurations More... | |
const double | operator[] (unsigned int i_rank) const |
double & | operator[] (unsigned int i_rank) |
unsigned int | size () const |
get the number of degrees of freedom More... | |
const double | value (unsigned int i_rank) const |
double & | value (unsigned int i_rank) |
Private Attributes | |
std::vector< double > | m_values |
Definition at line 10 of file Configuration.h.
Configuration::Configuration | ( | unsigned int | i_size | ) |
constructor
Definition at line 19 of file Configuration.cpp.
bool Configuration::operator!= | ( | const Configuration & | cfg | ) |
compare configurations
Definition at line 39 of file Configuration.cpp.
bool Configuration::operator== | ( | const Configuration & | cfg | ) |
compare configurations
Definition at line 48 of file Configuration.cpp.
Definition at line 24 of file Configuration.h.
|
inline |
Definition at line 32 of file Configuration.h.
get the number of degrees of freedom
Definition at line 34 of file Configuration.cpp.
get value of i_rank th dof
i_rank | rank of dof |
Definition at line 24 of file Configuration.cpp.
double & Configuration::value | ( | unsigned int | i_rank | ) |
set value of i_rank th dof
i_rank | rank of dof |
i_value | value of dof |
Definition at line 29 of file Configuration.cpp.
|
private |
Definition at line 53 of file Configuration.h.