Package ffx.potential.bonded
Class MultiTerminus
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
ffx.potential.bonded.MSNode
ffx.potential.bonded.MSGroup
ffx.potential.bonded.Residue
ffx.potential.bonded.MultiTerminus
- All Implemented Interfaces:
ROLS,Serializable,Cloneable,Comparable<Residue>,MutableTreeNode,TreeNode
The MultiResidue class allows switching between residues for uses such as sequence optimization.
- Since:
- 1.0
- Author:
- Will Tollefson, Michael J. Schnieders
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class ffx.potential.bonded.Residue
Residue.ResidueType, Residue.SSType -
Field Summary
FieldsFields inherited from class ffx.potential.bonded.Residue
RamachandranFields inherited from class ffx.potential.bonded.MSGroup
angleTime, angleTorsionTime, bondTime, improperTorsionTime, outOfPlaneBendTime, piOrbitalTorsionTime, stretchBendTime, stretchTorsionTime, torsionTime, torsionTorsionTime, ureyBradleyTimeFields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObjectFields inherited from interface ffx.potential.bonded.ROLS
MaxLengthScale -
Constructor Summary
ConstructorsConstructorDescriptionMultiTerminus(Residue residue, ForceField forceField, ForceFieldEnergy forceFieldEnergy, MolecularAssembly molecularAssembly) Constructor for MultiTerminus. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(MutableTreeNode mtn) booleanbooleanisCharged.voidChanges the charge state of this MultiTerminus.Methods inherited from class ffx.potential.bonded.Residue
addMSNode, compareTo, drawLabel, finalize, getAminoAcid3, getBackboneAtoms, getChainID, getNextResidue, getNucleicAcid3, getNucleicAcid3, getPreviousResidue, getReferenceAtom, getResidueNumber, getResidueType, getRotamer, getRotamers, getSegID, getSideChainAtoms, getTitrationUtils, getVariableAtoms, hashCode, initializeDefaultAtomicCoordinates, print, revertState, setChainID, setColor, setName, setNumber, setRotamer, setRotamers, setSegID, setTitrationUtils, storeCoordinateArray, storeState, toFormattedString, toString, toStringMethods inherited from class ffx.potential.bonded.MSGroup
assignBondedTerms, createJoint, createJoint, findDangelingAtoms, getAngles, getAtomByName, getAtomNode, getAtomNode, getAtomNode, getAtomNodeList, getBond, getBond, getBonds, getCenter, getDangelingAtoms, getMultiScaleCenter, getTermNode, getTorsions, isFinalized, removeLeaves, reOrderAtoms, setAngles, setAngleTorsions, setAtomNode, setBonds, setCenter, setDangelingAtoms, setFinalized, setImproperTorsions, setOutOfPlaneBends, setPiOrbitalTorsions, setStretchBends, setStretchTorsions, setTerms, setTorsions, setTorsionTorsions, setUreyBradleys, setView, update, updateAtoms, updateBondsMethods inherited from class ffx.potential.bonded.MSNode
contains, destroy, getAngleList, getAngleTorsionList, getAtomList, getAtomList, getBondList, getCenter, getChildList, getDescendants, getExtent, getImproperTorsionList, getList, getMSCount, getMSNode, getMultiScaleLevel, getMW, getName, getOutOfPlaneBendList, getPiOrbitalTorsionList, getStretchBendList, getStretchTorsionList, getTorsionList, getTorsionTorsionList, getTotalMass, getUreyBradleyList, isSelected, removeChild, setSelectedMethods inherited from class javax.swing.tree.DefaultMutableTreeNode
breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
-
Field Details
-
end
-
isCharged
public boolean isChargedCharge state of the termini.
-
-
Constructor Details
-
MultiTerminus
public MultiTerminus(Residue residue, ForceField forceField, ForceFieldEnergy forceFieldEnergy, MolecularAssembly molecularAssembly) Constructor for MultiTerminus.- Parameters:
residue- aResidueobject.forceField- aForceFieldobject.forceFieldEnergy- aForceFieldEnergyobject.molecularAssembly- aMolecularAssemblyobject.
-
-
Method Details
-
add
- Overrides:
addin classDefaultMutableTreeNode
-
equals
MSNode equality := same class and same name. Consider replacing with a Comparator<MSNode> for cases where non-reference equality is desired.
-
isCharged
public boolean isCharged()isCharged.- Returns:
- a boolean.
-
titrateTerminus_v0
public void titrateTerminus_v0()Changes the charge state of this MultiTerminus. Keep existing Atom objects but updates types, bonded terms, and builds new proton if necessary.
-