public class LatticeBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AREA_TRIANGLE_APPROXIMATOR
declare constants to denote triangle approximator
|
static int |
ARRAY_APPROXIMATOR
declare constants to denote array approximator
|
static int |
DEFAULT_APPROXIMATOR
declare constants to denote default approximator
|
static int |
DEFAULT_GEOMETRY
declare constants to denote default topology
|
static int |
DEFAULT_TOPOLOGY
declare constants to denote default topology
|
protected boolean |
discardFlag
flag to set if lattice is not to be instantiated
|
protected LatticeCollection |
latticeList |
static int |
RECTILINEAR_TOPOLOGY
declare constants to denote recti-linear topology
|
static int |
REGULARCELL_GEOMETRY
declare constants to denote recti-linear topology
|
static int |
REGULARPOINT_GEOMETRY
declare constants to denote recti-linear topology
|
static int |
UNSTRUCTURED_GEOMETRY
declare constants to denote unstructured topology
|
static int |
UNSTRUCTURED_TOPOLOGY
declare constants to denote unstructured topology
|
Constructor and Description |
---|
LatticeBuilder(java.lang.String n)
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
checkTopology()
check Topology's Geometry, if it is omitted, set it to the lattice's Geometry
|
int |
getApproximatorType()
Returns the approximator type as an integer
|
java.lang.String |
getCoordinateFDLFileName()
Returns the coordianteFDLFileName
|
java.lang.String |
getCoordinateFileName(int i)
Returns the coordinateName
|
RecordSpec |
getCoordinateRecordSpec()
Returns the coordinateRecordSpec for SplitUnstructuredTopology
|
java.lang.String |
getDataFileName(int i)
Returns the dataName
|
RecordSpec |
getDataRecordSpec()
Returns the dataRecordSpec for SplitUnstructuredTopology
|
int |
getDimensionality()
Returns the topology dimensionality as an integer
|
GBounds |
getLatticeGBounds()
returns the Index Space Bounds from this builder or defaults to the topologyDS bounds
|
int |
getLatticeGeometryType() |
ISBounds |
getLatticeISBounds()
returns the Index Space Bounds from this builder or defaults to the topologyDS bounds
|
java.lang.String |
getName()
Returns the lattice name
|
java.lang.String |
getPointInfoFDLFileName()
Returns the pointInfoFDLFileName
|
GBounds |
getTopologyGBounds()
returns the Index Space Bounds from this builder or defaults to the topologyDS bounds
|
int |
getTopologyGeometryType() |
ISBounds |
getTopologyISBounds()
returns the Index Space Bounds from this builder or defaults to the topologyDS bounds
|
int |
getTopologyType()
Returns the topology type as an integer
|
java.lang.String |
getVertexFileIndicesName(int i)
Returns the vertexIndicesName
|
RecordSpec |
getVertexIndicesRecordSpec()
Returns the vertexIndicesRecordSpec for SplitUnstructuredTopology
|
java.lang.String |
getVIndicesFDLFileName()
Returns the vIndicesFDLFileName
|
Lattice |
makeLattice()
instantiates an actual lattice
|
void |
setApproximatorType(int t)
Sets the approximator type for this Lattice
|
void |
setCoordinateFDLFileName(java.lang.String name)
Sets the FDL File name for SplitUnstructuredTopology
|
void |
setCoordinateRecordSpec(RecordSpec rs)
Sets the coordinateRecordSpec for SplitUnstructuredTopology
|
void |
setDataRecordSpec(RecordSpec rs)
Sets the dataRecordSpec for SplitUnstructuredTopology
|
void |
setDimensionality(int t)
Sets the topology dimension for this Lattice
|
void |
setFDLGroup(FDLGroup[] fdlGroup)
Sets the array of FDLGroup for SplitUnstructuredTopology
|
void |
setGBounds(GBounds b,
java.lang.String type)
Sets the geometry bounds
|
void |
setGeometryType(int gtype,
java.lang.String type) |
void |
setISBounds(ISBounds b,
java.lang.String type)
Sets the topology bounds
|
void |
setName(java.lang.String s)
Sets the lattice name to the String provided
|
void |
setPointInfoFDLFileName(java.lang.String name)
Sets the FDL File name for SplitUnstructuredTopology
|
void |
setTopologyDS(DataSource ds)
Sets the rood datasource
|
void |
setTopologyType(int t)
Sets the topology type for this Lattice
|
void |
setVertexIndicesRecordSpec(RecordSpec rs)
Sets the vertexIndicesRecordSpec for SplitUnstructuredTopology
|
void |
setVIndicesFDLFileName(java.lang.String name)
Sets the FDL File name for SplitUnstructuredTopology
|
java.lang.String |
toString()
diagnostic utility method for dumping this class to a string
|
protected LatticeCollection latticeList
public static final int DEFAULT_GEOMETRY
public static final int UNSTRUCTURED_GEOMETRY
public static final int REGULARCELL_GEOMETRY
public static final int REGULARPOINT_GEOMETRY
public static final int DEFAULT_APPROXIMATOR
public static final int ARRAY_APPROXIMATOR
public static final int AREA_TRIANGLE_APPROXIMATOR
public static final int DEFAULT_TOPOLOGY
public static final int UNSTRUCTURED_TOPOLOGY
public static final int RECTILINEAR_TOPOLOGY
protected boolean discardFlag
public void setName(java.lang.String s)
public java.lang.String getName()
public void setTopologyDS(DataSource ds)
public void setApproximatorType(int t)
public int getApproximatorType()
public void setTopologyType(int t)
public int getTopologyType()
public void setDimensionality(int t)
public int getDimensionality()
public void setVertexIndicesRecordSpec(RecordSpec rs)
public RecordSpec getVertexIndicesRecordSpec()
public void setCoordinateRecordSpec(RecordSpec rs)
public RecordSpec getCoordinateRecordSpec()
public void setDataRecordSpec(RecordSpec rs)
public RecordSpec getDataRecordSpec()
public void setFDLGroup(FDLGroup[] fdlGroup)
public java.lang.String getVertexFileIndicesName(int i)
public java.lang.String getCoordinateFileName(int i)
public java.lang.String getDataFileName(int i)
public void setPointInfoFDLFileName(java.lang.String name)
public java.lang.String getPointInfoFDLFileName()
public void setVIndicesFDLFileName(java.lang.String name)
public java.lang.String getVIndicesFDLFileName()
public void setCoordinateFDLFileName(java.lang.String name)
public java.lang.String getCoordinateFDLFileName()
public void setGBounds(GBounds b, java.lang.String type)
public void setISBounds(ISBounds b, java.lang.String type)
public ISBounds getLatticeISBounds()
public ISBounds getTopologyISBounds()
public GBounds getLatticeGBounds()
public GBounds getTopologyGBounds()
public int getLatticeGeometryType()
public int getTopologyGeometryType()
public void setGeometryType(int gtype, java.lang.String type)
public void checkTopology()
public Lattice makeLattice()
public java.lang.String toString()
toString
in class java.lang.Object