AbstractLattice<T>
CellLattice
, RectangularLattice
public interface FiniteLattice<T> extends AbstractLattice<T>
Modifier and Type | Method | Description |
---|---|---|
int[] |
getSize() |
Returns an array with elements giving the maximum number of
index values in each dimension.
|
void |
setSize(int[] size) |
Sets the array size, defined as described in the getSize method.
|
T[] |
sites() |
Returns an array containing all the sites in the lattice.
|
D, site
T[] sites()
int[] getSize()
void setSize(int[] size)