Package com.comsol.model
Interface MeshStatistics
-
- All Superinterfaces:
ModelEntity,PrimitiveModelEntity,SelectionContainer,SelectionEntity
public interface MeshStatistics extends SelectionEntity
Mesh statistics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxDimension(java.lang.String type)Gets maximum dimension of mesh of a certain type.doublegetMaxGrowthRate()Retrieves the maximum growth rate in mesh.doublegetMaxVolume()Gets the maximum volume of an element.doublegetMaxVolume(java.lang.String type)Gets the maximum volume of a certain element type.doublegetMeanGrowthRate()Retrieves the mean growth rate in mesh.doublegetMeanQuality()Retrieves the mean quality in mesh.doublegetMeanQuality(java.lang.String type)Retrieves the mean quality in mesh of a certain element type.doublegetMinQuality()Retrieves the minimal quality in mesh.doublegetMinQuality(java.lang.String type)Retrieves the minimal quality in mesh of a certain element type.doublegetMinVolume()Gets the minimum volume of element.doublegetMinVolume(java.lang.String type)Gets the minimum volume of a certain element type.intgetNumElem()Gets the number of elements.intgetNumElem(java.lang.String type)Gets the number of elements of a specific type.intgetNumVertex()Gets the number of mesh vertices (in the selection) .int[]getQualityDistr(int size)Retrieves the quality distribution.int[]getQualityDistr(java.lang.String type, int size)Retrieves the quality distribution of a certain element type.java.lang.StringgetQualityMeasure()Retrieves the quality measure.java.lang.String[]getTypeDescriptions()Gets the element type descriptions.java.lang.String[]getTypes()Gets the element types in the mesh.doublegetVolume()Gets total volume of mesh.doublegetVolume(java.lang.String type)Gets total volume of the mesh for a certain element type.booleanisComplete()Check if all selected entities have a mesh.booleanisEmpty()Checks if the mesh is empty.MeshStatisticssetQualityMeasure(java.lang.String measure)Sets the quality measure.-
Methods inherited from interface com.comsol.model.ModelEntity
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
Methods inherited from interface com.comsol.model.SelectionEntity
selection
-
-
-
-
Method Detail
-
getMaxDimension
int getMaxDimension(java.lang.String type)
Gets maximum dimension of mesh of a certain type.- Parameters:
type- Mesh type.- Returns:
- Maximum dimension.
-
getMaxGrowthRate
double getMaxGrowthRate()
Retrieves the maximum growth rate in mesh.- Returns:
- Maximum growth rate.
-
getMaxVolume
double getMaxVolume()
Gets the maximum volume of an element.- Returns:
- Maximum volume.
-
getMaxVolume
double getMaxVolume(java.lang.String type)
Gets the maximum volume of a certain element type.- Parameters:
type- Element type.- Returns:
- Maximum volume.
-
getMeanGrowthRate
double getMeanGrowthRate()
Retrieves the mean growth rate in mesh.- Returns:
- Mean growth rate.
-
getMeanQuality
double getMeanQuality()
Retrieves the mean quality in mesh.- Returns:
- Mean quality.
-
getMeanQuality
double getMeanQuality(java.lang.String type)
Retrieves the mean quality in mesh of a certain element type.- Parameters:
type- Element type.- Returns:
- Mean quality.
-
getMinQuality
double getMinQuality()
Retrieves the minimal quality in mesh.- Returns:
- Minimal quality.
-
getMinQuality
double getMinQuality(java.lang.String type)
Retrieves the minimal quality in mesh of a certain element type.- Parameters:
type- Element type.- Returns:
- Minimal quality.
-
getMinVolume
double getMinVolume()
Gets the minimum volume of element.- Returns:
- Minimum volume.
-
getMinVolume
double getMinVolume(java.lang.String type)
Gets the minimum volume of a certain element type.- Parameters:
type- Element type.- Returns:
- Minimum volume.
-
getNumElem
int getNumElem()
Gets the number of elements.- Returns:
- Number of elements.
-
getNumElem
int getNumElem(java.lang.String type)
Gets the number of elements of a specific type.- Parameters:
type- Mesh type.- Returns:
- Number of elements.
-
getNumVertex
int getNumVertex()
Gets the number of mesh vertices (in the selection) .- Returns:
- Number of vertices.
-
getQualityDistr
int[] getQualityDistr(int size)
Retrieves the quality distribution.- Parameters:
size- Number of quality distribution slices.- Returns:
- Number of elements in each quality distribution slices.
-
getQualityDistr
int[] getQualityDistr(java.lang.String type, int size)Retrieves the quality distribution of a certain element type.- Parameters:
type- Element type.size- Number of quality distribution slices.- Returns:
- Number of elements in each quality distribution slices.
-
getQualityMeasure
java.lang.String getQualityMeasure()
Retrieves the quality measure.- Returns:
- Quality measure.
-
getTypeDescriptions
java.lang.String[] getTypeDescriptions()
Gets the element type descriptions.- Returns:
- Vector of element type descriptions.
-
getTypes
java.lang.String[] getTypes()
Gets the element types in the mesh.- Returns:
- Vector of element types.
-
getVolume
double getVolume()
Gets total volume of mesh.- Returns:
- Mesh volume.
-
getVolume
double getVolume(java.lang.String type)
Gets total volume of the mesh for a certain element type.- Parameters:
type- Element type.- Returns:
- Mesh volume.
-
isComplete
boolean isComplete()
Check if all selected entities have a mesh.- Returns:
trueif meshed.
-
isEmpty
boolean isEmpty()
Checks if the mesh is empty.- Returns:
trueif the mesh is empty.
-
setQualityMeasure
MeshStatistics setQualityMeasure(java.lang.String measure)
Sets the quality measure.- Parameters:
measure- One of "volcircum", "maxangle", "condition", "vollength", "growth", and "skewness".- Returns:
- Mesh statistics.
-
-