Package com.comsol.model
Interface GeomMeshFeature
-
- All Superinterfaces:
ModelEntity
,PrimitiveModelEntity
,PropFeature
,SelectionContainer
,SelectionEntity
- All Known Subinterfaces:
GeomDefeature
,GeomFeature
,GeomProblemFeature
,GeomSubsequenceCallFeature
,MeshFeature
,MeshProblemFeature
,WorkPlaneFeature
public interface GeomMeshFeature extends PropFeature
Base interface for geometries and meshes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
buildComsolVersion()
Returns the COMSOL version number (and architecture) used for the last build of the feature.java.lang.String
buildDate()
Returns the date and time of the last build of the feature.int
buildTime()
Returns the time it took to build the feature.java.lang.String[]
componentSelection()
Returns tags of output selection features for use in the component.java.lang.String[]
errors()
Return error information.boolean
hasError()
Checks if feature has error.boolean
hasProblem()
Checks if feature has problem.boolean
hasWarning()
Checks if feature has warning.void
importData()
Update the output geometry objects of this feature or the mesh to account for the following external changes:
1.boolean
isBuilt()
Checks if the feature has been built (possibly with a warning).java.lang.String
message()
Returns message.java.lang.String[]
outputSelection()
Returns tags of output selection features for use within the sequence.java.lang.String[]
problems()
Return error and warning information.java.lang.String
status()
Returns feature status as string.java.lang.String[]
warnings()
Return warning information.-
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
-
buildComsolVersion
java.lang.String buildComsolVersion()
Returns the COMSOL version number (and architecture) used for the last build of the feature.- Returns:
- Empty string if not built, otherwise a string of the type "COMSOL 6.0.0.95 (win64)".
-
buildDate
java.lang.String buildDate()
Returns the date and time of the last build of the feature.- Returns:
- Empty string if not built, otherwise a string of the type "2021-02-16T15:08:02.731" (given by LocalDateTime.now()).
-
buildTime
int buildTime()
Returns the time it took to build the feature.- Returns:
- -1 if not built, otherwise the number of seconds it took to build the feature.
-
componentSelection
java.lang.String[] componentSelection()
Returns tags of output selection features for use in the component. See alsooutputSelection()
.- Returns:
- Tags of created selections.
-
errors
java.lang.String[] errors()
Return error information.- Returns:
- Array with error tags.
-
hasError
boolean hasError()
Checks if feature has error.- Returns:
true
if feature has error.
-
hasProblem
boolean hasProblem()
Checks if feature has problem.- Returns:
true
if feature has problem.
-
hasWarning
boolean hasWarning()
Checks if feature has warning.- Returns:
true
if feature has warning.
-
importData
void importData()
Update the output geometry objects of this feature or the mesh to account for the following external changes:
1. Import geometry data from a file, a LiveLink, or another sequence.
2. Update geometry after changes in functions.
3. Update a deformed configuration from a solution dataset.
4. Import a mesh from a file or another sequence.
-
isBuilt
boolean isBuilt()
Checks if the feature has been built (possibly with a warning).- Returns:
true
if built.
-
message
java.lang.String message()
Returns message.- Returns:
- Message.
-
outputSelection
java.lang.String[] outputSelection()
Returns tags of output selection features for use within the sequence. See alsocomponentSelection()
.- Returns:
- Tags of created selections.
-
problems
java.lang.String[] problems()
Return error and warning information.- Returns:
- Array with problem tags.
-
status
java.lang.String status()
Returns feature status as string.- Returns:
- Feature status.
-
warnings
java.lang.String[] warnings()
Return warning information.- Returns:
- Array with warning tags.
-
-