Package ffx.potential
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
Modifier and TypeClassDescriptionstatic enum
An enumeration of recognized file types.static enum
An enumeration of recognized organic polymers. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
biochemistry
(MolecularAssembly molecularAssembly, List<Atom> atoms) This routine sub-divides a system into groups of ions, water, hetero molecules, and polynucleotides/polypeptides.static Atom
Returns an atom bonded to the "end" atom, which is not equal to "other".static Character
getChainID
(int i) Determine chainID for a given polymer number.static double
Finds the RMS deviation between the atoms of MolecularAssembly m1 and m2 provided they have the same number of atoms.static String
Gets 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
- aMolecularAssembly
object.m2
- aMolecularAssembly
object.- Returns:
- a double.
-
biochemistry
This routine sub-divides a system into groups of ions, water, hetero molecules, and polynucleotides/polypeptides.- Parameters:
molecularAssembly
- aMolecularAssembly
object.atoms
- aList
object.
-
findSeed
Returns an atom bonded to the "end" atom, which is not equal to "other".- Parameters:
end
- Atomother
- Atom- Returns:
- Atom
-
getChainID
Determine chainID for a given polymer number.- Parameters:
i
- int- Returns:
- Character
-
stackTraceToString
Gets the stack trace for an exception and converts it to a String.- Parameters:
ex
- An exception.- Returns:
- A String of its stack trace.
-