CompuCell3D::ChemotaxisDictyPlugin Class Reference

#include <ChemotaxisDictyPlugin.h>

Inheritance diagram for CompuCell3D::ChemotaxisDictyPlugin:

Inheritance graph
[legend]
Collaboration diagram for CompuCell3D::ChemotaxisDictyPlugin:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChemotaxisDictyPlugin ()
virtual ~ChemotaxisDictyPlugin ()
virtual void init (Simulator *simulator, CC3DXMLElement *_xmlData=0)
virtual void extraInit (Simulator *_simulator)
 will initialize chemotactic field here - need to deffer this after all steppables which contain field had been pre-initialzied
virtual void field3DChange (const Point3D &pt, CellG *newCell, CellG *oldCell)
 CellChangeWatcher interface.
virtual void step ()
virtual double changeEnergy (const Point3D &pt, const CellG *newCell, const CellG *oldCell)
virtual void update (CC3DXMLElement *_xmlData, bool _fullInitFlag=false)
virtual std::string steerableName ()
virtual std::string toString ()
double getConcentration (const Point3D &pt)
double getLambda ()
Field3D< float > * getField ()
void initializeField ()

Private Attributes

Simulatorsim
Field3D< float > * concentrationField
Field3DImpl< float > * field
Potts3Dpotts
BasicClassAccessor< SimpleClock > * simpleClockAccessorPtr
double lambda
std::string chemicalFieldSource
std::string chemicalFieldName
bool chemotax
bool gotChemicalField
std::vector< unsigned char > nonChemotacticTypeVector
CC3DXMLElementxmlData


Detailed Description

Definition at line 56 of file ChemotaxisDictyPlugin.h.


Constructor & Destructor Documentation

ChemotaxisDictyPlugin::ChemotaxisDictyPlugin (  ) 

Definition at line 56 of file ChemotaxisDictyPlugin.cpp.

ChemotaxisDictyPlugin::~ChemotaxisDictyPlugin (  )  [virtual]

Definition at line 59 of file ChemotaxisDictyPlugin.cpp.


Member Function Documentation

void ChemotaxisDictyPlugin::init ( Simulator simulator,
CC3DXMLElement _xmlData = 0 
) [virtual]

void ChemotaxisDictyPlugin::extraInit ( Simulator _simulator  )  [virtual]

will initialize chemotactic field here - need to deffer this after all steppables which contain field had been pre-initialzied

Reimplemented from CompuCell3D::SimObject.

Definition at line 94 of file ChemotaxisDictyPlugin.cpp.

References update(), and xmlData.

void ChemotaxisDictyPlugin::field3DChange ( const Point3D pt,
CellG newCell,
CellG oldCell 
) [virtual]

CellChangeWatcher interface.

in medium we assume concentration 0

Definition at line 103 of file ChemotaxisDictyPlugin.cpp.

References concentrationField, and CompuCell3D::Field3D< T >::set().

virtual void CompuCell3D::ChemotaxisDictyPlugin::step (  )  [inline, virtual]

Definition at line 92 of file ChemotaxisDictyPlugin.h.

double ChemotaxisDictyPlugin::changeEnergy ( const Point3D pt,
const CellG newCell,
const CellG oldCell 
) [virtual]

Parameters:
pt The point of change.
newCell The new spin.
Returns:
The energy change of changing point pt to newCell.

Reimplemented from CompuCell3D::EnergyFunction.

Definition at line 127 of file ChemotaxisDictyPlugin.cpp.

References CompuCell3D::CellG::extraAttribPtr, field, CompuCell3D::Field3DImpl< T >::get(), CompuCell3D::Potts3D::getFlipNeighbor(), gotChemicalField, lambda, potts, and simpleClockAccessorPtr.

void ChemotaxisDictyPlugin::update ( CC3DXMLElement _xmlData,
bool  _fullInitFlag = false 
) [virtual]

std::string ChemotaxisDictyPlugin::steerableName (  )  [virtual]

Reimplemented from CompuCell3D::SteerableObject.

Definition at line 261 of file ChemotaxisDictyPlugin.cpp.

References toString().

std::string ChemotaxisDictyPlugin::toString (  )  [virtual]

Reimplemented from CompuCell3D::Plugin.

Definition at line 255 of file ChemotaxisDictyPlugin.cpp.

Referenced by steerableName().

double ChemotaxisDictyPlugin::getConcentration ( const Point3D pt  ) 

double CompuCell3D::ChemotaxisDictyPlugin::getLambda (  )  [inline]

Definition at line 111 of file ChemotaxisDictyPlugin.h.

Field3D<float>* CompuCell3D::ChemotaxisDictyPlugin::getField (  )  [inline]

Definition at line 114 of file ChemotaxisDictyPlugin.h.

void ChemotaxisDictyPlugin::initializeField (  ) 

this is only temporary solution will have to come up with something better

Definition at line 235 of file ChemotaxisDictyPlugin.cpp.

References ASSERT_OR_THROW, chemicalFieldName, chemicalFieldSource, field, CompuCell3D::Simulator::getClassRegistry(), CompuCell3D::ClassRegistry::getStepper(), gotChemicalField, and sim.

Referenced by update().


Member Data Documentation

Definition at line 58 of file ChemotaxisDictyPlugin.h.

Referenced by init(), and initializeField().

Definition at line 59 of file ChemotaxisDictyPlugin.h.

Referenced by field3DChange().

Definition at line 61 of file ChemotaxisDictyPlugin.h.

Referenced by changeEnergy(), getConcentration(), and initializeField().

Definition at line 64 of file ChemotaxisDictyPlugin.h.

Referenced by changeEnergy(), and init().

Definition at line 65 of file ChemotaxisDictyPlugin.h.

Referenced by changeEnergy(), and init().

Definition at line 67 of file ChemotaxisDictyPlugin.h.

Referenced by changeEnergy(), and update().

Definition at line 69 of file ChemotaxisDictyPlugin.h.

Referenced by initializeField(), and update().

Definition at line 70 of file ChemotaxisDictyPlugin.h.

Referenced by initializeField(), and update().

Definition at line 71 of file ChemotaxisDictyPlugin.h.

Definition at line 72 of file ChemotaxisDictyPlugin.h.

Referenced by changeEnergy(), and initializeField().

Definition at line 74 of file ChemotaxisDictyPlugin.h.

Referenced by update().

Definition at line 75 of file ChemotaxisDictyPlugin.h.

Referenced by extraInit(), and init().


The documentation for this class was generated from the following files:

Generated on Thu Dec 4 11:42:12 2008 for CompuCell3D by  doxygen 1.5.6