Package com.comsol.model
Interface ModelNode
-
- All Superinterfaces:
AbstractModel,ModelEntity,PrimitiveModelEntity
public interface ModelNode extends AbstractModel
Model node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ModelNodebasesystem(java.lang.String arg0)Deprecated.UsebaseSystem(String)instead.ModelNodebaseSystem(java.lang.String name)Sets the base unit system.ComponentCoordsysListcoordSystem()Returns all coordinate systems for this component.ComponentCplListcpl()Returns all component couplings for this component.booleancurvedInterior()Returns true if curved interior mesh is activated on the model node.ModelNodecurvedInterior(boolean curvedInterior)Sets the curved interior mesh setting on the model node.booleandefineAllFrames()Returns true if all frames are always defined.ModelNodedefineAllFrames(boolean define)Set whether all frames should always be defined.booleandefineLocalCoord()Returns true if local coordinate variables (xi1, xi2, xi3) will be defined.ModelNodedefineLocalCoord(boolean define)Set a flag that determines whether local coordinate variables (xi1, xi2, xi3, also known as barycentric coordinates) will be defined in each mesh element.ComponentExtraDimListextraDim()Returns all extra dimension features for this component.ComponentFunctionFeatureListfunc()Returns all functions for this component.ComponentGeomListgeom()Returns all geometry sequences for this component.java.lang.StringgeometricModel()Get the geometric model used in the component.voidgeometricModel(java.lang.String sequenceTag)Specify the geometric model used in the component.java.lang.String[]geometryCoord()Returns names of geometry frame coordinates.ModelNodegeometryCoord(java.lang.String[] coord)Sets names of geometry frame coordinates.java.lang.StringgetType()Get the type identifier of this component.java.lang.Stringidentifier()Deprecated.Returns the node's identifier.ModelNodeidentifier(java.lang.String arg0)Deprecated.Sets the node's identifier.ComponentProbeFeatureListmassProp()Returns all mass properties for this component.ComponentMaterialListmaterial()Returns all materials for this component.java.lang.String[]materialCoord()Returns names of material frame coordinates.ModelNodematerialCoord(java.lang.String[] coord)Sets names of material frame coordinates.GeomMeasureFinalmeasure()Returns the geometry measurement tool for the geometric model of the component.ComponentMeshListmesh()Returns all meshing sequences for this component.java.lang.String[]meshCoord()Returns names of mesh frame coordinates.ModelNodemeshCoord(java.lang.String[] coord)Sets names of mesh frame coordinates.ComponentMultiphysicsCouplingListmultiphysics()Returns all multiphysics couplings for this component.ComponentPairListpair()Returns all pairs for this component.ComponentPhysicsListphysics()Returns all physics interfaces for this component.ComponentProbeFeatureListprobe()Returns all probes for this component.ComponentSelectionListselection()Returns all named selections for this component.java.lang.Stringsorder()Returns the geometry shape order used for the model node and its descendants.ModelNodesorder(java.lang.String sorder)Sets the geometry shape order used for the model node and its descendants.java.lang.String[]spatialCoord()Returns names of spatial frame coordinates.ModelNodespatialCoord(java.lang.String[] coord)Sets names of spatial frame coordinates.ComponentExprListvariable()Returns all variable collections for this component.ComponentViewListview()Returns all views for this component.-
Methods inherited from interface com.comsol.model.AbstractModel
basesystem, baseSystem, common, common, coordSystem, cpl, extraDim, func, geom, groupByType, massProp, material, mesh, multiphysics, pair, physics, probe, selection, setGroupByType, variable, view
-
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
-
-
-
-
Method Detail
-
baseSystem
ModelNode baseSystem(java.lang.String name)
Sets the base unit system.- Specified by:
baseSystemin interfaceAbstractModel- Parameters:
name- Name of base unit system: :SI,bft,cgs,mpa,emu,esu,fps,ips, orpsi.- Returns:
- Modified model.
-
basesystem
@Deprecated ModelNode basesystem(java.lang.String arg0)
Deprecated.UsebaseSystem(String)instead.- Specified by:
basesystemin interfaceAbstractModel
-
coordSystem
ComponentCoordsysList coordSystem()
Returns all coordinate systems for this component.- Specified by:
coordSystemin interfaceAbstractModel- Returns:
- List of coordinate systems.
-
cpl
ComponentCplList cpl()
Returns all component couplings for this component.- Specified by:
cplin interfaceAbstractModel- Returns:
- List of component couplings.
-
curvedInterior
boolean curvedInterior()
Returns true if curved interior mesh is activated on the model node.- Returns:
- Curved interior mesh setting.
-
curvedInterior
ModelNode curvedInterior(boolean curvedInterior)
Sets the curved interior mesh setting on the model node. If true, the interior domain mesh elements can be curved, to avoid inverted elements.- Parameters:
curvedInterior- Curved interior mesh setting.- Returns:
- Model node.
-
defineAllFrames
boolean defineAllFrames()
Returns true if all frames are always defined.- Returns:
- True if all frames are always defined.
-
defineAllFrames
ModelNode defineAllFrames(boolean define)
Set whether all frames should always be defined.- Parameters:
define- Flag.- Returns:
- Model node.
-
defineLocalCoord
boolean defineLocalCoord()
Returns true if local coordinate variables (xi1, xi2, xi3) will be defined.- Returns:
- True if local coordinates variables exist.
-
defineLocalCoord
ModelNode defineLocalCoord(boolean define)
Set a flag that determines whether local coordinate variables (xi1, xi2, xi3, also known as barycentric coordinates) will be defined in each mesh element.- Parameters:
define- Flag.- Returns:
- Model node.
-
extraDim
ComponentExtraDimList extraDim()
Returns all extra dimension features for this component.- Specified by:
extraDimin interfaceAbstractModel- Returns:
- List of extra dimension features.
-
func
ComponentFunctionFeatureList func()
Returns all functions for this component.- Specified by:
funcin interfaceAbstractModel- Returns:
- List of functions.
-
geom
ComponentGeomList geom()
Returns all geometry sequences for this component.- Specified by:
geomin interfaceAbstractModel- Returns:
- List of geometry sequences.
-
geometricModel
java.lang.String geometricModel()
Get the geometric model used in the component.- Returns:
- The tag of the geometry or meshing sequence that defines the geometric
model of the component. The tag is prefixed with
geom/ormesh/to indicate if it is a geometry or mesh.
-
geometricModel
void geometricModel(java.lang.String sequenceTag)
Specify the geometric model used in the component.- Parameters:
sequenceTag- Tag of the geometry or meshing sequence that should define the geometric model of the component. Use the prefixgeom/ormesh/(e.g."geom/geom1") if the tag only is ambiguous.
-
geometryCoord
java.lang.String[] geometryCoord()
Returns names of geometry frame coordinates.- Returns:
- Names of geometry frame coordinates.
-
geometryCoord
ModelNode geometryCoord(java.lang.String[] coord)
Sets names of geometry frame coordinates.- Parameters:
coord- Geometry frame coordinate names.- Returns:
- Model node.
-
getType
java.lang.String getType()
Get the type identifier of this component.- Returns:
- Type identifier.
-
identifier
@Deprecated java.lang.String identifier()
Deprecated.Returns the node's identifier. @deprecated UseModelEntity.tag()instead.
-
identifier
@Deprecated ModelNode identifier(java.lang.String arg0)
Deprecated.Sets the node's identifier. @deprecated UseModelEntity.tag(String)instead.
-
massProp
ComponentProbeFeatureList massProp()
Returns all mass properties for this component.- Specified by:
massPropin interfaceAbstractModel- Returns:
- List of mass properties.
-
material
ComponentMaterialList material()
Returns all materials for this component.- Specified by:
materialin interfaceAbstractModel- Returns:
- List of materials.
-
materialCoord
java.lang.String[] materialCoord()
Returns names of material frame coordinates.- Returns:
- Names of material frame coordinates.
-
materialCoord
ModelNode materialCoord(java.lang.String[] coord)
Sets names of material frame coordinates.- Parameters:
coord- Material frame coordinate names.- Returns:
- Model node.
-
measure
GeomMeasureFinal measure()
Returns the geometry measurement tool for the geometric model of the component.- Returns:
- Geometry measurement tool.
-
mesh
ComponentMeshList mesh()
Returns all meshing sequences for this component.- Specified by:
meshin interfaceAbstractModel- Returns:
- List of meshing sequences.
-
meshCoord
java.lang.String[] meshCoord()
Returns names of mesh frame coordinates.- Returns:
- Names of mesh frame coordinates.
-
meshCoord
ModelNode meshCoord(java.lang.String[] coord)
Sets names of mesh frame coordinates.- Parameters:
coord- Mesh frame coordinate names.- Returns:
- Model node.
-
multiphysics
ComponentMultiphysicsCouplingList multiphysics()
Returns all multiphysics couplings for this component.- Specified by:
multiphysicsin interfaceAbstractModel- Returns:
- List of multiphysics couplings.
-
pair
ComponentPairList pair()
Returns all pairs for this component.- Specified by:
pairin interfaceAbstractModel- Returns:
- List of pairs.
-
physics
ComponentPhysicsList physics()
Returns all physics interfaces for this component.- Specified by:
physicsin interfaceAbstractModel- Returns:
- List of physics interfaces.
-
probe
ComponentProbeFeatureList probe()
Returns all probes for this component.- Specified by:
probein interfaceAbstractModel- Returns:
- List of probes.
-
selection
ComponentSelectionList selection()
Returns all named selections for this component.- Specified by:
selectionin interfaceAbstractModel- Returns:
- List of named selections.
-
sorder
java.lang.String sorder()
Returns the geometry shape order used for the model node and its descendants.- Returns:
- Geometry shape order.
-
sorder
ModelNode sorder(java.lang.String sorder)
Sets the geometry shape order used for the model node and its descendants.- Parameters:
sorder- Geometry shape order.- Returns:
- Model node.
-
spatialCoord
java.lang.String[] spatialCoord()
Returns names of spatial frame coordinates.- Returns:
- Names of spatial frame coordinates.
-
spatialCoord
ModelNode spatialCoord(java.lang.String[] coord)
Sets names of spatial frame coordinates.- Parameters:
coord- Spatial frame coordinate names.- Returns:
- Model node.
-
variable
ComponentExprList variable()
Returns all variable collections for this component.- Specified by:
variablein interfaceAbstractModel- Returns:
- List of variable collections.
-
view
ComponentViewList view()
Returns all views for this component.- Specified by:
viewin interfaceAbstractModel- Returns:
- List of views.
-
-