Class Utilities
java.lang.Object
ffx.potential.Utilities
The Utilities class provides methods to locate functional units of an organic system.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enumeration of recognized file types.static enumAn enumeration of recognized organic polymers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbiochemistry(MolecularAssembly molecularAssembly, List<Atom> atoms) This routine sub-divides a system into groups of ions, water, hetero molecules, and polynucleotides/polypeptides.static AtomReturns an atom bonded to the "end" atom, which is not equal to "other".static CharactergetChainID(int i) Determine chainID for a given polymer number.static doubleFinds the RMS deviation between the atoms of MolecularAssembly m1 and m2 provided they have the same number of atoms.static StringGets the stack trace for an exception and converts it to a String.
-
Constructor Details
-
Utilities
public Utilities()
-
-
Method Details
-
RMSCoordDev
Finds the RMS deviation between the atoms of MolecularAssembly m1 and m2 provided they have the same number of atoms.- Parameters:
m1- aMolecularAssemblyobject.m2- aMolecularAssemblyobject.- Returns:
- a double.
-
biochemistry
This routine sub-divides a system into groups of ions, water, hetero molecules, and polynucleotides/polypeptides.- Parameters:
molecularAssembly- aMolecularAssemblyobject.atoms- aListobject.
-
findSeed
-
getChainID
Determine chainID for a given polymer number.- Parameters:
i- int- Returns:
- Character
-
stackTraceToString
-