Package com.comsol.model
Interface XmeshInfo
-
- All Superinterfaces:
PrimitiveModelEntity
public interface XmeshInfo extends PrimitiveModelEntity
Extended mesh information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XmeshInfoDofs
dofs()
Returns an object which can be queried for further information about the degrees of freedom in the extended mesh.XmeshInfoElements
elements(java.lang.String meshType)
Returns an object which can be queried for further information about the elements of a given type in the extended mesh.XmeshInfoElements
elements(java.lang.String meshType, java.lang.String geomTag)
Returns an object which can be queried for further information about the elements of a given type in a given geometry in the extended mesh.java.lang.String[]
fieldNames()
Returns the field names, or the field names solved for if the XmeshInfo was constructed from a Variables feature.int[]
fieldNDofs()
Returns the number of degrees of freedom corresponding to each field.java.lang.String[]
geoms()
Returns the tags of all geometries that exist in the extended mesh.java.lang.String[]
meshCases()
Returns the tags of all mesh cases.java.lang.String[]
meshTypes()
Returns all mesh types in all geometries in the extended mesh.java.lang.String[]
meshTypes(java.lang.String geomTag)
Returns all mesh types in a given geometry in the extended mesh.int
nDofs()
Returns the total number of degrees of freedom in the extended mesh.XmeshInfoNodes
nodes()
Returns an object which can be queried for further information about the nodes in the extended mesh.XmeshInfoNodes
nodes(java.lang.String geomTag)
Returns an object which can be queried for further information about the nodes in a given geometry in the extended mesh.-
Methods inherited from interface com.comsol.model.PrimitiveModelEntity
getContainer, getDisplayString, resolveModelPath
-
-
-
-
Method Detail
-
dofs
XmeshInfoDofs dofs()
Returns an object which can be queried for further information about the degrees of freedom in the extended mesh.- Returns:
- Extended mesh degrees of freedom information.
-
elements
XmeshInfoElements elements(java.lang.String meshType)
Returns an object which can be queried for further information about the elements of a given type in the extended mesh. This method can only be used if the extended mesh contains a single geometry.- Parameters:
meshType
- Mesh type.- Returns:
- Extended mesh element information.
-
elements
XmeshInfoElements elements(java.lang.String meshType, java.lang.String geomTag)
Returns an object which can be queried for further information about the elements of a given type in a given geometry in the extended mesh.- Parameters:
meshType
- Mesh type.geomTag
- Geometry tag.- Returns:
- Extended mesh element information.
-
fieldNDofs
int[] fieldNDofs()
Returns the number of degrees of freedom corresponding to each field.- Returns:
- Vector of numbers of degrees of freedom for each field.
-
fieldNames
java.lang.String[] fieldNames()
Returns the field names, or the field names solved for if the XmeshInfo was constructed from a Variables feature.- Returns:
- Vector of field names.
-
geoms
java.lang.String[] geoms()
Returns the tags of all geometries that exist in the extended mesh.- Returns:
- List of geometry tags.
-
meshCases
java.lang.String[] meshCases()
Returns the tags of all mesh cases.- Returns:
- Vector of mesh case tags.
-
meshTypes
java.lang.String[] meshTypes()
Returns all mesh types in all geometries in the extended mesh.- Returns:
- Vector of mesh types.
-
meshTypes
java.lang.String[] meshTypes(java.lang.String geomTag)
Returns all mesh types in a given geometry in the extended mesh.- Parameters:
geomTag
- Geometry tag.- Returns:
- Vector of mesh types.
-
nDofs
int nDofs()
Returns the total number of degrees of freedom in the extended mesh.- Returns:
- Number of degrees of freedom.
-
nodes
XmeshInfoNodes nodes()
Returns an object which can be queried for further information about the nodes in the extended mesh. This method can only be used if the extended mesh contains a single geometry.- Returns:
- Extended mesh node information.
-
nodes
XmeshInfoNodes nodes(java.lang.String geomTag)
Returns an object which can be queried for further information about the nodes in a given geometry in the extended mesh.- Parameters:
geomTag
- Geometry tag.- Returns:
- Extended mesh node information.
-
-