Package com.comsol.model
Interface MeshFeature
-
- All Superinterfaces:
GeomMeshFeature
,IPlotAndImageExport
,ModelEntity
,PrimitiveModelEntity
,PropFeature
,SelectionContainer
,SelectionEntity
- All Known Subinterfaces:
MeshProblemFeature
public interface MeshFeature extends GeomMeshFeature, IPlotAndImageExport
Mesh feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]
buildInfo()
Returns feature specific information from the build of the feature.java.lang.String[][]
buildOutput()
Returns feature specific output data from the build of the feature.MeshFeature
create(java.lang.String tag, java.lang.String oper)
Creates a mesh feature.void
expand()
Expands a reference feature.MeshFeatureList
feature()
Returns all mesh features.MeshFeature
feature(java.lang.String tag)
Returns a mesh feature.void
importData()
Update the output mesh to account for the following external changes:
1.MeshProblemFeatureList
problem()
Returns all meshing problems.MeshProblemFeature
problem(java.lang.String tag)
Returns meshing problem.MeshSelection
selection()
Returns the selection of the mesh feature.MeshSelection
selection(java.lang.String name)
Returns a mesh feature's selection property.-
Methods inherited from interface com.comsol.model.GeomMeshFeature
buildComsolVersion, buildDate, buildTime, componentSelection, errors, hasError, hasProblem, hasWarning, isBuilt, message, outputSelection, problems, status, warnings
-
Methods inherited from interface com.comsol.model.IPlotAndImageExport
image
-
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, 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
-
-
-
-
Method Detail
-
buildInfo
java.lang.String[] buildInfo()
Returns feature specific information from the build of the feature.- Returns:
- Strings with feature specific information from the build of the feature.
-
buildOutput
java.lang.String[][] buildOutput()
Returns feature specific output data from the build of the feature.- Returns:
- N-by-2 matrix with feature specific output data from the build of the feature.
-
create
MeshFeature create(java.lang.String tag, java.lang.String oper)
Creates a mesh feature.- Parameters:
tag
- Mesh feature tag.oper
- Mesh feature type.- Returns:
- Created mesh feature.
-
expand
void expand()
Expands a reference feature.
-
feature
MeshFeatureList feature()
Returns all mesh features.- Returns:
- List of mesh features.
-
feature
MeshFeature feature(java.lang.String tag)
Returns a mesh feature.- Parameters:
tag
- Mesh feature tag.- Returns:
- Mesh feature.
-
importData
void importData()
Update the output mesh to account for the following external changes:
1. Import a mesh from a file or another sequence.- Specified by:
importData
in interfaceGeomMeshFeature
-
problem
MeshProblemFeatureList problem()
Returns all meshing problems.- Returns:
- Meshing problem feature list.
-
problem
MeshProblemFeature problem(java.lang.String tag)
Returns meshing problem.- Parameters:
tag
- Meshing problem tag.- Returns:
- Meshing problem feature.
-
selection
MeshSelection selection()
Returns the selection of the mesh feature.- Specified by:
selection
in interfaceSelectionEntity
- Returns:
- Mesh selection.
-
selection
MeshSelection selection(java.lang.String name)
Returns a mesh feature's selection property.- Specified by:
selection
in interfacePropFeature
- Parameters:
name
- The selection property name.- Returns:
- Selection.
-
-