|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.tubs.cs.sc.casim.LatticeDefinition
represents a class with all necessary parameters to define lattice geometrie, dimension, size and boundary conditions
Lattice
,
Serialized FormField Summary | |
static int |
BOUNDARY_HANDLER_BOTTOM
|
static int |
BOUNDARY_HANDLER_FRONT
|
static int |
BOUNDARY_HANDLER_LEFT
|
static int |
BOUNDARY_HANDLER_REAR
|
static int |
BOUNDARY_HANDLER_RIGHT
|
static int |
BOUNDARY_HANDLER_TOP
|
static int |
CACHE_ALL
|
static int |
CACHE_INNER
|
static int |
CACHE_NONE
|
protected int |
dimension
|
static int |
NEIGHBORHOOD_ARBITRARY
|
static int |
NEIGHBORHOOD_MOORE
|
static int |
NEIGHBORHOOD_VONNEUMANN
|
Constructor Summary | |
LatticeDefinition()
Constructor creates a default LatticeDefintion with a 2D square Lattice with a 10x10 array and periodic boundary conditions, a von Neumann neighborhood with radius 1 |
Method Summary | |
java.lang.Object |
clone()
|
boolean |
equals(de.tubs.cs.sc.casim.LatticeDefinition ldef)
|
java.lang.Class[] |
getBoundary()
|
java.lang.Class |
getBoundary(int iIndex)
|
int |
getCacheNeighborhood()
|
int |
getDimension()
|
int |
getGeometry()
|
int |
getInitOption()
|
java.lang.Class |
getLatticeClass()
|
int |
getLatticeOption()
|
int |
getNeighborhood()
|
int |
getNeighborhoodRadius()
|
java.lang.String |
getSizeString()
|
int |
getX()
|
int |
getY()
|
int |
getZ()
|
boolean |
is1D()
|
boolean |
is2D()
|
boolean |
is2DHexagonal()
|
boolean |
is2DSquare()
|
boolean |
is2DTriangle()
|
boolean |
is3D()
|
boolean |
isNeighborhoodArbitrary()
|
boolean |
isNeighborhoodMoore()
|
boolean |
isNeighborhoodVonNeumann()
|
void |
setAllBoundary(java.lang.Class boundaryClass)
|
void |
setBoundary(java.lang.Class[] b)
|
void |
setBoundary(int iIndex,
java.lang.Class boundaryClass)
sets the boundary kind at dimension and direction |
void |
setCacheNeighborhood(int cacheNeighborhood)
sets the cache neighborhood property to a new value Caching increases performance espezially for smaller lattices It costs memory for all neighborhood references. |
void |
setDimension(int dimension)
|
void |
setGeometry(int geometry)
|
void |
setInitOption(int option)
|
void |
setKind(int dimension,
int geometry)
sets the new kind of the lattice |
void |
setLatticeClass(java.lang.Class c)
|
void |
setLatticeOption(int option)
|
void |
setNeighborhood(int iNeighborhood)
|
void |
setNeighborhoodRadius(int iNeighborhoodRadius)
|
void |
setX(int x)
sets the width of the lattice |
void |
setY(int y)
sets the height of the lattice |
void |
setZ(int z)
sets the depth of the lattice |
java.lang.String |
ToString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NEIGHBORHOOD_VONNEUMANN
public static final int NEIGHBORHOOD_MOORE
public static final int NEIGHBORHOOD_ARBITRARY
public static final int BOUNDARY_HANDLER_LEFT
public static final int BOUNDARY_HANDLER_RIGHT
public static final int BOUNDARY_HANDLER_BOTTOM
public static final int BOUNDARY_HANDLER_TOP
public static final int BOUNDARY_HANDLER_FRONT
public static final int BOUNDARY_HANDLER_REAR
protected int dimension
public static final int CACHE_NONE
public static final int CACHE_INNER
public static final int CACHE_ALL
Constructor Detail |
public LatticeDefinition()
Method Detail |
public final int getX()
public final int getY()
public final int getZ()
public final java.lang.Class getBoundary(int iIndex)
public final java.lang.Class[] getBoundary()
public final void setBoundary(java.lang.Class[] b)
public final int getDimension()
public final int getGeometry()
public boolean is1D()
public boolean is2D()
public final boolean is2DTriangle()
public final boolean is2DSquare()
public final boolean is2DHexagonal()
public final boolean is3D()
public final int getCacheNeighborhood()
public final int getNeighborhood()
public final boolean isNeighborhoodVonNeumann()
public final boolean isNeighborhoodMoore()
public boolean isNeighborhoodArbitrary()
public final int getNeighborhoodRadius()
public void setX(int x)
public void setY(int y)
public void setZ(int z)
public void setGeometry(int geometry)
public void setDimension(int dimension)
public void setKind(int dimension, int geometry)
public void setCacheNeighborhood(int cacheNeighborhood)
public void setBoundary(int iIndex, java.lang.Class boundaryClass)
public void setAllBoundary(java.lang.Class boundaryClass)
public void setNeighborhood(int iNeighborhood)
public void setNeighborhoodRadius(int iNeighborhoodRadius)
public java.lang.String getSizeString()
public void setLatticeClass(java.lang.Class c)
public java.lang.Class getLatticeClass()
public void setInitOption(int option)
public int getInitOption()
public void setLatticeOption(int option)
public int getLatticeOption()
public boolean equals(de.tubs.cs.sc.casim.LatticeDefinition ldef)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String ToString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |