public interface Physics extends SelectionEntity, StudyContainer
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.
|
FeatureInfoList |
featureInfo()
Returns the variable and system of equation changes.
|
FeatureInfo |
featureInfo(java.lang.String tag)
Returns a variable and system of equation changes object.
|
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.
|
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.
|
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
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.FeatureInfoList featureInfo()
FeatureInfo featureInfo(java.lang.String tag)
tag
- 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()
@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.