Package org.jmol.minimize.forcefield
Class CalculationsUFF
- java.lang.Object
-
- org.jmol.minimize.forcefield.Calculations
-
- org.jmol.minimize.forcefield.CalculationsUFF
-
class CalculationsUFF extends Calculations
-
-
Field Summary
Fields Modifier and Type Field Description (package private) CalculationangleCalc(package private) CalculationbondCalc(package private) static doubleKCAL22(package private) static doubleKCAL332(package private) static doubleKCAL44(package private) static doubleKCAL6(package private) static doubleKCAL644(package private) CalculationoopCalc(package private) static intPAR_D(package private) static intPAR_HARD(package private) static intPAR_R(package private) static intPAR_RADIUS(package private) static intPAR_THETA(package private) static intPAR_U(package private) static intPAR_V(package private) static intPAR_X(package private) static intPAR_XI(package private) static intPAR_Z(package private) static intPAR_ZETA(package private) CalculationtorsionCalc(package private) CalculationvdwCalc-
Fields inherited from class org.jmol.minimize.forcefield.Calculations
ac, angleCount, bondCount, CALC_ANGLE, CALC_DISTANCE, CALC_ES, CALC_MAX, CALC_OOP, CALC_STRETCH_BEND, CALC_TORSION, CALC_VDW, calculations, constraints, da, db, dc, dd, DEG_TO_RAD, ff, ffParams, gradients, ia, ib, ic, id, isPreliminary, KCAL_TO_KJ, logData, logging, loggingEnabled, minAngles, minAtoms, minBonds, minPositions, minTorsions, parA, parB, parC, RAD_TO_DEG, silent, torsionCount, v1, v2, v3
-
-
Constructor Summary
Constructors Constructor Description CalculationsUFF(ForceField ff, java.util.Map<java.lang.Object,java.lang.Object> ffParams, MinAtom[] minAtoms, MinBond[] minBonds, MinAngle[] minAngles, MinTorsion[] minTorsions, MinPosition[] minPositions, javajs.util.Lst<java.lang.Object[]> constraints)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static doublecalculateR0(double ri, double rj, double chiI, double chiJ, double bondorder)(package private) doublecompute(int iType, java.lang.Object[] dataIn)(package private) java.lang.StringgetDebugHeader(int iType)protected java.lang.ObjectgetParameterObj(MinObject o)(package private) java.lang.StringgetUnits()private static booleanisInvertible(int n)(package private) booleansetupCalculations()-
Methods inherited from class org.jmol.minimize.forcefield.Calculations
addForce, addForces, appendLogData, energyAngle, energyBond, energyES, energyOOP, energyStrBnd, energyStretchBend, energyTorsion, energyVDW, getAtomList, getConstraintList, getDebugFooter, getDebugHeader2, getDebugLine, getDebugLineC, getLogData, getParameter, isLinear, pairSearch, setAngleVariables, setConstraints, setCoords, setLoggingEnabled, setOopVariables, setPairVariables, setPreliminary, setSilent, setTorsionVariables
-
-
-
-
Field Detail
-
KCAL332
static final double KCAL332
- See Also:
- Constant Field Values
-
KCAL644
static final double KCAL644
- See Also:
- Constant Field Values
-
KCAL6
static final double KCAL6
- See Also:
- Constant Field Values
-
KCAL22
static final double KCAL22
- See Also:
- Constant Field Values
-
KCAL44
static final double KCAL44
- See Also:
- Constant Field Values
-
PAR_R
static final int PAR_R
- See Also:
- Constant Field Values
-
PAR_THETA
static final int PAR_THETA
- See Also:
- Constant Field Values
-
PAR_X
static final int PAR_X
- See Also:
- Constant Field Values
-
PAR_D
static final int PAR_D
- See Also:
- Constant Field Values
-
PAR_ZETA
static final int PAR_ZETA
- See Also:
- Constant Field Values
-
PAR_Z
static final int PAR_Z
- See Also:
- Constant Field Values
-
PAR_V
static final int PAR_V
- See Also:
- Constant Field Values
-
PAR_U
static final int PAR_U
- See Also:
- Constant Field Values
-
PAR_XI
static final int PAR_XI
- See Also:
- Constant Field Values
-
PAR_HARD
static final int PAR_HARD
- See Also:
- Constant Field Values
-
PAR_RADIUS
static final int PAR_RADIUS
- See Also:
- Constant Field Values
-
bondCalc
Calculation bondCalc
-
angleCalc
Calculation angleCalc
-
torsionCalc
Calculation torsionCalc
-
oopCalc
Calculation oopCalc
-
vdwCalc
Calculation vdwCalc
-
-
Constructor Detail
-
CalculationsUFF
CalculationsUFF(ForceField ff, java.util.Map<java.lang.Object,java.lang.Object> ffParams, MinAtom[] minAtoms, MinBond[] minBonds, MinAngle[] minAngles, MinTorsion[] minTorsions, MinPosition[] minPositions, javajs.util.Lst<java.lang.Object[]> constraints)
-
-
Method Detail
-
getUnits
java.lang.String getUnits()
- Specified by:
getUnitsin classCalculations
-
setupCalculations
boolean setupCalculations()
- Specified by:
setupCalculationsin classCalculations
-
isInvertible
private static boolean isInvertible(int n)
-
calculateR0
static double calculateR0(double ri, double rj, double chiI, double chiJ, double bondorder)
-
compute
double compute(int iType, java.lang.Object[] dataIn)- Specified by:
computein classCalculations
-
getDebugHeader
java.lang.String getDebugHeader(int iType)
- Specified by:
getDebugHeaderin classCalculations
-
getParameterObj
protected java.lang.Object getParameterObj(MinObject o)
- Specified by:
getParameterObjin classCalculations
-
-