Package com.comsol.model
Interface GeometryAnalysisFeature
-
- All Superinterfaces:
ModelEntity
,PrimitiveModelEntity
,PropFeature
,SelectionContainer
,SelectionEntity
public interface GeometryAnalysisFeature extends PropFeature
Cleanup and analysis of the geometric model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
analyze()
Run the analysis with the current detail size.int
buildTime()
Returns the time it took to cleanup the geometry.java.lang.String[]
details()
Get list of all detail types that were found in the latest analysis.double[][]
detailSizes(java.lang.String type)
Get the estimated max and min size for each detail of the specified type that were found in the latest analysis.double
estimateDetailSize()
Estimate the detail size.void
revert()
Revert changes to the model done by cleanup.void
run()
Run automatic cleanup with the current detail size.-
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.PropFeature
getAllowedPropertyValues, getBoolean, getBoolean, getBoolean, getBooleanArray, getBooleanMatrix, getDouble, getDouble, getDouble, getDoubleArray, getDoubleMatrix, getEntryKeyIndex, getEntryKeys, getInt, getInt, getInt, getIntArray, getIntMatrix, getReferenceArray, getString, getString, getString, getString, getStringArray, getStringMatrix, getType, getValueType, hasProperty, hasSelection, move, move, properties, remove, remove, selection, set, set, set, set, set, set, set, set, set, set, set, set, setEntry, setEntry, setEntry, setEntry, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex
-
Methods inherited from interface com.comsol.model.SelectionEntity
selection
-
-
-
-
Method Detail
-
analyze
void analyze()
Run the analysis with the current detail size.
-
buildTime
int buildTime()
Returns the time it took to cleanup the geometry.- Returns:
- -1 if not built, otherwise the number of seconds it took to process the geometry.
-
detailSizes
double[][] detailSizes(java.lang.String type)
Get the estimated max and min size for each detail of the specified type that were found in the latest analysis.- Parameters:
type
- The detail type to get size estimates for, seedetails
.- Returns:
- For each detail i,
ret[i][0]
is the min size andret[i][1]
is the max size.
-
details
java.lang.String[] details()
Get list of all detail types that were found in the latest analysis.- Returns:
- List of found detail types.
-
estimateDetailSize
double estimateDetailSize()
Estimate the detail size. Details smaller than the returned value are considered unwanted by default, but it is possible to manually set a different detail size using the 'detailsize' property.- Returns:
- The estimated detail size.
-
revert
void revert()
Revert changes to the model done by cleanup.
-
run
void run()
Run automatic cleanup with the current detail size.
-
-