CompuCell3D::LengthConstraintPlugin Class Reference

#include <LengthConstraintPlugin.h>

Inheritance diagram for CompuCell3D::LengthConstraintPlugin:

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

Collaboration graph
[legend]

List of all members.

Public Types

typedef void(LengthConstraintPlugin::* field3DChangeFcnPtr_t )(const Point3D &pt, CellG *newCell, CellG *oldCell)
typedef double(LengthConstraintPlugin::* changeEnergyFcnPtr_t )(const Point3D &pt, const CellG *newCell, const CellG *oldCell)

Public Member Functions

 LengthConstraintPlugin ()
virtual ~LengthConstraintPlugin ()
virtual void field3DChange (const Point3D &pt, CellG *newCell, CellG *oldCell)
 CellChangeWatcher interface.
void field3DChange_xy (const Point3D &pt, CellG *newCell, CellG *oldCell)
void field3DChange_xz (const Point3D &pt, CellG *newCell, CellG *oldCell)
void field3DChange_yz (const Point3D &pt, CellG *newCell, CellG *oldCell)
virtual void init (Simulator *simulator, CC3DXMLElement *_xmlData=0)
virtual void extraInit (Simulator *simulator)
virtual std::string toString ()
virtual double changeEnergy (const Point3D &pt, const CellG *newCell, const CellG *oldCell)
double changeEnergy_xz (const Point3D &pt, const CellG *newCell, const CellG *oldCell)
double changeEnergy_xy (const Point3D &pt, const CellG *newCell, const CellG *oldCell)
double changeEnergy_yz (const Point3D &pt, const CellG *newCell, const CellG *oldCell)
void initTypeId (Potts3D *potts)
virtual void update (CC3DXMLElement *_xmlData, bool _fullInitFlag=false)
virtual std::string steerableName ()

Public Attributes

field3DChangeFcnPtr_t field3DChangeFcnPtr
changeEnergyFcnPtr_t changeEnergyFcnPtr

Private Attributes

CC3DXMLElementxmlData
Potts3Dpotts
std::vector< LengthEnergyParamlengthEnergyParamVector
std::vector< std::string > typeNameVec


Detailed Description

Definition at line 59 of file LengthConstraintPlugin.h.


Member Typedef Documentation

typedef void(LengthConstraintPlugin::* CompuCell3D::LengthConstraintPlugin::field3DChangeFcnPtr_t)(const Point3D &pt, CellG *newCell, CellG *oldCell)

typedef double(LengthConstraintPlugin::* CompuCell3D::LengthConstraintPlugin::changeEnergyFcnPtr_t)(const Point3D &pt, const CellG *newCell, const CellG *oldCell)


Constructor & Destructor Documentation

LengthConstraintPlugin::LengthConstraintPlugin (  ) 

Definition at line 42 of file LengthConstraintPlugin.cpp.

LengthConstraintPlugin::~LengthConstraintPlugin (  )  [virtual]

Definition at line 45 of file LengthConstraintPlugin.cpp.


Member Function Documentation

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

CellChangeWatcher interface.

Definition at line 104 of file LengthConstraintPlugin.cpp.

References field3DChangeFcnPtr.

void LengthConstraintPlugin::field3DChange_xy ( const Point3D pt,
CellG newCell,
CellG oldCell 
)

void LengthConstraintPlugin::field3DChange_xz ( const Point3D pt,
CellG newCell,
CellG oldCell 
)

void LengthConstraintPlugin::field3DChange_yz ( const Point3D pt,
CellG newCell,
CellG oldCell 
)

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

void LengthConstraintPlugin::extraInit ( Simulator simulator  )  [virtual]

Reimplemented from CompuCell3D::SimObject.

Definition at line 99 of file LengthConstraintPlugin.cpp.

References update(), and xmlData.

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

Reimplemented from CompuCell3D::Plugin.

Definition at line 506 of file LengthConstraintPlugin.cpp.

Referenced by steerableName().

double LengthConstraintPlugin::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 262 of file LengthConstraintPlugin.cpp.

References changeEnergyFcnPtr.

double LengthConstraintPlugin::changeEnergy_xz ( const Point3D pt,
const CellG newCell,
const CellG oldCell 
)

double LengthConstraintPlugin::changeEnergy_xy ( const Point3D pt,
const CellG newCell,
const CellG oldCell 
)

double LengthConstraintPlugin::changeEnergy_yz ( const Point3D pt,
const CellG newCell,
const CellG oldCell 
)

void LengthConstraintPlugin::initTypeId ( Potts3D potts  ) 

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

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

Reimplemented from CompuCell3D::SteerableObject.

Definition at line 510 of file LengthConstraintPlugin.cpp.

References toString().


Member Data Documentation

Definition at line 61 of file LengthConstraintPlugin.h.

Referenced by extraInit(), and init().

Definition at line 63 of file LengthConstraintPlugin.h.

Referenced by init(), and update().

std::vector<std::string> CompuCell3D::LengthConstraintPlugin::typeNameVec [private]

Definition at line 66 of file LengthConstraintPlugin.h.

Referenced by initTypeId(), and update().

Definition at line 93 of file LengthConstraintPlugin.h.

Referenced by field3DChange(), and init().

Definition at line 117 of file LengthConstraintPlugin.h.

Referenced by changeEnergy(), and init().


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

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