| Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.instance --+
|
ForceField
A force field
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
AddDistanceConstraint( (ForceField)self, (int)idx1, (int)idx2, (float)minLen, (float)maxLen, (float)forceConstant) -> None :
Adds a distance constraint to the force field.
C++ signature :
void AddDistanceConstraint(ForceFields::PyForceField*,unsigned int,unsigned int,double,double,double)
|
AddExtraPoint( (ForceField)self, (float)x, (float)y, (float)z [, (bool)fixed=True]) -> int :
Adds an extra point, this can be useful for adding constraints.
C++ signature :
int AddExtraPoint(ForceFields::PyForceField {lvalue},double,double,double [,bool=True])
|
CalcEnergy( (ForceField)arg1) -> float :
Returns the energy of the current arrangement
C++ signature :
double CalcEnergy(ForceFields::PyForceField {lvalue})
|
GetExtraPointPos( (ForceField)self, (int)idx) -> object :
returns the location of an extra point as a tuple
C++ signature :
_object* GetExtraPointPos(ForceFields::PyForceField*,unsigned int)
|
Initialize( (ForceField)arg1) -> None :
initializes the force field (call this before minimizing)
C++ signature :
void Initialize(ForceFields::PyForceField {lvalue})
|
Minimize( (ForceField)arg1 [, (int)maxIts=200 [, (float)forceTol=0.0001 [, (float)energyTol=9.9999999999999995e-07]]]) -> int :
Runs some minimization iterations.
Returns 0 if the minimization succeeded.
C++ signature :
int Minimize(ForceFields::PyForceField {lvalue} [,int=200 [,double=0.0001 [,double=9.9999999999999995e-07]]])
|
Raises an exception This class cannot be instantiated from Python
|
helper for pickle
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Tue Oct 7 06:26:50 2008 | http://epydoc.sourceforge.net |