Configuration
public class GrainBoundaryTiltConfiguration extends java.lang.Object implements Configuration
Modifier and Type | Field | Description |
---|---|---|
protected ISpecies |
fixedSpecies |
|
protected ISpecies |
mobileSpecies |
Constructor | Description |
---|---|
GrainBoundaryTiltConfiguration(BravaisLatticeCrystal aLatticeTOP,
BravaisLatticeCrystal aLatticeBOTTOM,
ISpecies[] aSpecies,
double aCutoff,
Space space) |
Modifier and Type | Method | Description |
---|---|---|
ISpecies |
getFixedSpecies() |
|
ISpecies |
getMobileSpecies() |
|
void |
initializeCoordinates(Box box) |
Defines the placement of the molecules.
|
void |
resetRotation() |
|
void |
setBoxSize(Box box,
int[] boxMultiples) |
Resizes simulation box to preserve periodic boundary conditions after rotation of lattice.
|
void |
setFixedSpecies(ISpecies newFixedSpecies) |
|
void |
setGBplane(int[] m) |
Allows a user to specify a plane for GB
|
void |
setMobileSpecies(ISpecies newMobileSpecies) |
|
void |
setRotationBOTTOM(int axis,
double aAngle) |
|
void |
setRotationTOP(int axis,
double aAngle) |
Sets tensor for rotation about the indicated axis (0=x,1=y,2=z) by
the given angle.
|
protected ISpecies fixedSpecies
protected ISpecies mobileSpecies
public GrainBoundaryTiltConfiguration(BravaisLatticeCrystal aLatticeTOP, BravaisLatticeCrystal aLatticeBOTTOM, ISpecies[] aSpecies, double aCutoff, Space space)
public void setFixedSpecies(ISpecies newFixedSpecies)
public void setMobileSpecies(ISpecies newMobileSpecies)
public ISpecies getFixedSpecies()
public ISpecies getMobileSpecies()
public void resetRotation()
public void setRotationTOP(int axis, double aAngle)
public void setRotationBOTTOM(int axis, double aAngle)
public void setGBplane(int[] m)
public void setBoxSize(Box box, int[] boxMultiples)
box
- public void initializeCoordinates(Box box)
Configuration
initializeCoordinates
in interface Configuration