MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <VectorTable.h>
Public Member Functions | |
unsigned int | getDiv () const |
double | getInvDx () const |
double | getMax () const |
double | getMin () const |
vector< double > | getTable () const |
double | lookupByIndex (unsigned int) const |
double | lookupByValue (double) const |
void | setDiv (unsigned int) |
void | setMax (double) |
void | setMin (double) |
void | setTable (vector< double >) |
bool | tableIsEmpty () const |
VectorTable () | |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Private Attributes | |
double | invDx_ |
vector< double > | table_ |
unsigned int | xDivs_ |
double | xMax_ |
double | xMin_ |
Friends | |
istream & | operator>> (istream &, VectorTable &) |
Definition at line 21 of file VectorTable.h.
VectorTable::VectorTable | ( | ) |
Definition at line 102 of file VectorTable.cpp.
unsigned int VectorTable::getDiv | ( | ) | const |
Definition at line 181 of file VectorTable.cpp.
References xDivs_.
Referenced by initCinfo(), and MarkovSolverBase::setLookupParams().
double VectorTable::getInvDx | ( | ) | const |
Definition at line 211 of file VectorTable.cpp.
References invDx_.
Referenced by initCinfo().
double VectorTable::getMax | ( | ) | const |
Definition at line 201 of file VectorTable.cpp.
References xMax_.
Referenced by initCinfo(), and MarkovSolverBase::setLookupParams().
double VectorTable::getMin | ( | ) | const |
Definition at line 191 of file VectorTable.cpp.
References xMin_.
Referenced by initCinfo(), and MarkovSolverBase::setLookupParams().
vector< double > VectorTable::getTable | ( | ) | const |
Definition at line 142 of file VectorTable.cpp.
References table_.
Referenced by initCinfo().
|
static |
Definition at line 18 of file VectorTable.cpp.
References getDiv(), getInvDx(), getMax(), getMin(), getTable(), Neutral::initCinfo(), lookupByIndex(), lookupByValue(), setDiv(), setMax(), setMin(), and setTable().
double VectorTable::lookupByIndex | ( | unsigned int | index | ) | const |
Definition at line 122 of file VectorTable.cpp.
References table_, and tableIsEmpty().
Referenced by initCinfo().
double VectorTable::lookupByValue | ( | double | x | ) | const |
Definition at line 107 of file VectorTable.cpp.
References doubleEq(), invDx_, table_, xMax_, and xMin_.
Referenced by initCinfo().
void VectorTable::setDiv | ( | unsigned int | xDivs | ) |
Definition at line 186 of file VectorTable.cpp.
References xDivs_.
Referenced by initCinfo(), and MarkovRateTable::setConstantRate().
void VectorTable::setMax | ( | double | xMax | ) |
Definition at line 206 of file VectorTable.cpp.
References xMax_.
Referenced by initCinfo(), and MarkovRateTable::setConstantRate().
void VectorTable::setMin | ( | double | xMin | ) |
Definition at line 196 of file VectorTable.cpp.
References xMin_.
Referenced by initCinfo(), and MarkovRateTable::setConstantRate().
void VectorTable::setTable | ( | vector< double > | table | ) |
Definition at line 155 of file VectorTable.cpp.
References invDx_, table_, xDivs_, xMax_, and xMin_.
Referenced by initCinfo(), and MarkovRateTable::setConstantRate().
bool VectorTable::tableIsEmpty | ( | ) | const |
Definition at line 216 of file VectorTable.cpp.
References table_.
Referenced by lookupByIndex().
|
friend |
|
private |
Definition at line 53 of file VectorTable.h.
Referenced by getInvDx(), lookupByValue(), operator>>(), and setTable().
|
private |
Definition at line 55 of file VectorTable.h.
Referenced by getTable(), lookupByIndex(), lookupByValue(), operator>>(), setTable(), and tableIsEmpty().
|
private |
Definition at line 50 of file VectorTable.h.
Referenced by getDiv(), operator>>(), setDiv(), and setTable().
|
private |
Definition at line 52 of file VectorTable.h.
Referenced by getMax(), lookupByValue(), operator>>(), setMax(), and setTable().
|
private |
Definition at line 51 of file VectorTable.h.
Referenced by getMin(), lookupByValue(), operator>>(), setMin(), and setTable().