Package org.jmol.minimize.forcefield
Class ForceFieldUFF
- java.lang.Object
-
- org.jmol.minimize.forcefield.ForceField
-
- org.jmol.minimize.forcefield.ForceFieldUFF
-
public class ForceFieldUFF extends ForceField
-
-
Field Summary
Fields Modifier and Type Field Description private static javajs.util.Lst<java.lang.String[]>atomTypesprivate javajs.util.BSbsAromaticprivate java.util.Map<java.lang.Object,java.lang.Object>ffParamsprivate booleanis2Dprivate static intPT_CHARGEprivate static intPT_CONNECTprivate static intPT_ELEMENTprivate static intTOKEN_AROMATICprivate static intTOKEN_ELEMENT_ALLYLICprivate static intTOKEN_ELEMENT_CHARGEDprivate static intTOKEN_ELEMENT_CONNECTEDprivate static intTOKEN_ELEMENT_ONLYprivate static intTOKEN_ELEMENT_SPprivate static T[][]tokenTypesprivate static java.util.Map<java.lang.Object,java.lang.Object>uff2DParamsprivate static java.util.Map<java.lang.Object,java.lang.Object>uffParams-
Fields inherited from class org.jmol.minimize.forcefield.ForceField
ABI_IJ, ABI_JK, bsFixed, calc, currentStep, EANGLE, EBOND, EELECTROSTATIC, ENERGY, EOOP, ESTRBND, ETORSION, EVDW, minAngles, minAtomCount, minAtoms, minBondCount, minBonds, minimizer, minPositions, minTorsions, name, R3, R4, R5, Raromatic, TBI_AB, TBI_BC, TBI_CD
-
-
Constructor Summary
Constructors Constructor Description ForceFieldUFF(Minimizer minimizer, boolean isQuick)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()private javajs.util.Lst<java.lang.String[]>getAtomTypes()private java.util.Map<java.lang.Object,java.lang.Object>getParameters()private javajs.util.BSgetSearch(java.lang.String smarts, int elemnoMax, javajs.util.BS bsElements)private voidsetAtomTypes(javajs.util.BS bsElements, int elemnoMax)booleansetModel(javajs.util.BS bsElements, int elemnoMax)-
Methods inherited from class org.jmol.minimize.forcefield.ForceField
detectExplosion, energyAngle, energyBond, energyES, energyFull, energyOOP, energyStretchBend, energyTorsion, energyVDW, getAtomList, getBufferedReader, getCurrentStep, getEnergy, getEnergyDiff, getLogData, getNormalizedDE, log, setConstraints, setModelFields, steepestDescentInitialize, steepestDescentTakeNSteps, toUserUnits
-
-
-
-
Field Detail
-
atomTypes
private static javajs.util.Lst<java.lang.String[]> atomTypes
-
ffParams
private java.util.Map<java.lang.Object,java.lang.Object> ffParams
-
uff2DParams
private static java.util.Map<java.lang.Object,java.lang.Object> uff2DParams
-
uffParams
private static java.util.Map<java.lang.Object,java.lang.Object> uffParams
-
bsAromatic
private javajs.util.BS bsAromatic
-
is2D
private boolean is2D
-
TOKEN_ELEMENT_ONLY
private static final int TOKEN_ELEMENT_ONLY
- See Also:
- Constant Field Values
-
TOKEN_ELEMENT_CHARGED
private static final int TOKEN_ELEMENT_CHARGED
- See Also:
- Constant Field Values
-
TOKEN_ELEMENT_CONNECTED
private static final int TOKEN_ELEMENT_CONNECTED
- See Also:
- Constant Field Values
-
TOKEN_AROMATIC
private static final int TOKEN_AROMATIC
- See Also:
- Constant Field Values
-
TOKEN_ELEMENT_SP
private static final int TOKEN_ELEMENT_SP
- See Also:
- Constant Field Values
-
TOKEN_ELEMENT_ALLYLIC
private static final int TOKEN_ELEMENT_ALLYLIC
- See Also:
- Constant Field Values
-
PT_ELEMENT
private static final int PT_ELEMENT
- See Also:
- Constant Field Values
-
PT_CHARGE
private static final int PT_CHARGE
- See Also:
- Constant Field Values
-
PT_CONNECT
private static final int PT_CONNECT
- See Also:
- Constant Field Values
-
tokenTypes
private static final T[][] tokenTypes
-
-
Constructor Detail
-
ForceFieldUFF
public ForceFieldUFF(Minimizer minimizer, boolean isQuick)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clearin classForceField
-
setModel
public boolean setModel(javajs.util.BS bsElements, int elemnoMax) throws JmolAsyncException- Specified by:
setModelin classForceField- Throws:
JmolAsyncException
-
setAtomTypes
private void setAtomTypes(javajs.util.BS bsElements, int elemnoMax)
-
getSearch
private javajs.util.BS getSearch(java.lang.String smarts, int elemnoMax, javajs.util.BS bsElements)
-
getParameters
private java.util.Map<java.lang.Object,java.lang.Object> getParameters()
-
getAtomTypes
private javajs.util.Lst<java.lang.String[]> getAtomTypes() throws JmolAsyncException- Throws:
JmolAsyncException
-
-