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>
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().
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().
Definition at line 120 of file WriteKkit.cpp.
Referenced by writeEnz().
Definition at line 126 of file WriteKkit.cpp.
Referenced by writeEnz().
unsigned int getSlaveEnable | ( | Id | id | ) |
Definition at line 206 of file WriteKkit.cpp.
References Cinfo::findFinfo(), and PoolBase::initCinfo().
Definition at line 351 of file WriteKkit.cpp.
References Field< A >::get(), and trimPath().
Referenced by storeEnzMsgs().
Definition at line 381 of file WriteKkit.cpp.
References storeCplxEnzMsgs(), and storeMMenzMsgs().
Referenced by writeKkit().
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().
Definition at line 323 of file WriteKkit.cpp.
References Field< A >::get(), and trimPath().
Referenced by storeEnzMsgs().
Definition at line 435 of file WriteKkit.cpp.
References Id::path(), and trimPath().
Referenced by writeKkit().
Definition at line 390 of file WriteKkit.cpp.
References trimPath().
Referenced by writeKkit().
Definition at line 79 of file WriteKkit.cpp.
References Field< A >::get().
Referenced by storeCplxEnzMsgs(), storeFunctionMsgs(), storeMMenzMsgs(), storePlotMsgs(), storeReacMsgs(), writeEnz(), writePool(), and writeReac().
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().
void writeFooter | ( | ofstream & | fout | ) |
Definition at line 317 of file WriteKkit.cpp.
Referenced by writeKkit().
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().
void writeGui | ( | ofstream & | fout | ) |
Definition at line 305 of file WriteKkit.cpp.
Referenced by writeKkit().
void writeHeader | ( | ofstream & | fout, |
double | simdt, | ||
double | plotdt, | ||
double | maxtime, | ||
double | defaultVol | ||
) |
Definition at line 28 of file WriteKkit.cpp.
Referenced by writeKkit().
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().
void writeMsgs | ( | ofstream & | fout, |
const vector< string > & | msgs | ||
) |
Definition at line 500 of file WriteKkit.cpp.
Referenced by writeKkit().
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().
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().
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().