Package com.comsol.model
Interface AbstractModel
-
- All Superinterfaces:
ModelEntity
,PrimitiveModelEntity
public interface AbstractModel extends ModelEntity
Base model object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description UnitSystem
basesystem()
Deprecated.UsebaseSystem()
instead.AbstractModel
basesystem(java.lang.String arg0)
Deprecated.UsebaseSystem(String)
instead.UnitSystem
baseSystem()
Returns the base unit system.AbstractModel
baseSystem(java.lang.String name)
Sets the base unit system.CommonList
common()
Returns all commmon definitions feature.CommonFeature
common(java.lang.String tag)
Returns a common definitions feature.CoordsysList
coordSystem()
Returns all coordinate systems.Coordsys
coordSystem(java.lang.String tag)
Returns a coordinate system.CplList
cpl()
Returns all component couplings.Cpl
cpl(java.lang.String tag)
Returns a component coupling.ExtraDimList
extraDim()
Returns all extra dimension features.ExtraDimFeature
extraDim(java.lang.String tag)
Returns an extra dimension feature.FunctionFeatureList
func()
Returns all functions.FunctionFeature
func(java.lang.String tag)
Returns a function.GeomList
geom()
Returns all geometry sequences.GeomSequence
geom(java.lang.String tag)
Returns a geometry sequence.boolean
groupByType()
Whether to group nodes by types.ProbeFeatureList
massProp()
Returns all mass properties.ProbeFeature
massProp(java.lang.String tag)
Returns a mass properties.MaterialList
material()
Returns all materials.Material
material(java.lang.String tag)
Returns a material.MeshList
mesh()
Returns all meshing sequences.MeshSequence
mesh(java.lang.String tag)
Returns a meshing sequence.MultiphysicsCouplingList
multiphysics()
Returns all multiphysics couplings.MultiphysicsCoupling
multiphysics(java.lang.String tag)
Returns a multiphysics coupling.PairList
pair()
Returns all pairs.Pair
pair(java.lang.String tag)
Return a pair.PhysicsList
physics()
Returns all physics interfaces.Physics
physics(java.lang.String tag)
Returns a physics interface.ProbeFeatureList
probe()
Returns all probes.ProbeFeature
probe(java.lang.String tag)
Returns a probe.SelectionList
selection()
Returns all named selections.SelectionFeature
selection(java.lang.String tag)
Returns a named selection.void
setGroupByType(boolean groupByType)
Sets whether to group nodes by types.ExprList
variable()
Returns all variable collections.Expr
variable(java.lang.String tag)
Returns a variable collection.ViewList
view()
Returns all views.View
view(java.lang.String tag)
Returns a 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
UnitSystem baseSystem()
Returns the base unit system.- Returns:
- Unit system.
-
baseSystem
AbstractModel baseSystem(java.lang.String name)
Sets the base unit system.- Parameters:
name
- Name of base unit system: :SI
,bft
,cgs
,mpa
,emu
,esu
,fps
,ips
, orpsi
.- Returns:
- Modified model.
-
basesystem
@Deprecated UnitSystem basesystem()
Deprecated.UsebaseSystem()
instead.
-
basesystem
@Deprecated AbstractModel basesystem(java.lang.String arg0)
Deprecated.UsebaseSystem(String)
instead.
-
common
CommonList common()
Returns all commmon definitions feature.- Returns:
- List of common definitions features.
-
common
CommonFeature common(java.lang.String tag)
Returns a common definitions feature.- Parameters:
tag
- Common definitions feature tag.- Returns:
- Common definitions feature.
-
coordSystem
CoordsysList coordSystem()
Returns all coordinate systems.- Returns:
- List of coordinate systems.
-
coordSystem
Coordsys coordSystem(java.lang.String tag)
Returns a coordinate system.- Parameters:
tag
- Coordinate system tag.- Returns:
- Coordinate system.
-
cpl
CplList cpl()
Returns all component couplings.- Returns:
- List of component couplings.
-
cpl
Cpl cpl(java.lang.String tag)
Returns a component coupling.- Parameters:
tag
- Component coupling tag.- Returns:
- Component coupling.
-
extraDim
ExtraDimList extraDim()
Returns all extra dimension features.- Returns:
- List of extra dimension features.
-
extraDim
ExtraDimFeature extraDim(java.lang.String tag)
Returns an extra dimension feature.- Parameters:
tag
- Extra dimension feature tag.- Returns:
- Extra dimension feature.
-
func
FunctionFeatureList func()
Returns all functions.- Returns:
- List of functions.
-
func
FunctionFeature func(java.lang.String tag)
Returns a function.- Parameters:
tag
- Function tag.- Returns:
- Function.
-
geom
GeomList geom()
Returns all geometry sequences.- Returns:
- List of geometry sequences.
-
geom
GeomSequence geom(java.lang.String tag)
Returns a geometry sequence.- Parameters:
tag
- Geometry sequence tag.- Returns:
- Geometry sequence.
-
groupByType
boolean groupByType()
Whether to group nodes by types.- Returns:
- Whether to group nodes by types.
-
massProp
ProbeFeatureList massProp()
Returns all mass properties.- Returns:
- List of mass properties.
-
massProp
ProbeFeature massProp(java.lang.String tag)
Returns a mass properties.- Parameters:
tag
- Mass properties tag.- Returns:
- Mass properties.
-
material
MaterialList material()
Returns all materials.- Returns:
- List of materials.
-
material
Material material(java.lang.String tag)
Returns a material.- Parameters:
tag
- Material tag.- Returns:
- Material.
-
mesh
MeshList mesh()
Returns all meshing sequences.- Returns:
- List of meshing sequences.
-
mesh
MeshSequence mesh(java.lang.String tag)
Returns a meshing sequence.- Parameters:
tag
- Meshing sequence tag.- Returns:
- Meshing sequence.
-
multiphysics
MultiphysicsCouplingList multiphysics()
Returns all multiphysics couplings.- Returns:
- List of multiphysics couplings.
-
multiphysics
MultiphysicsCoupling multiphysics(java.lang.String tag)
Returns a multiphysics coupling.- Parameters:
tag
- multiphysics coupling tag.- Returns:
- Multiphysics coupling.
-
pair
PairList pair()
Returns all pairs.- Returns:
- List of pairs.
-
pair
Pair pair(java.lang.String tag)
Return a pair.- Parameters:
tag
- Pair tag.- Returns:
- Pair.
-
physics
PhysicsList physics()
Returns all physics interfaces.- Returns:
- List of physics interfaces.
-
physics
Physics physics(java.lang.String tag)
Returns a physics interface.- Parameters:
tag
- Physics interface tag.- Returns:
- Physics interface.
-
probe
ProbeFeatureList probe()
Returns all probes.- Returns:
- List of probes.
-
probe
ProbeFeature probe(java.lang.String tag)
Returns a probe.- Parameters:
tag
- Probe tag.- Returns:
- Probe.
-
selection
SelectionList selection()
Returns all named selections.- Returns:
- List of named selections.
-
selection
SelectionFeature selection(java.lang.String tag)
Returns a named selection.- Parameters:
tag
- Named selection tag.- Returns:
- Named selection.
-
setGroupByType
void setGroupByType(boolean groupByType)
Sets whether to group nodes by types.- Parameters:
groupByType
- Whether to group nodes by types.
-
variable
ExprList variable()
Returns all variable collections.- Returns:
- List of variable collections.
-
variable
Expr variable(java.lang.String tag)
Returns a variable collection.- Parameters:
tag
- Variable collection tag.- Returns:
- Variable collection.
-
view
ViewList view()
Returns all views.- Returns:
- List of views.
-
view
View view(java.lang.String tag)
Returns a view.- Parameters:
tag
- View tag.- Returns:
- View.
-
-