|
MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <iomanip>#include <fstream>#include "../shell/Wildcard.h"#include "header.h"#include "../utility/utility.h"#include "PoolBase.h"#include "Pool.h"#include "BufPool.h"#include "ReacBase.h"#include "EnzBase.h"#include "lookupVolumeFromMesh.h"#include <sstream>#include <set>
Include dependency graph for WriteKkit.cpp:Go to the source code of this file.
Functions | |
| double | estimateDefaultVol (Id model) |
| Returns an estimate of the default volume used in the model. More... | |
| double | estimateSimTimes (double &simDt, double &plotDt) |
| Id | getEnzCplx (Id id) |
| Id | getEnzMol (Id id) |
| unsigned int | getSlaveEnable (Id id) |
| void | storeCplxEnzMsgs (Id enz, vector< string > &msgs, Id comptid) |
| void | storeEnzMsgs (Id enz, vector< string > &msgs, Id comptid) |
| void | storeFunctionMsgs (Id func, vector< string > &msgs, map< double, pair< Id, int > > &compt_vol) |
| void | storeMMenzMsgs (Id enz, vector< string > &msgs, Id comptid) |
| void | storePlotMsgs (Id tab, vector< string > &msgs, Id pool, string bg, Id comptid) |
| void | storeReacMsgs (Id reac, vector< string > &msgs, Id comptid) |
| string | trimPath (Id id, Id comptid) |
| void | writeEnz (ofstream &fout, Id id, string colour, string textcolour, double x, double y, Id comptid) |
| void | writeFooter (ofstream &fout) |
| void | writeGroup (ofstream &fout, Id model) |
| void | writeGui (ofstream &fout) |
| void | writeHeader (ofstream &fout, double simdt, double plotdt, double maxtime, double defaultVol) |
| void | writeKkit (Id model, const string &fname) |
| void | writeMsgs (ofstream &fout, const vector< string > &msgs) |
| void | writePlot (ofstream &fout, Id id, string colour, string textcolour, double x, double y) |
| void | writePool (ofstream &fout, Id id, string colour, string textcolour, double x, double y, Id comptid, int comptIndex) |
| void | writeReac (ofstream &fout, Id id, string colour, string textcolour, double x, double y, Id comptid) |
| double estimateDefaultVol | ( | Id | model | ) |
Returns an estimate of the default volume used in the model.
Definition at line 477 of file WriteKkit.cpp.
References Field< A >::get().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function:| double estimateSimTimes | ( | double & | simDt, |
| double & | plotDt | ||
| ) |
A bunch of heuristics to find good SimTimes to use for kkit. Returns runTime.
Definition at line 455 of file WriteKkit.cpp.
References Field< A >::get().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 120 of file WriteKkit.cpp.
Referenced by writeEnz().
Here is the caller graph for this function:Definition at line 126 of file WriteKkit.cpp.
Referenced by writeEnz().
Here is the caller graph for this function:| unsigned int getSlaveEnable | ( | Id | id | ) |
Definition at line 206 of file WriteKkit.cpp.
References Cinfo::findFinfo(), and PoolBase::initCinfo().
Here is the call graph for this function:Definition at line 351 of file WriteKkit.cpp.
References Field< A >::get(), and trimPath().
Referenced by storeEnzMsgs().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 381 of file WriteKkit.cpp.
References storeCplxEnzMsgs(), and storeMMenzMsgs().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function:| void storeFunctionMsgs | ( | Id | func, |
| vector< string > & | msgs, | ||
| map< double, pair< Id, int > > & | compt_vol | ||
| ) |
Definition at line 413 of file WriteKkit.cpp.
References Id::eref(), Neutral::parent(), trimPath(), and Id::value().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 323 of file WriteKkit.cpp.
References Field< A >::get(), and trimPath().
Referenced by storeEnzMsgs().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 435 of file WriteKkit.cpp.
References Id::path(), and trimPath().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 390 of file WriteKkit.cpp.
References trimPath().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 79 of file WriteKkit.cpp.
References Field< A >::get().
Referenced by storeCplxEnzMsgs(), storeFunctionMsgs(), storeMMenzMsgs(), storePlotMsgs(), storeReacMsgs(), writeEnz(), writePool(), and writeReac().
Here is the call graph for this function:
Here is the caller graph for this function:| void writeEnz | ( | ofstream & | fout, |
| Id | id, | ||
| string | colour, | ||
| string | textcolour, | ||
| double | x, | ||
| double | y, | ||
| Id | comptid | ||
| ) |
Definition at line 131 of file WriteKkit.cpp.
References Field< A >::get(), getEnzCplx(), getEnzMol(), NA, path, and trimPath().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function:| void writeFooter | ( | ofstream & | fout | ) |
Definition at line 317 of file WriteKkit.cpp.
Referenced by writeKkit().
Here is the caller graph for this function:| void writeGroup | ( | ofstream & | fout, |
| Id | model | ||
| ) |
Definition at line 506 of file WriteKkit.cpp.
References Field< A >::get(), group(), Id::path(), path, and wildcardFind().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function:| void writeGui | ( | ofstream & | fout | ) |
Definition at line 305 of file WriteKkit.cpp.
Referenced by writeKkit().
Here is the caller graph for this function:| void writeHeader | ( | ofstream & | fout, |
| double | simdt, | ||
| double | plotdt, | ||
| double | maxtime, | ||
| double | defaultVol | ||
| ) |
Definition at line 28 of file WriteKkit.cpp.
Referenced by writeKkit().
Here is the caller graph for this function:| void writeKkit | ( | Id | model, |
| const string & | fname | ||
| ) |
Definition at line 525 of file WriteKkit.cpp.
References estimateDefaultVol(), estimateSimTimes(), Field< A >::get(), Id::path(), path, storeEnzMsgs(), storeFunctionMsgs(), storePlotMsgs(), storeReacMsgs(), wildcardFind(), writeEnz(), writeFooter(), writeGroup(), writeGui(), writeHeader(), writeMsgs(), writePlot(), writePool(), and writeReac().
Referenced by Shell::doSaveModel(), and testWriteKkit().
Here is the call graph for this function:
Here is the caller graph for this function:| void writeMsgs | ( | ofstream & | fout, |
| const vector< string > & | msgs | ||
| ) |
Definition at line 500 of file WriteKkit.cpp.
Referenced by writeKkit().
Here is the caller graph for this function:| void writePlot | ( | ofstream & | fout, |
| Id | id, | ||
| string | colour, | ||
| string | textcolour, | ||
| double | x, | ||
| double | y | ||
| ) |
Definition at line 288 of file WriteKkit.cpp.
References path.
Referenced by writeKkit().
Here is the caller graph for this function:| void writePool | ( | ofstream & | fout, |
| Id | id, | ||
| string | colour, | ||
| string | textcolour, | ||
| double | x, | ||
| double | y, | ||
| Id | comptid, | ||
| int | comptIndex | ||
| ) |
Definition at line 238 of file WriteKkit.cpp.
References Field< A >::get(), NA, and trimPath().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function:| void writeReac | ( | ofstream & | fout, |
| Id | id, | ||
| string | colour, | ||
| string | textcolour, | ||
| double | x, | ||
| double | y, | ||
| Id | comptid | ||
| ) |
Definition at line 188 of file WriteKkit.cpp.
References Field< A >::get(), and trimPath().
Referenced by writeKkit().
Here is the call graph for this function:
Here is the caller graph for this function: