MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <TimeTable.h>
Public Member Functions | |
string | getFilename () const |
int | getMethod () const |
double | getState () const |
void | process (const Eref &e, ProcPtr p) |
void | reinit (const Eref &e, ProcPtr p) |
void | setFilename (string filename) |
void | setMethod (int method) |
TimeTable () | |
~TimeTable () | |
![]() | |
void | clearVec () |
void | compareVec (vector< double > other, string op) |
void | compareXplot (string fname, string plotname, string op) |
const vector< double > & | data () |
double | getOutputValue () const |
string | getPlotDump () const |
vector< double > | getVec () const |
unsigned int | getVecSize () const |
double | getY (unsigned int index) const |
double | interpolate (double x, double xmin, double xmax) const |
void | linearTransform (double scale, double offset) |
void | loadCSV (string fname, int startLine, int colNum, char separator) |
void | loadXplot (string fname, string plotname) |
void | loadXplotRange (string fname, string plotname, unsigned int start, unsigned int end) |
double * | lookupVec (unsigned int index) |
void | plainPlot (string file) |
void | setOutputValue (double val) |
void | setPlotDump (string v) |
void | setVec (vector< double > val) |
void | setVecSize (unsigned int num) |
TableBase () | |
void | xplot (string file, string plotname) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
![]() | |
static const Cinfo * | initCinfo () |
Private Attributes | |
unsigned int | curPos_ |
string | filename_ |
int | method_ |
double | state_ |
vector< double > | timeTable_ |
Additional Inherited Members | |
![]() | |
vector< double > & | vec () |
Definition at line 12 of file TimeTable.h.
TimeTable::TimeTable | ( | ) |
Definition at line 101 of file TimeTable.cpp.
TimeTable::~TimeTable | ( | ) |
Definition at line 109 of file TimeTable.cpp.
string TimeTable::getFilename | ( | ) | const |
Definition at line 117 of file TimeTable.cpp.
References filename_.
Referenced by initCinfo().
int TimeTable::getMethod | ( | ) | const |
Definition at line 166 of file TimeTable.cpp.
References method_.
Referenced by initCinfo().
double TimeTable::getState | ( | ) | const |
Definition at line 172 of file TimeTable.cpp.
References state_.
Referenced by initCinfo().
|
static |
Definition at line 24 of file TimeTable.cpp.
References eventOut(), getFilename(), getMethod(), getState(), TableBase::initCinfo(), process(), reinit(), setFilename(), setMethod(), and timeTableCinfo.
The process function called by scheduler on every tick
Definition at line 187 of file TimeTable.cpp.
References curPos_, ProcInfo::currTime, eventOut(), state_, and TableBase::vec().
Referenced by initCinfo().
The reinit function called by scheduler for the reset
Definition at line 181 of file TimeTable.cpp.
References curPos_, and state_.
Referenced by initCinfo().
void TimeTable::setFilename | ( | string | filename | ) |
Definition at line 122 of file TimeTable.cpp.
References filename_, and TableBase::vec().
Referenced by initCinfo().
void TimeTable::setMethod | ( | int | method | ) |
Definition at line 155 of file TimeTable.cpp.
References method_.
Referenced by initCinfo().
|
private |
Definition at line 53 of file TimeTable.h.
|
private |
Definition at line 44 of file TimeTable.h.
Referenced by getFilename(), and setFilename().
|
private |
Definition at line 57 of file TimeTable.h.
Referenced by getMethod(), and setMethod().
|
private |
Definition at line 50 of file TimeTable.h.
Referenced by getState(), process(), and reinit().
|
private |
Definition at line 47 of file TimeTable.h.