org.keridwen.modelling.mesh.inspector.analysers
Class CellVolumeAnalyser
java.lang.Object
org.keridwen.modelling.mesh.inspector.analysers.MeshAnalyser
org.keridwen.modelling.mesh.inspector.analysers.CellVolumeAnalyser
- All Implemented Interfaces:
- Comparable, MeshAnalyserInterface
public class CellVolumeAnalyser
- extends MeshAnalyser
- implements MeshAnalyserInterface
Methods inherited from class org.keridwen.modelling.mesh.inspector.analysers.MeshAnalyser |
computeDistributionFunction, getAnalysis, getInputParameters, getMesh, getName, getOutputParameters, printAnalysis, setAnalysis, setInputParameters, setMesh, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CellVolumeAnalyser
public CellVolumeAnalyser(com.artenum.penelope.mesh.interfaces.Mesh mesh)
analyseMesh
public GenericAnalysis analyseMesh()
- perform the analysis of the mesh and return the result under the form of an analysis object. The corresponding
dataArray has the name defined in DATA_ARRAY_NAME.
- Specified by:
analyseMesh
in interface MeshAnalyserInterface
- Overrides:
analyseMesh
in class MeshAnalyser
- Returns:
- This method should return the result of the analysis under an object implementing the GenericAnalysis
interface.
getTotalVolume
public double getTotalVolume()
analyseAndBuildVtkDataSet
public Object analyseAndBuildVtkDataSet()
- Description copied from class:
MeshAnalyser
- return a vtk data set with the quality value mapped on it.
- Specified by:
analyseAndBuildVtkDataSet
in interface MeshAnalyserInterface
- Overrides:
analyseAndBuildVtkDataSet
in class MeshAnalyser
- Returns:
- a vtkDataSet of the analysed mesh with the quality factor.
probeCell
public GenericAnalysis probeCell(int meshId)
- Description copied from interface:
MeshAnalyserInterface
- Probe (i.e analyse) a cell specified by its Id.
- Specified by:
probeCell
in interface MeshAnalyserInterface
- Parameters:
meshId
- of the cell.
- Returns:
- the quality factor.
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
Copyright © 2013 Artenum. All Rights Reserved.