AbstractLattice<Vector>, CubicLattice, SpaceLatticepublic class LatticeCubicFcc extends BravaisLatticeCrystal implements CubicLattice
primitivebasis| 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".
|
DgetLatticeConstants, getPrimitive, getSpace, setPrimitiveD, getBasis, siteclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLatticeConstants, getSpace, sitepublic 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 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