AbstractLattice<Vector>, CubicLattice, SpaceLatticepublic class LatticeCubicBcc extends BravaisLatticeCrystal implements CubicLattice
primitivebasis| Constructor | Description |
|---|---|
LatticeCubicBcc(Space space) |
Cubic bcc crystal with a lattice constant that gives a
maximum-density structure for spheres of unit size.
|
LatticeCubicBcc(Space space,
double latticeConstant) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getLatticeConstant() |
Accesses the size of the unit cell, the length of each edge of a single cell.
|
void |
scaleBy(double scaleFactor) |
Rescales the lattice by the given factor.
|
void |
setLatticeConstant(double latticeConstant) |
The lattice constant is the size of the cubic primitive vectors
of the lattice underlying this crystal.
|
java.lang.String |
toString() |
Returns "Bcc".
|
DgetLatticeConstants, getPrimitive, getSpace, setPrimitiveD, getBasis, siteclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLatticeConstants, getSpace, sitepublic LatticeCubicBcc(Space space)
Use scaleBy method if desired to make lattice constant give maximum density for another sphere size.
public LatticeCubicBcc(Space space, double latticeConstant)
public void setLatticeConstant(double latticeConstant)
setLatticeConstant in interface CubicLatticelatticeConstant - the unit cell sizepublic double getLatticeConstant()
CubicLatticegetLatticeConstant in interface CubicLatticepublic void scaleBy(double scaleFactor)
public java.lang.String toString()
toString in class java.lang.Object