|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.keridwen.modelling.mesh.inspector.analysers.MeshAnalyser org.keridwen.modelling.mesh.inspector.analysers.BorderCellLocator
public class BorderCellLocator
This class implements a MeshAnalyser and scan the mesh to identify and localise "border cells" (i.e border Volumes),
i.e cells containing a Surface which is itself contained on only one Volume.
Excepted in case of malformed mesh, this should identify Volumes on the boundaries of the Mesh domain only.
If a Volume is found inside the Mesh domain, this means an error of connectivity or Mesh consistency.
Field Summary |
---|
Fields inherited from class org.keridwen.modelling.mesh.inspector.analysers.MeshAnalyser |
---|
ANALYSER_TYPE, analysis, DATA_ARRAY_NAME, HISTROGRAM_ENABLE, inputParameters, mesh, name, outputParameters |
Constructor Summary | |
---|---|
BorderCellLocator(com.artenum.penelope.mesh.interfaces.Mesh mesh)
Main constructor, the Mesh to by analysed should be passed in argument. |
Method Summary | |
---|---|
Object |
analyseAndBuildVtkDataSet()
return a vtk data set with the quality value mapped on it. |
GenericAnalysis |
analyseMesh()
analyse the mesh and return an array of mesh elements. |
int |
compareTo(Object o)
|
void |
printAnalysis()
print the result of the analysis. |
GenericAnalysis |
probeCell(int meshId)
Probe (i.e analyse) a cell specified by its Id. |
Methods inherited from class org.keridwen.modelling.mesh.inspector.analysers.MeshAnalyser |
---|
computeDistributionFunction, getAnalysis, getInputParameters, getMesh, getName, getOutputParameters, setAnalysis, setInputParameters, setMesh, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.keridwen.modelling.mesh.inspector.interfaces.MeshAnalyserInterface |
---|
getAnalysis, getOutputParameters, setAnalysis, setInputParameters, setMesh |
Constructor Detail |
---|
public BorderCellLocator(com.artenum.penelope.mesh.interfaces.Mesh mesh)
mesh
- - Mesh instance to be analysed.Method Detail |
---|
public GenericAnalysis probeCell(int meshId)
MeshAnalyserInterface
probeCell
in interface MeshAnalyserInterface
meshId
- of the cell.
public int compareTo(Object o)
compareTo
in interface Comparable
public GenericAnalysis analyseMesh()
analyseMesh
in interface MeshAnalyserInterface
analyseMesh
in class MeshAnalyser
public void printAnalysis()
MeshAnalyser
printAnalysis
in interface MeshAnalyserInterface
printAnalysis
in class MeshAnalyser
public Object analyseAndBuildVtkDataSet()
analyseAndBuildVtkDataSet
in interface MeshAnalyserInterface
analyseAndBuildVtkDataSet
in class MeshAnalyser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |