PrimitiveHCP4public class PrimitiveOrthorhombic extends Primitive
angle, D, idx, latticeVectors, rightAngle, size, space| Constructor | Description |
|---|---|
PrimitiveOrthorhombic(Space space) |
|
PrimitiveOrthorhombic(Space space,
double a,
double b,
double c) |
| Modifier and Type | Method | Description |
|---|---|---|
Primitive |
copy() |
Returns a new, identical instance of this primitive.
|
double |
getAngleAlpha() |
|
double |
getAngleBeta() |
|
double |
getAngleGamma() |
|
double |
getSizeA() |
|
double |
getSizeB() |
|
double |
getSizeC() |
|
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.
|
Primitive |
makeReciprocal() |
Method defining and constructing reciprocal primitive;
|
void |
scaleSize(double scale) |
Scales (multiplies) the size of each primitive vector by the given value.
|
void |
setSizeA(double newA) |
|
void |
setSizeB(double newB) |
|
void |
setSizeC(double newC) |
|
java.lang.String |
toString() |
|
Polytope |
unitCell() |
Returns a new Cuboid with edges of length given by the current
values of the primitive vectors.
|
protected void |
update() |
|
Polytope |
wignerSeitzCell() |
Returns the Wigner-Seitz cell specified by this primitive.
|
public PrimitiveOrthorhombic(Space space)
public PrimitiveOrthorhombic(Space space, double a, double b, double c)
public Primitive makeReciprocal()
PrimitivemakeReciprocal in class Primitivepublic void setSizeA(double newA)
public double getSizeA()
public void setSizeB(double newB)
public double getSizeB()
public void setSizeC(double newC)
public double getSizeC()
public double getAngleAlpha()
public double getAngleBeta()
public double getAngleGamma()
public Primitive copy()
public void scaleSize(double scale)
Primitivepublic int[] latticeIndex(Vector q)
PrimitivelatticeIndex in class Primitivepublic int[] latticeIndex(Vector q, int[] dimensions)
PrimitivelatticeIndex in class Primitivepublic Polytope wignerSeitzCell()
PrimitivewignerSeitzCell in class Primitivepublic Polytope unitCell()
public java.lang.String toString()
toString in class java.lang.Object