MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <ZombieFunction.h>
Public Member Functions | |
void | innerSetExpr (const Eref &e, string val) |
void | process (const Eref &e, ProcPtr p) |
void | reinit (const Eref &e, ProcPtr p) |
void | setSolver (Id solver, Id orig) |
ZombieFunction () | |
~ZombieFunction () | |
![]() | |
unsigned int | addVar () |
Function () | |
Function (const Function &rhs) | |
double | getConst (string name) const |
double | getDerivative () const |
bool | getDoEvalAtReinit () const |
string | getExpr (const Eref &e) const |
string | getIndependent () const |
unsigned int | getMode () const |
unsigned int | getNumVar () const |
double | getRate () const |
bool | getUseTrigger () const |
double | getValue () const |
Variable * | getVar (unsigned int ii) |
vector< string > | getVars () const |
vector< double > | getY () const |
Function & | operator= (const Function rhs) |
void | process (const Eref &e, ProcPtr p) |
void | reinit (const Eref &e, ProcPtr p) |
void | setConst (string name, double value) |
void | setDoEvalAtReinit (bool doEvalAtReinit) |
void | setExpr (const Eref &e, string expr) |
void | setIndependent (string index) |
void | setMode (unsigned int mode) |
void | setNumVar (unsigned int num) |
void | setUseTrigger (bool useTrigger) |
void | setVar (unsigned int index, double value) |
void | setVarValues (vector< string > vars, vector< double > vals) |
~Function () | |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
static void | zombify (Element *orig, const Cinfo *zClass, Id ksolve, Id dsolve) |
![]() | |
static const Cinfo * | initCinfo () |
Additional Inherited Members | |
![]() | |
static const int | VARMAX |
![]() | |
void | _clearBuffer () |
void | _showError (mu::Parser::exception_type &e) const |
![]() | |
map< string, double * > | _constbuf |
bool | _doEvalAtReinit |
string | _independent |
double | _lastValue |
unsigned int | _mode |
unsigned int | _numVar |
mu::Parser | _parser |
vector< double * > | _pullbuf |
double | _rate |
char * | _stoich |
double | _t |
bool | _useTrigger |
bool | _valid |
double | _value |
vector< Variable * > | _varbuf |
Definition at line 13 of file ZombieFunction.h.
ZombieFunction::ZombieFunction | ( | ) |
Definition at line 107 of file ZombieFunction.cpp.
ZombieFunction::~ZombieFunction | ( | ) |
Definition at line 110 of file ZombieFunction.cpp.
|
static |
Definition at line 29 of file ZombieFunction.cpp.
References Function::initCinfo(), process(), reinit(), and zombieFunctionCinfo.
Referenced by zombify().
|
virtual |
Reimplemented from Function.
Definition at line 128 of file ZombieFunction.cpp.
References Function::_stoich, Function::innerSetExpr(), and Stoich::setFunctionExpr().
Definition at line 116 of file ZombieFunction.cpp.
References Function::_t, and ProcInfo::currTime.
Referenced by initCinfo().
Definition at line 121 of file ZombieFunction.cpp.
Referenced by initCinfo().
Definition at line 145 of file ZombieFunction.cpp.
References Function::_stoich, Element::cinfo(), ObjId::data(), Id::element(), Field< A >::get(), Cinfo::isA(), Cinfo::name(), and Id::path().
Referenced by zombify().
Definition at line 176 of file ZombieFunction.cpp.
References Element::cinfo(), Eref::data(), initCinfo(), Element::numLocalData(), setSolver(), and Element::zombieSwap().
Referenced by Stoich::unZombifyModel(), Stoich::zombifyModel(), and Stoich::zombifyPoolFuncWithScaling().