#include <PlasticityTrackerPlugin.h>
Public Member Functions | |
| PlasticityTrackerPlugin () | |
| virtual | ~PlasticityTrackerPlugin () |
| virtual void | init (Simulator *_simulator, CC3DXMLElement *_xmlData=0) |
| virtual void | extraInit (Simulator *simulator) |
| virtual void | field3DChange (const Point3D &pt, CellG *newCell, CellG *oldCell) |
| BasicClassAccessor < PlasticityTracker > * | getPlasticityTrackerAccessorPtr () |
| PlasticityTrackerData * | getPlasticityTrackerData (PlasticityTrackerData *_psd) |
| void | initializePlasticityNeighborList () |
Protected Attributes | |
| std::set< std::string > | plasticityTypesNames |
| std::set< unsigned char > | plasticityTypes |
Private Attributes | |
| WatchableField3D< CellG * > * | cellFieldG |
| Dim3D | fieldDim |
| BasicClassAccessor < PlasticityTracker > | plasticityTrackerAccessor |
| Simulator * | simulator |
| CellInventory * | cellInventoryPtr |
| bool | initialized |
| unsigned int | maxNeighborIndex |
| BoundaryStrategy * | boundaryStrategy |
| CC3DXMLElement * | xmlData |
Definition at line 26 of file PlasticityTrackerPlugin.h.
| PlasticityTrackerPlugin::PlasticityTrackerPlugin | ( | ) |
Definition at line 44 of file PlasticityTrackerPlugin.cpp.
| PlasticityTrackerPlugin::~PlasticityTrackerPlugin | ( | ) | [virtual] |
Definition at line 53 of file PlasticityTrackerPlugin.cpp.
| void PlasticityTrackerPlugin::init | ( | Simulator * | _simulator, | |
| CC3DXMLElement * | _xmlData = 0 | |||
| ) | [virtual] |
getting cell inventory
will register PlasticityTracker here
REMARK. HAVE TO USE THE SAME BASIC CLASS ACCESSOR INSTANCE THAT WAS USED TO REGISTER WITH FACTORY
************************************************************************************************
Reimplemented from CompuCell3D::SimObject.
Definition at line 57 of file PlasticityTrackerPlugin.cpp.
References boundaryStrategy, cellFieldG, cellInventoryPtr, fieldDim, CompuCell3D::Potts3D::getCellFactoryGroupPtr(), CompuCell3D::Potts3D::getCellFieldG(), CompuCell3D::Potts3D::getCellInventory(), CompuCell3D::BoundaryStrategy::getInstance(), CompuCell3D::BoundaryStrategy::getMaxNeighborIndexFromNeighborOrder(), CompuCell3D::Simulator::getPotts(), CompuCell3D::SimObject::init(), maxNeighborIndex, plasticityTrackerAccessor, SimpleVolumeCallFromPython::plugin, CompuCell3D::Simulator::pluginManager, CompuCell3D::Potts3D::registerCellGChangeWatcher(), BasicClassGroupFactory::registerClass(), simulator, and xmlData.
Referenced by CompuCell3D::PlasticityPlugin::extraInit().
| void PlasticityTrackerPlugin::extraInit | ( | Simulator * | simulator | ) | [virtual] |
Reimplemented from CompuCell3D::SimObject.
Definition at line 94 of file PlasticityTrackerPlugin.cpp.
References CompuCell3D::Potts3D::getAutomaton(), CC3DXMLElement::getElements(), CompuCell3D::Simulator::getPotts(), CompuCell3D::Automaton::getTypeId(), plasticityTypes, plasticityTypesNames, simulator, and xmlData.
| void PlasticityTrackerPlugin::field3DChange | ( | const Point3D & | pt, | |
| CellG * | newCell, | |||
| CellG * | oldCell | |||
| ) | [virtual] |
Definition at line 112 of file PlasticityTrackerPlugin.cpp.
References CompuCell3D::CellG::extraAttribPtr, CompuCell3D::Simulator::getStep(), initialized, initializePlasticityNeighborList(), plasticityTrackerAccessor, plasticityTypes, simulator, CompuCell3D::CellG::type, and CompuCell3D::CellG::volume.
| BasicClassAccessor<PlasticityTracker>* CompuCell3D::PlasticityTrackerPlugin::getPlasticityTrackerAccessorPtr | ( | ) | [inline] |
Definition at line 50 of file PlasticityTrackerPlugin.h.
Referenced by CompuCell3D::PlasticityPlugin::extraInit().
| PlasticityTrackerData* CompuCell3D::PlasticityTrackerPlugin::getPlasticityTrackerData | ( | PlasticityTrackerData * | _psd | ) | [inline] |
Definition at line 52 of file PlasticityTrackerPlugin.h.
| void PlasticityTrackerPlugin::initializePlasticityNeighborList | ( | ) |
Definition at line 154 of file PlasticityTrackerPlugin.cpp.
References boundaryStrategy, cellFieldG, CompuCell3D::Neighbor::distance, CompuCell3D::CellG::extraAttribPtr, fieldDim, CompuCell3D::BoundaryStrategy::getNeighborDirect(), maxNeighborIndex, plasticityTrackerAccessor, plasticityTypes, CompuCell3D::Neighbor::pt, CompuCell3D::CellG::type, CompuCell3D::Point3D::x, CompuCell3D::Point3D::y, and CompuCell3D::Point3D::z.
Referenced by field3DChange().
Definition at line 28 of file PlasticityTrackerPlugin.h.
Referenced by init(), and initializePlasticityNeighborList().
Definition at line 29 of file PlasticityTrackerPlugin.h.
Referenced by init(), and initializePlasticityNeighborList().
BasicClassAccessor<PlasticityTracker> CompuCell3D::PlasticityTrackerPlugin::plasticityTrackerAccessor [private] |
Definition at line 30 of file PlasticityTrackerPlugin.h.
Referenced by field3DChange(), init(), and initializePlasticityNeighborList().
Reimplemented from CompuCell3D::SimObject.
Definition at line 31 of file PlasticityTrackerPlugin.h.
Referenced by extraInit(), field3DChange(), and init().
bool CompuCell3D::PlasticityTrackerPlugin::initialized [private] |
unsigned int CompuCell3D::PlasticityTrackerPlugin::maxNeighborIndex [private] |
Definition at line 35 of file PlasticityTrackerPlugin.h.
Referenced by init(), and initializePlasticityNeighborList().
Definition at line 36 of file PlasticityTrackerPlugin.h.
Referenced by init(), and initializePlasticityNeighborList().
std::set<std::string> CompuCell3D::PlasticityTrackerPlugin::plasticityTypesNames [protected] |
std::set<unsigned char> CompuCell3D::PlasticityTrackerPlugin::plasticityTypes [protected] |
Definition at line 59 of file PlasticityTrackerPlugin.h.
Referenced by extraInit(), field3DChange(), and initializePlasticityNeighborList().
1.5.6