IConformation
, OrientationCalc
, OrientationCalcQuaternion
, java.io.Serializable
public class OrientationCalcWater4P extends ConformationWaterTIP4P implements OrientationCalc, OrientationCalcQuaternion, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
protected MoleculePositionCOM |
atomPositionCOM |
|
protected Vector |
com0 |
|
protected boolean |
initialized |
|
protected RotationTensor |
previousTensor |
|
protected RotationTensor3D |
rotationTensor |
|
protected RotationTensor |
workTensor |
|
protected Vector |
xWork |
|
protected Vector |
yWork |
|
protected Vector |
zWork |
angleHOH, bondLengthOH, Echarge, rOM, space
Constructor | Description |
---|---|
OrientationCalcWater4P(Space space) |
Modifier and Type | Method | Description |
---|---|---|
void |
calcOrientation(IMolecule molecule,
double[] quat) |
|
void |
calcOrientation(IMolecule molecule,
IOrientationFull3D orientation) |
Calculates the orientation of the given molecule and stores that
in the given orientation.
|
protected static void |
doTransform(IMolecule molecule,
Vector r0,
RotationTensor rotationTensor) |
|
void |
initializePositions(IAtomList childList) |
Defined by subclass to assign coordinates to the atoms in the given list.
|
void |
setOrientation(IMolecule molecule,
double[] quaternions) |
|
void |
setOrientation(IMolecule molecule,
IOrientationFull3D orientation) |
Sets the orientation of the given molecule to be equal to the given
orientation.
|
protected final Vector xWork
protected final Vector yWork
protected final Vector zWork
protected final Vector com0
protected final RotationTensor3D rotationTensor
protected final MoleculePositionCOM atomPositionCOM
protected boolean initialized
protected final RotationTensor previousTensor
protected final RotationTensor workTensor
public OrientationCalcWater4P(Space space)
public void calcOrientation(IMolecule molecule, double[] quat)
calcOrientation
in interface OrientationCalcQuaternion
public void setOrientation(IMolecule molecule, double[] quaternions)
setOrientation
in interface OrientationCalcQuaternion
public void initializePositions(IAtomList childList)
IConformation
initializePositions
in interface IConformation
initializePositions
in class ConformationWaterTIP4P
protected static void doTransform(IMolecule molecule, Vector r0, RotationTensor rotationTensor)
public void calcOrientation(IMolecule molecule, IOrientationFull3D orientation)
OrientationCalc
calcOrientation
in interface OrientationCalc
public void setOrientation(IMolecule molecule, IOrientationFull3D orientation)
OrientationCalc
setOrientation
in interface OrientationCalc