AssociationDefinitionMolecule
public class BiasVolumeAceticAcid extends BiasVolumeMolecule
Modifier and Type | Field | Description |
---|---|---|
protected Vector |
C1CH31 |
|
protected Vector |
C1DBO1 |
|
protected Vector |
C1SBO1 |
|
protected Vector |
C2C1 |
|
protected Vector |
C2CH32 |
|
protected Vector |
C2DBO2 |
|
protected Vector |
C2SBO2 |
|
protected Vector |
dv |
|
protected Vector |
groupTranslationVector |
|
protected Vector |
H1O2 |
|
protected Vector |
H2O1 |
|
protected MoleculeChildAtomAction |
moveMoleculeAction |
|
protected Vector |
newPositionC |
|
protected Vector |
OO1 |
|
protected Vector |
OO2 |
|
protected MoleculePair |
pair |
|
protected RotationTensor3D |
rotationTensor |
|
protected Vector |
secondAxis |
|
protected Vector |
thirdAxis |
|
protected Vector |
work1 |
|
protected Vector |
work2 |
space
Constructor | Description |
---|---|
BiasVolumeAceticAcid(Space space,
IRandom random,
Box box) |
Modifier and Type | Method | Description |
---|---|---|
void |
biasInsert(IMolecule molecule1,
IMolecule molecule2) |
|
double |
biasVolume() |
|
protected double |
calcAngle(Vector v1,
Vector v2) |
|
protected void |
doFlip(IMolecule molecule) |
|
protected void |
doTransform(IMolecule molecule,
Vector r0,
Vector axis,
double theta) |
|
double |
getBiasSphereRadius() |
|
boolean |
isAssociated(IMolecule molecule1,
IMolecule molecule2) |
Function to check for bonding
calculate the distance between atom1 and atom2
|
void |
setBiasSphereInnerRadius(double innerRadius) |
|
void |
setBiasSphereRadius(double radius) |
|
void |
setBox(Box box) |
|
void |
setmaxCosPhi(double maxCosPhi) |
|
void |
setmaxCosTheta(double maxCostheta) |
protected final MoleculePair pair
protected final Vector H1O2
protected final Vector H2O1
protected final Vector C1CH31
protected final Vector C2CH32
protected final Vector OO1
protected final Vector OO2
protected final Vector C2C1
protected final Vector secondAxis
protected final Vector thirdAxis
protected final Vector newPositionC
protected final Vector work1
protected final Vector work2
protected final Vector C1SBO1
protected final Vector C1DBO1
protected final Vector C2SBO2
protected final Vector C2DBO2
protected final Vector dv
protected Vector groupTranslationVector
protected MoleculeChildAtomAction moveMoleculeAction
protected final RotationTensor3D rotationTensor
public void setBox(Box box)
public void setBiasSphereRadius(double radius)
public void setBiasSphereInnerRadius(double innerRadius)
public void setmaxCosPhi(double maxCosPhi)
public void setmaxCosTheta(double maxCostheta)
public double getBiasSphereRadius()
public double biasVolume()
biasVolume
in class BiasVolumeMolecule
public void biasInsert(IMolecule molecule1, IMolecule molecule2)
biasInsert
in class BiasVolumeMolecule
protected void doFlip(IMolecule molecule)
public boolean isAssociated(IMolecule molecule1, IMolecule molecule2)
isAssociated
in interface AssociationDefinitionMolecule
isAssociated
in class BiasVolumeMolecule