#include <ChickGrowthTypePlugin.h>


Public Member Functions | |
| ChickGrowthTypePlugin () | |
| virtual | ~ChickGrowthTypePlugin () |
| virtual void | init (Simulator *simulator) |
| unsigned char | getCellType (const CellG *cell) const |
| std::string | getTypeName (const char type) const |
| unsigned char | getTypeId (const std::string typeName) const |
| float | getThreshold () |
| float | getConcentration (Point3D pt) |
| virtual void | readXML (XMLPullParser &in) |
| virtual void | writeXML (XMLSerializer &out) |
Private Attributes | |
| Simulator * | sim |
| Potts3D * | potts |
| std::string | fieldSource |
| std::string | fieldName |
| float | threshold |
Definition at line 36 of file ChickGrowthTypePlugin.h.
| ChickGrowthTypePlugin::ChickGrowthTypePlugin | ( | ) |
Definition at line 43 of file ChickGrowthTypePlugin.cpp.
| ChickGrowthTypePlugin::~ChickGrowthTypePlugin | ( | ) | [virtual] |
Definition at line 45 of file ChickGrowthTypePlugin.cpp.
| void ChickGrowthTypePlugin::init | ( | Simulator * | simulator | ) | [virtual] |
Definition at line 47 of file ChickGrowthTypePlugin.cpp.
References CompuCell3D::CellType::addTransition(), CompuCell3D::Automaton::classType, CompuCell3D::Simulator::getPotts(), potts, CompuCell3D::Potts3D::registerAutomaton(), CompuCell3D::Potts3D::registerCellGChangeWatcher(), and sim.
| unsigned char ChickGrowthTypePlugin::getCellType | ( | const CellG * | cell | ) | const [virtual] |
| string ChickGrowthTypePlugin::getTypeName | ( | const char | type | ) | const [virtual] |
Implements CompuCell3D::Automaton.
Definition at line 69 of file ChickGrowthTypePlugin.cpp.
References THROW.
| unsigned char CompuCell3D::ChickGrowthTypePlugin::getTypeId | ( | const std::string | typeName | ) | const [virtual] |
Implements CompuCell3D::Automaton.
| float CompuCell3D::ChickGrowthTypePlugin::getThreshold | ( | ) | [inline] |
Definition at line 53 of file ChickGrowthTypePlugin.h.
References threshold.
Referenced by CompuCell3D::ChickGrowthNonCondensingTransition::checkCondition(), and CompuCell3D::ChickGrowthCondensingTransition::checkCondition().
| float ChickGrowthTypePlugin::getConcentration | ( | Point3D | pt | ) |
Definition at line 57 of file ChickGrowthTypePlugin.cpp.
References fieldName, fieldSource, CompuCell3D::Simulator::getClassRegistry(), CompuCell3D::ClassRegistry::getStepper(), and sim.
Referenced by CompuCell3D::ChickGrowthNonCondensingTransition::checkCondition(), and CompuCell3D::ChickGrowthCondensingTransition::checkCondition().
| void ChickGrowthTypePlugin::readXML | ( | XMLPullParser & | in | ) | [virtual] |
Definition at line 85 of file ChickGrowthTypePlugin.cpp.
References fieldName, fieldSource, BasicString::parseDouble(), and threshold.
| void ChickGrowthTypePlugin::writeXML | ( | XMLSerializer & | out | ) | [virtual] |
Definition at line 106 of file ChickGrowthTypePlugin.cpp.
Simulator* CompuCell3D::ChickGrowthTypePlugin::sim [private] |
Definition at line 37 of file ChickGrowthTypePlugin.h.
Referenced by getConcentration(), and init().
Potts3D* CompuCell3D::ChickGrowthTypePlugin::potts [private] |
Reimplemented from CompuCell3D::Automaton.
Definition at line 38 of file ChickGrowthTypePlugin.h.
Referenced by init().
std::string CompuCell3D::ChickGrowthTypePlugin::fieldSource [private] |
Definition at line 39 of file ChickGrowthTypePlugin.h.
Referenced by getConcentration(), and readXML().
std::string CompuCell3D::ChickGrowthTypePlugin::fieldName [private] |
Definition at line 40 of file ChickGrowthTypePlugin.h.
Referenced by getConcentration(), and readXML().
float CompuCell3D::ChickGrowthTypePlugin::threshold [private] |
1.5.6