MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <Interpol.h>
Public Member Functions | |
double | getXmax () const |
double | getXmin () const |
double | getY () const |
void | handleInput (double x) |
Interpol () | |
Interpol (double xmin, double xmax) | |
void | process (const Eref &e, ProcPtr p) |
void | reinit (const Eref &e, ProcPtr p) |
void | setXmax (double value) |
void | setXmin (double value) |
![]() | |
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 () |
Static Public Attributes | |
static const unsigned int | MAX_DIVS |
Protected Attributes | |
double | x_ |
double | xmax_ |
double | xmin_ |
double | y_ |
Additional Inherited Members | |
![]() | |
vector< double > & | vec () |
1 Dimensional table, with interpolation. The internal vector is accessed like this: table_[ xIndex ] with the x-coordinate used as the index.
Definition at line 56 of file Interpol.h.
Interpol::Interpol | ( | ) |
Definition at line 148 of file Interpol.cpp.
Interpol::Interpol | ( | double | xmin, |
double | xmax | ||
) |
Definition at line 152 of file Interpol.cpp.
double Interpol::getXmax | ( | ) | const |
Definition at line 180 of file Interpol.cpp.
References xmax_.
Referenced by initCinfo().
double Interpol::getXmin | ( | ) | const |
Definition at line 166 of file Interpol.cpp.
References xmin_.
Referenced by initCinfo().
double Interpol::getY | ( | ) | const |
Definition at line 185 of file Interpol.cpp.
References y_.
Referenced by initCinfo().
void Interpol::handleInput | ( | double | x | ) |
Definition at line 209 of file Interpol.cpp.
References x_.
Referenced by initCinfo().
|
static |
Definition at line 61 of file Interpol.cpp.
References getXmax(), getXmin(), getY(), handleInput(), TableBase::initCinfo(), interpolCinfo, lookupOut(), process(), reinit(), setXmax(), and setXmin().
Definition at line 194 of file Interpol.cpp.
References TableBase::interpolate(), lookupOut(), x_, xmax_, xmin_, and y_.
Referenced by initCinfo().
Definition at line 200 of file Interpol.cpp.
References x_.
Referenced by initCinfo().
void Interpol::setXmax | ( | double | value | ) |
Definition at line 171 of file Interpol.cpp.
References almostEqual(), value, xmax_, and xmin_.
Referenced by initCinfo().
void Interpol::setXmin | ( | double | value | ) |
Definition at line 157 of file Interpol.cpp.
References almostEqual(), value, xmax_, and xmin_.
Referenced by initCinfo().
|
static |
Definition at line 79 of file Interpol.h.
|
protected |
Definition at line 81 of file Interpol.h.
Referenced by handleInput(), process(), and reinit().
|
protected |
|
protected |
|
protected |
Definition at line 84 of file Interpol.h.