MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <ReadCspace.h>
Public Member Functions | |
void | build (const char *name) |
void | deployParameters () |
void | expandEnzyme (const char *name, int e, int s, int p, int p2=0) |
void | expandReaction (const char *name, int nm1) |
void | makeMolecule (char name) |
void | makePlots (double plotdt) |
void | printEnz (Id id, Id cplx, double k1, double k2, double k3) |
void | printFooter () |
void | printHeader () |
void | printMol (Id id, double conc, double concinit, double vol) |
void | printReac (Id id, double kf, double kb) |
ReadCspace () | |
Id | readModelString (const string &model, const string &modelname, Id pa, const string &solverClass) |
void | testReadModel () |
Private Attributes | |
Id | base_ |
Id | compt_ |
ostream * | fout_ |
Id | mesh_ |
vector< Id > | mol_ |
vector< CspaceMolInfo > | mollist_ |
vector< double > | molparms_ |
vector< unsigned int > | molseq_ |
vector< double > | parms_ |
vector< Id > | reac_ |
vector< CspaceReacInfo > | reaclist_ |
Static Private Attributes | |
static const double | DEFAULT_CONC = 1.0 |
static const double | DEFAULT_KM = 1.0 |
static const double | DEFAULT_RATE = 0.1 |
static const double | SCALE = 1.0 |
static const bool | USE_PIPE = 1 |
Definition at line 74 of file ReadCspace.h.
ReadCspace::ReadCspace | ( | ) |
Definition at line 24 of file ReadCspace.cpp.
void ReadCspace::build | ( | const char * | name | ) |
Definition at line 253 of file ReadCspace.cpp.
References expandEnzyme(), expandReaction(), and makeMolecule().
Referenced by readModelString().
void ReadCspace::deployParameters | ( | ) |
Definition at line 329 of file ReadCspace.cpp.
References Neutral::children(), mol_, parms_, reac_, and Field< A >::set().
Referenced by readModelString().
void ReadCspace::expandEnzyme | ( | const char * | name, |
int | e, | ||
int | s, | ||
int | p, | ||
int | p2 = 0 |
||
) |
Definition at line 184 of file ReadCspace.cpp.
References Eref::data(), DEFAULT_KM, DEFAULT_RATE, Shell::doAddMsg(), Shell::doCreate(), Id::eref(), mol_, name, parms_, and reac_.
Referenced by build().
void ReadCspace::expandReaction | ( | const char * | name, |
int | nm1 | ||
) |
Definition at line 220 of file ReadCspace.cpp.
References compt_, Eref::data(), DEFAULT_RATE, Shell::doAddMsg(), Shell::doCreate(), Id::eref(), mol_, parms_, and reac_.
Referenced by build().
void ReadCspace::makeMolecule | ( | char | name | ) |
Definition at line 296 of file ReadCspace.cpp.
References compt_, Eref::data(), DEFAULT_CONC, Shell::doCreate(), Id::eref(), mol_, molparms_, and molseq_.
Referenced by build().
void ReadCspace::makePlots | ( | double | plotdt | ) |
Definition at line 139 of file ReadCspace.cpp.
References base_, Neutral::children(), compt_, Eref::data(), Shell::doAddMsg(), Shell::doCreate(), Id::eref(), Cinfo::isA(), and Id::path().
Referenced by Shell::doLoadModel().
void ReadCspace::printFooter | ( | ) |
void ReadCspace::printHeader | ( | ) |
void ReadCspace::printMol | ( | Id | id, |
double | conc, | ||
double | concinit, | ||
double | vol | ||
) |
Definition at line 56 of file ReadCspace.cpp.
References Element::cinfo(), ObjId::element(), Element::getName(), Cinfo::isA(), mollist_, and Neutral::parent().
void ReadCspace::printReac | ( | Id | id, |
double | kf, | ||
double | kb | ||
) |
Id ReadCspace::readModelString | ( | const string & | model, |
const string & | modelname, | ||
Id | pa, | ||
const string & | solverClass | ||
) |
Definition at line 86 of file ReadCspace.cpp.
References base_, build(), compt_, deployParameters(), makeStandardElements(), mol_, molparms_, molseq_, parms_, Id::path(), reac_, and Field< A >::set().
Referenced by Shell::doLoadModel(), and testReadModel().
void ReadCspace::testReadModel | ( | ) |
Definition at line 361 of file ReadCspace.cpp.
References base_, Eref::data(), Shell::doDelete(), doubleEq(), Id::eref(), Field< A >::get(), mol_, Id::path(), path, reac_, and readModelString().
Referenced by testReadCspace().
|
private |
Definition at line 111 of file ReadCspace.h.
Referenced by makePlots(), readModelString(), and testReadModel().
|
private |
Definition at line 112 of file ReadCspace.h.
Referenced by expandReaction(), makeMolecule(), makePlots(), and readModelString().
|
staticprivate |
Definition at line 106 of file ReadCspace.h.
Referenced by makeMolecule().
|
staticprivate |
Definition at line 108 of file ReadCspace.h.
Referenced by expandEnzyme().
|
staticprivate |
Definition at line 107 of file ReadCspace.h.
Referenced by expandEnzyme(), and expandReaction().
|
private |
Definition at line 114 of file ReadCspace.h.
Referenced by printFooter().
|
private |
Definition at line 113 of file ReadCspace.h.
|
private |
Definition at line 117 of file ReadCspace.h.
Referenced by deployParameters(), expandEnzyme(), expandReaction(), makeMolecule(), readModelString(), and testReadModel().
|
private |
Definition at line 126 of file ReadCspace.h.
Referenced by printFooter(), printHeader(), and printMol().
|
private |
Definition at line 124 of file ReadCspace.h.
Referenced by makeMolecule(), and readModelString().
|
private |
Definition at line 118 of file ReadCspace.h.
Referenced by makeMolecule(), and readModelString().
|
private |
Definition at line 122 of file ReadCspace.h.
Referenced by deployParameters(), expandEnzyme(), expandReaction(), and readModelString().
|
private |
Definition at line 120 of file ReadCspace.h.
Referenced by deployParameters(), expandEnzyme(), expandReaction(), readModelString(), and testReadModel().
|
private |
Definition at line 127 of file ReadCspace.h.
Referenced by printEnz(), printFooter(), printHeader(), and printReac().
|
staticprivate |
Definition at line 105 of file ReadCspace.h.
|
staticprivate |
Definition at line 109 of file ReadCspace.h.
Referenced by printFooter().