public interface Physics extends SelectionEntity, StudyContainer, IPlotAndImageExport, EquationViewParent
Modifier and Type | Method and Description |
---|---|
PhysicsFeature |
create(java.lang.String tag,
java.lang.String feature)
Creates a physics feature.
|
PhysicsFeature |
create(java.lang.String tag,
java.lang.String feature,
int dim)
Creates a physics feature.
|
com.comsol.model.Diagram |
diagram()
Returns the top-level diagram feature container, if any.
|
PhysicsFeatureList |
feature()
Returns the physics features.
|
PhysicsFeature |
feature(java.lang.String tag)
Returns a physics feature.
|
PhysicsFieldList |
field()
Returns list of physics fields.
|
PhysicsField |
field(java.lang.String field)
Returns a physics field.
|
java.lang.String |
geom()
Returns the tag of the geometry which the physics interface lives on.
|
java.lang.String |
getType()
Get the type identification.
|
boolean |
groupBySpaceDimension()
Whether to group nodes by space dimension.
|
java.lang.String |
identifier()
Deprecated.
Use
ModelEntity.tag() instead. |
Physics |
identifier(java.lang.String arg0)
Deprecated.
Use
ModelEntity.tag(String) instead. |
PhysicsPropList |
prop()
Returns the physics properties.
|
PhysicsProp |
prop(java.lang.String propname)
Returns a physics property.
|
void |
setGroupBySpaceDimension(boolean groupBySpaceDimension)
Sets whether to group nodes by space dimension.
|
selection
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
getContainer, getDisplayString
image
featureInfo, featureInfo
PhysicsFeature create(java.lang.String tag, java.lang.String feature)
tag
- The feature tag.feature
- The feature type identifier.PhysicsFeature create(java.lang.String tag, java.lang.String feature, int dim)
tag
- The feature tag.feature
- The feature type identifier.dim
- The geometric entity level to assign the feature to.com.comsol.model.Diagram diagram()
null
if the physics interfaces
doesn't want or doesn't support diagram visualization.PhysicsFeatureList feature()
PhysicsFeature feature(java.lang.String tag)
tag
- The feature tag.PhysicsFieldList field()
PhysicsField field(java.lang.String field)
field
- Field name.java.lang.String geom()
null
for 0D physics interfaces.null
.java.lang.String getType()
boolean groupBySpaceDimension()
@Deprecated java.lang.String identifier()
ModelEntity.tag()
instead.@Deprecated Physics identifier(java.lang.String arg0)
ModelEntity.tag(String)
instead.PhysicsPropList prop()
PhysicsProp prop(java.lang.String propname)
propname
- Property name.void setGroupBySpaceDimension(boolean groupBySpaceDimension)
groupBySpaceDimension
- Whether to group nodes by space dimension.