Configuration
, java.io.Serializable
public class GrainBoundaryConfiguration extends java.lang.Object implements Configuration, java.io.Serializable
Constructor | Description |
---|---|
GrainBoundaryConfiguration(BravaisLatticeCrystal latticeA,
BravaisLatticeCrystal latticeB,
Space space) |
Construct class that will place atoms on sites of the given lattices,
proceeding in the order resulting from iteration through the given index
iterator.
|
Modifier and Type | Method | Description |
---|---|---|
SpaceLattice |
getLatticeAMemento() |
Returns a lattice with positions the same as those used in the
most recent use of initializeCoordinates.
|
SpaceLattice |
getLatticeBMemento() |
|
ISpecies |
getSpeciesAFixed() |
|
ISpecies |
getSpeciesAMobile() |
|
ISpecies |
getSpeciesBFixed() |
|
ISpecies |
getSpeciesBMobile() |
|
void |
initializeCoordinates(Box box) |
Places the molecules in the given box on the positions of the
lattice.
|
void |
setDimensions(int nCellsAx,
int nCellsAy,
int nCellsAz,
int nCellsBx,
int nCellsBy,
int nCellsBz,
double aA,
double bA,
double cA,
double aB,
double bB,
double cB) |
|
void |
setSpeciesA(ISpecies newSpeciesAFixed,
ISpecies newSpeciesAMobile) |
|
void |
setSpeciesB(ISpecies newSpeciesBFixed,
ISpecies newSpeciesBMobile) |
public GrainBoundaryConfiguration(BravaisLatticeCrystal latticeA, BravaisLatticeCrystal latticeB, Space space)
public void setDimensions(int nCellsAx, int nCellsAy, int nCellsAz, int nCellsBx, int nCellsBy, int nCellsBz, double aA, double bA, double cA, double aB, double bB, double cB)
public ISpecies getSpeciesAFixed()
public ISpecies getSpeciesBFixed()
public ISpecies getSpeciesAMobile()
public ISpecies getSpeciesBMobile()
public void initializeCoordinates(Box box)
initializeCoordinates
in interface Configuration
public SpaceLattice getLatticeAMemento()
public SpaceLattice getLatticeBMemento()