public interface MaterialModel extends ModelEntity, ParameterContainer, EquationViewParent
Modifier and Type | Method and Description |
---|---|
MaterialModel |
addinput(java.lang.String arg0)
Deprecated.
Use
addInput(String) instead. |
MaterialModel |
addInput(java.lang.String quantity)
Adds a new model input to the material model of the given quantity.
|
java.lang.String |
descr(java.lang.String pname)
Gets the description of the given property.
|
MaterialModel |
descr(java.lang.String pname,
java.lang.String descr)
Sets the description for the given property.
|
FunctionFeatureList |
func()
Returns list of function objects.
|
FunctionFeature |
func(java.lang.String tag)
Returns function object.
|
java.lang.String |
getString(java.lang.String pname)
Returns the string value of the given parameter.
|
java.lang.String[] |
getStringArray(java.lang.String pname)
Returns the string array value of the given parameter.
|
java.lang.String |
getValueType(java.lang.String name)
Returns the main data type which a parameter can return.
|
boolean |
hasParam(java.lang.String pname)
Returns true if the parameter is defined by the material model.
|
java.lang.String |
identifier()
Deprecated.
Use
ModelEntity.tag() instead. |
MaterialModel |
identifier(java.lang.String arg0)
Deprecated.
@link #tag(String).
|
InformationList |
info()
Returns the information objects for the material model.
|
Information |
info(java.lang.String name)
Returns the information object for the material model.
|
java.lang.String[] |
input()
Returns the list of model inputs.
|
MaterialModel |
removeinput(java.lang.String arg0)
Deprecated.
Use
removeInput(String) instead. |
MaterialModel |
removeInput(java.lang.String quantity)
Removes the given quantity from the list of model inputs.
|
MaterialModel |
removeOutput(java.lang.String quantity)
Removes the given output quantity from the list of outputs.
|
MaterialModel |
removeParam(java.lang.String property)
Removes the given local property from the list of local properties.
|
MaterialModel |
set(java.lang.String pname,
double value)
Sets the expression for the given property.
|
MaterialModel |
set(java.lang.String pname,
double[] value)
Sets the expression for the given vector or matrix property.
|
MaterialModel |
set(java.lang.String pname,
int pos,
double value)
Sets the expression at a position for the given vector or matrix
property.
|
MaterialModel |
set(java.lang.String pname,
int pos,
java.lang.String value)
Sets the expression at a position for the given vector or matrix
property.
|
MaterialModel |
set(java.lang.String pname,
java.lang.String value)
Sets the expression for the given property.
|
MaterialModel |
set(java.lang.String pname,
java.lang.String[] value)
Sets the expression for the given vector or matrix property.
|
int[] |
size(java.lang.String pname)
Returns the size of the stored parameter, which usually is 1-by-1,
3-by-1 or 3-by-3, but other sizes are supported.
|
MaterialModel |
size(java.lang.String pname,
int[] size)
Sets the size of the stored parameter.
|
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
param, params
featureInfo, featureInfo
MaterialModel addInput(java.lang.String quantity)
quantity
- Added quantity.@Deprecated MaterialModel addinput(java.lang.String arg0)
addInput(String)
instead.java.lang.String descr(java.lang.String pname)
pname
- Property name.MaterialModel descr(java.lang.String pname, java.lang.String descr)
pname
- Property name.descr
- Description.FunctionFeatureList func()
FunctionFeature func(java.lang.String tag)
tag
- Function object tag.java.lang.String getString(java.lang.String pname)
pname
- Parameter name.java.lang.String[] getStringArray(java.lang.String pname)
pname
- Parameter name.java.lang.String getValueType(java.lang.String name)
name
- Parameter name.boolean hasParam(java.lang.String pname)
hasParam
in interface ParameterContainer
pname
- Parameter name.true
if the material model defines the parameter.@Deprecated java.lang.String identifier()
ModelEntity.tag()
instead.@Deprecated MaterialModel identifier(java.lang.String arg0)
InformationList info()
Information info(java.lang.String name)
name
- Information object tag.java.lang.String[] input()
MaterialModel removeInput(java.lang.String quantity)
quantity
- Removed quantity.MaterialModel removeOutput(java.lang.String quantity)
quantity
- Removed quantity.MaterialModel removeParam(java.lang.String property)
property
- Removed property.@Deprecated MaterialModel removeinput(java.lang.String arg0)
removeInput(String)
instead.MaterialModel set(java.lang.String pname, java.lang.String value)
pname
- Property name.value
- Expression value.MaterialModel set(java.lang.String pname, java.lang.String[] value)
pname
- Property name.value
- Expression value.MaterialModel set(java.lang.String pname, double value)
pname
- Property name.value
- Expression value.MaterialModel set(java.lang.String pname, double[] value)
pname
- Property name.value
- Expression value.MaterialModel set(java.lang.String pname, int pos, java.lang.String value)
pname
- Property name.pos
- Position.value
- Expression value.MaterialModel set(java.lang.String pname, int pos, double value)
pname
- Property name.pos
- Position.value
- Expression value.int[] size(java.lang.String pname)
pname
- Parameter name.MaterialModel size(java.lang.String pname, int[] size)
pname
- Parameter name.size
- Rank vector.