public class PrimitiveFcc extends Primitive
angle, D, idx, latticeVectors, rightAngle, size, space| Constructor | Description |
|---|---|
PrimitiveFcc(Space space) |
|
PrimitiveFcc(Space space,
double size) |
| Modifier and Type | Method | Description |
|---|---|---|
Primitive |
copy() |
Returns a new PrimitiveCubic with the same size as this one.
|
double |
getCubicSize() |
Returns the common length of all primitive vectors.
|
int[] |
latticeIndex(Vector q) |
Returns the index which would give the unit cell containing the given
point if the index were passed to a the site method of a sufficiently
large lattice that uses this primitive.
|
int[] |
latticeIndex(Vector q,
int[] dimensions) |
Same as latticeIndex(Space.Vector), but gives index for periodic system
with number of unit cells in each direction as given by the dimensions array.
|
static void |
main(java.lang.String[] args) |
|
Primitive |
makeReciprocal() |
Method defining and constructing reciprocal primitive;
|
void |
scaleSize(double scale) |
Multiplies the size of the current vectors by the given value.
|
void |
setCubicSize(double newCubicSize) |
Sets the length of all primitive vectors to the given value.
|
java.lang.String |
toString() |
|
protected void |
update() |
|
Polytope |
wignerSeitzCell() |
Returns the Wigner-Seitz cell specified by this primitive.
|
public PrimitiveFcc(Space space)
public PrimitiveFcc(Space space, double size)
public Primitive makeReciprocal()
PrimitivemakeReciprocal in class Primitivepublic Primitive copy()
public void setCubicSize(double newCubicSize)
public double getCubicSize()
public void scaleSize(double scale)
public int[] latticeIndex(Vector q)
PrimitivelatticeIndex in class Primitivepublic int[] latticeIndex(Vector q, int[] dimensions)
PrimitivelatticeIndex in class Primitivepublic Polytope wignerSeitzCell()
PrimitivewignerSeitzCell in class Primitivepublic java.lang.String toString()
toString in class java.lang.Objectpublic static void main(java.lang.String[] args)