Class ForceField
java.lang.Object
org.jmol.minimize.forcefield.ForceField
- Direct Known Subclasses:
ForceFieldMMFF, ForceFieldUFF
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclear()booleandoubleenergyFull(boolean gradients, boolean isSilent) getAtomList(String title) protected BufferedReadergetBufferedReader(String resourceName) intdoubledoublevoidvoidvoidabstract booleanprotected voidvoidsetNth(int n) voidsteepestDescentInitialize(int stepMax, double criterion, double trustRadius) /////////// calculation /////////////////booleansteepestDescentTakeNSteps(int n, boolean doUpdateAtoms) floattoUserUnits(double energy)
-
Field Details
-
ABI_IJ
public static final int ABI_IJ- See Also:
-
ABI_JK
public static final int ABI_JK- See Also:
-
TBI_AB
public static final int TBI_AB- See Also:
-
TBI_BC
public static final int TBI_BC- See Also:
-
TBI_CD
public static final int TBI_CD- See Also:
-
R3
public static final int R3- See Also:
-
R4
public static final int R4- See Also:
-
R5
public static final int R5- See Also:
-
Raromatic
public static final int Raromatic- See Also:
-
name
-
-
Constructor Details
-
ForceField
public ForceField()
-
-
Method Details
-
clear
public abstract void clear() -
setModel
- Throws:
JmolAsyncException
-
setModelFields
protected void setModelFields() -
setConstraints
-
steepestDescentInitialize
public void steepestDescentInitialize(int stepMax, double criterion, double trustRadius) /////////// calculation ///////////////// -
steepestDescentTakeNSteps
public boolean steepestDescentTakeNSteps(int n, boolean doUpdateAtoms) - Parameters:
n- always 1 in JmoldoUpdateAtoms-- Returns:
- true if successful
-
energyFull
public double energyFull(boolean gradients, boolean isSilent) -
detectExplosion
public boolean detectExplosion() -
getCurrentStep
public int getCurrentStep() -
getEnergy
public double getEnergy() -
getAtomList
-
getEnergyDiff
public double getEnergyDiff() -
getLogData
-
toUserUnits
public float toUserUnits(double energy) -
log
-
getBufferedReader
- Throws:
IOException
-
recalculateEnergy
public void recalculateEnergy() -
setNth
public void setNth(int n)
-