CompuCell3D::ExternalPotentialPlugin Class Reference

#include <ExternalPotentialPlugin.h>

Inheritance diagram for CompuCell3D::ExternalPotentialPlugin:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ExternalPotentialPlugin ()
 ~ExternalPotentialPlugin ()
virtual void init (Simulator *_simulator, CC3DXMLElement *_xmlData=0)
virtual void extraInit (Simulator *_simulator)
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 ()
void initData ()

Private Types

enum  FunctionType { GLOBAL = 0, BYCELLTYPE = 1, BYCELLID = 2 }
typedef double(ExternalPotentialPlugin::* changeEnergy_t )(const Point3D &pt, const CellG *newCell, const CellG *oldCell)

Private Member Functions

double changeEnergyGlobal (const Point3D &pt, const CellG *newCell, const CellG *oldCell)
double changeEnergyByCellType (const Point3D &pt, const CellG *newCell, const CellG *oldCell)
double changeEnergyByCellId (const Point3D &pt, const CellG *newCell, const CellG *oldCell)

Private Attributes

Potts3Dpotts
AdjacentNeighbor adjNeighbor
CC3DXMLElementxmlData
Coordinates3D< float > lambdaVec
AdjacentNeighboradjNeighbor_ptr
WatchableField3D< CellG * > * cellFieldG
Dim3D fieldDim
FunctionType functionType
std::vector
< ExternalPotentialParam
externalPotentialParamVector
ExternalPotentialPlugin::changeEnergy_t changeEnergyFcnPtr


Detailed Description

Definition at line 41 of file ExternalPotentialPlugin.h.


Member Typedef Documentation

typedef double(ExternalPotentialPlugin::* CompuCell3D::ExternalPotentialPlugin::changeEnergy_t)(const Point3D &pt, const CellG *newCell, const CellG *oldCell) [private]


Member Enumeration Documentation

Enumerator:
GLOBAL 
BYCELLTYPE 
BYCELLID 

Definition at line 55 of file ExternalPotentialPlugin.h.


Constructor & Destructor Documentation

CompuCell3D::ExternalPotentialPlugin::ExternalPotentialPlugin (  ) 

Definition at line 19 of file ExternalPotentialPlugin.cpp.

CompuCell3D::ExternalPotentialPlugin::~ExternalPotentialPlugin (  ) 

Definition at line 22 of file ExternalPotentialPlugin.cpp.


Member Function Documentation

double CompuCell3D::ExternalPotentialPlugin::changeEnergyGlobal ( const Point3D pt,
const CellG newCell,
const CellG oldCell 
) [private]

double CompuCell3D::ExternalPotentialPlugin::changeEnergyByCellType ( const Point3D pt,
const CellG newCell,
const CellG oldCell 
) [private]

double CompuCell3D::ExternalPotentialPlugin::changeEnergyByCellId ( const Point3D pt,
const CellG newCell,
const CellG oldCell 
) [private]

void CompuCell3D::ExternalPotentialPlugin::init ( Simulator _simulator,
CC3DXMLElement _xmlData = 0 
) [virtual]

void CompuCell3D::ExternalPotentialPlugin::extraInit ( Simulator _simulator  )  [virtual]

Reimplemented from CompuCell3D::SimObject.

Definition at line 61 of file ExternalPotentialPlugin.cpp.

References update(), and xmlData.

double CompuCell3D::ExternalPotentialPlugin::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 502 of file ExternalPotentialPlugin.cpp.

References changeEnergyFcnPtr.

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

std::string CompuCell3D::ExternalPotentialPlugin::steerableName (  )  [virtual]

Reimplemented from CompuCell3D::SteerableObject.

Definition at line 521 of file ExternalPotentialPlugin.cpp.

References toString().

std::string CompuCell3D::ExternalPotentialPlugin::toString (  )  [virtual]

Reimplemented from CompuCell3D::Plugin.

Definition at line 516 of file ExternalPotentialPlugin.cpp.

Referenced by steerableName().

void CompuCell3D::ExternalPotentialPlugin::initData (  ) 


Member Data Documentation

Definition at line 47 of file ExternalPotentialPlugin.h.

Referenced by init().

Definition at line 48 of file ExternalPotentialPlugin.h.

Referenced by extraInit(), and init().

Definition at line 50 of file ExternalPotentialPlugin.h.

Referenced by changeEnergyGlobal(), and update().

Definition at line 56 of file ExternalPotentialPlugin.h.

Referenced by update().

Definition at line 57 of file ExternalPotentialPlugin.h.

Referenced by changeEnergyByCellType(), and update().

Definition at line 61 of file ExternalPotentialPlugin.h.

Referenced by changeEnergy(), and update().


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

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