java.io.Serializablepublic class CoordinateDefinitionNitrogenSuperBox extends CoordinateDefinitionMolecule implements java.io.Serializable
| Modifier and Type | Class | Description |
|---|---|---|
protected static class |
CoordinateDefinitionNitrogenSuperBox.OrientationAgentSource |
CoordinateDefinition.BasisCell, CoordinateDefinition.SiteSourceCoordinateDefinitionMolecule.MoleculeSiteSource| Modifier and Type | Field | Description |
|---|---|---|
protected MoleculeChildAtomAction |
atomGroupAction |
|
protected Vector |
axis |
|
protected Configuration |
configuration |
|
protected int[][] |
innersegment |
|
boolean |
isAlpha |
|
boolean |
isGamma |
|
protected MoleculeAgentManager |
orientationManager |
|
protected IRandom |
random |
|
protected RotationTensor3D |
rotationTensor |
|
protected int[] |
segment |
|
protected ISpecies |
speciesA |
|
protected ISpecies |
speciesB |
|
protected Tensor3D |
tensor |
|
protected Tensor[] |
xzOrientationTensor |
|
protected Tensor[] |
yOrientationTensor |
atomActionTranslateTo, basis, box, cells, coordinateDim, lattice, primitive, siteManager, spaceinflate, initVolume, moleculeSiteManager, positionDefinition, rScale, sim, u, work1| Constructor | Description |
|---|---|
CoordinateDefinitionNitrogenSuperBox(Simulation sim,
Box box,
Primitive primitive,
Basis basis,
Space _space) |
| Modifier and Type | Method | Description |
|---|---|---|
double[] |
calcU(IMoleculeList molecules) |
Calculates the generalized coordinates for the given molecules in their
current position and orientation.
|
Vector[] |
getMoleculeOrientation(IMolecule molecule) |
|
void |
initializeCoordinates(int[] nCells) |
|
void |
initNominalU(IMoleculeList molecules) |
Override if nominal U is more than the lattice position of the molecule
Number of molecules equals to basis atoms
initNomial is the method to define the initial orientation of the molecule
|
void |
setConfiguration(Configuration configuration) |
|
void |
setGammaPositionAndOrientation(IMoleculeList molecules) |
|
void |
setIsAlpha() |
|
void |
setIsGamma() |
|
void |
setOrientationVectorAlpha(Space space) |
|
void |
setOrientationVectorGamma(Space space) |
|
void |
setSpecies(ISpecies speciesA,
ISpecies speciesB) |
|
void |
setToU(IMoleculeList molecules,
double[] newU) |
Set all the molecules in a cell to a position and orientation that corresponds to the
given generalized coordinate.
|
calcT, getBasis, getBasisCells, getBox, getCoordinateDim, getLatticePosition, getPrimitive, getSiteManagergetLatticePosition, getPositionDefinition, setInitVolume, setPositionDefinitionprotected final RotationTensor3D rotationTensor
protected final Tensor[] xzOrientationTensor
protected final Tensor[] yOrientationTensor
protected final Tensor3D tensor
protected final Vector axis
protected Configuration configuration
protected MoleculeAgentManager orientationManager
protected final MoleculeChildAtomAction atomGroupAction
public boolean isAlpha
public boolean isGamma
protected IRandom random
protected ISpecies speciesA
protected ISpecies speciesB
protected int[] segment
protected int[][] innersegment
public CoordinateDefinitionNitrogenSuperBox(Simulation sim, Box box, Primitive primitive, Basis basis, Space _space)
public void initializeCoordinates(int[] nCells)
initializeCoordinates in class CoordinateDefinitionMoleculepublic void setGammaPositionAndOrientation(IMoleculeList molecules)
public void setConfiguration(Configuration configuration)
public void setOrientationVectorGamma(Space space)
public void setOrientationVectorAlpha(Space space)
public double[] calcU(IMoleculeList molecules)
CoordinateDefinitioncalcU in class CoordinateDefinitionMoleculemolecules - The molecules of interest, which should be those forming a unit cell of the latticepublic void initNominalU(IMoleculeList molecules)
initNominalU in class CoordinateDefinitionMoleculepublic void setIsGamma()
public void setIsAlpha()
public void setToU(IMoleculeList molecules, double[] newU)
CoordinateDefinitionsetToU in class CoordinateDefinitionMoleculemolecules - The molecules of interestnewU - The generalized coordinate that defines the position and
orientation to which the molecules will be set by this method.