AbstractLattice<Vector>
, CubicLattice
, SpaceLattice
public class LatticeCubicFcc extends BravaisLatticeCrystal implements CubicLattice
primitive
basis
Constructor | Description |
---|---|
LatticeCubicFcc(Space space) |
Cubic fcc crystal with a lattice constant that gives a
maximum-density structure for spheres of unit size.
|
LatticeCubicFcc(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.
|
PrimitiveFcc |
getPrimitiveFcc() |
Returns a new PrimitiveFcc instance corresponding to the fcc lattice.
|
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 "Fcc".
|
D
getLatticeConstants, getPrimitive, getSpace, setPrimitive
D, getBasis, site
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLatticeConstants, getSpace, site
public LatticeCubicFcc(Space space)
Use scaleBy method if desired to make lattice constant give maximum density for another sphere size.
public LatticeCubicFcc(Space space, double latticeConstant)
public PrimitiveFcc getPrimitiveFcc()
public void setLatticeConstant(double latticeConstant)
setLatticeConstant
in interface CubicLattice
latticeConstant
- the unit cell sizepublic double getLatticeConstant()
CubicLattice
getLatticeConstant
in interface CubicLattice
public void scaleBy(double scaleFactor)
public java.lang.String toString()
toString
in class java.lang.Object