AbstractLattice<Vector>
, SpaceLattice
public static class ConfigurationLattice.MyLattice extends java.lang.Object implements SpaceLattice
Modifier and Type | Field | Description |
---|---|---|
Vector |
latticeScaling |
Constructor | Description |
---|---|
MyLattice(SpaceLattice l,
Vector latticeScaling,
Vector offset) |
Modifier and Type | Method | Description |
---|---|---|
int |
D() |
Dimension of the lattice.
|
double[] |
getLatticeConstants() |
|
Space |
getSpace() |
|
Vector |
site(int[] index) |
Returns the same instance of Vector with each call.
|
public final Vector latticeScaling
public MyLattice(SpaceLattice l, Vector latticeScaling, Vector offset)
public Space getSpace()
getSpace
in interface SpaceLattice
public int D()
AbstractLattice
D
in interface AbstractLattice<Vector>
public Vector site(int[] index)
site
in interface AbstractLattice<Vector>
site
in interface SpaceLattice
public double[] getLatticeConstants()
getLatticeConstants
in interface SpaceLattice