Package com.comsol.model
Interface ReducedModel
-
- All Superinterfaces:
ModelEntity
,PrimitiveModelEntity
,PropFeature
,SelectionContainer
,SelectionEntity
public interface ReducedModel extends PropFeature
Reduced model feature.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String[]
getControls()
Deprecated.Controls of the model.java.lang.String[]
getDescriptions(java.lang.String[] arg0)
Deprecated.Descriptions of properties.int
getM(java.lang.String mName)
Returns number of rows in matrix.java.lang.String[]
getMatrices()
Deprecated.Reduced model matrices.int
getN(java.lang.String mName)
Returns number of columns in matrix.int
getNnz(java.lang.String mName)
Get number of non-zeros in sparse matrix.java.lang.String[]
getOutputs()
Deprecated.Outputs of the model.java.lang.String[]
getParameters()
Deprecated.Parameters of the model.int[]
getSparseMatrixCol(java.lang.String mName)
Returns column indices of matrix values.int[]
getSparseMatrixRow(java.lang.String mName)
Returns row indices of matrix values.double[]
getSparseMatrixVal(java.lang.String mName)
Returns matrix values.double[]
getSparseMatrixValImag(java.lang.String mName)
Returns imaginary matrix values.java.lang.String[]
getValues(java.lang.String[] arg0)
Deprecated.Get values of the model.double[]
getVector(java.lang.String mName)
Returns the real vector associated with the matrix type.double[]
getVectorImag(java.lang.String mName)
Get the imaginary part of the vector associated with the matrix type.java.lang.String[]
getVectors()
Deprecated.Reduced model vectors.boolean
isReal(java.lang.String mName)
Check if matrix is real.void
renameControl(java.lang.String arg0, java.lang.String arg1)
Deprecated.Rename the controls of the model.void
renameOutput(java.lang.String arg0, java.lang.String arg1)
Deprecated.Rename the outputs of the model.void
setControl(java.lang.String arg0, java.lang.String arg1)
Deprecated.Set control values of the model.void
setParameter(java.lang.String arg0, java.lang.String arg1)
Deprecated.Set parameter values of the model.-
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
-
Methods inherited from interface com.comsol.model.PropFeature
getAllowedPropertyValues, getBoolean, getBoolean, getBoolean, getBooleanArray, getBooleanMatrix, getDouble, getDouble, getDouble, getDoubleArray, getDoubleMatrix, getEntryKeyIndex, getEntryKeys, getInt, getInt, getInt, getIntArray, getIntMatrix, getReferenceArray, getString, getString, getString, getString, getStringArray, getStringMatrix, getType, getValueType, hasProperty, hasSelection, move, move, properties, remove, remove, selection, set, set, set, set, set, set, set, set, set, set, set, set, setEntry, setEntry, setEntry, setEntry, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex
-
Methods inherited from interface com.comsol.model.SelectionEntity
selection
-
-
-
-
Method Detail
-
getControls
@Deprecated java.lang.String[] getControls()
Deprecated.Controls of the model.
-
getDescriptions
@Deprecated java.lang.String[] getDescriptions(java.lang.String[] arg0)
Deprecated.Descriptions of properties.
-
getM
int getM(java.lang.String mName)
Returns number of rows in matrix.- Parameters:
mName
- Matrix name.- Returns:
- Number of rows.
-
getMatrices
@Deprecated java.lang.String[] getMatrices()
Deprecated.Reduced model matrices.
-
getN
int getN(java.lang.String mName)
Returns number of columns in matrix.- Parameters:
mName
- Matrix name.- Returns:
- Number of columns.
-
getNnz
int getNnz(java.lang.String mName)
Get number of non-zeros in sparse matrix.- Parameters:
mName
- Matrix name.- Returns:
- Number of non-zeros.
-
getOutputs
@Deprecated java.lang.String[] getOutputs()
Deprecated.Outputs of the model.
-
getParameters
@Deprecated java.lang.String[] getParameters()
Deprecated.Parameters of the model.
-
getSparseMatrixCol
int[] getSparseMatrixCol(java.lang.String mName)
Returns column indices of matrix values.- Parameters:
mName
- Matrix name.- Returns:
- Column indices.
-
getSparseMatrixRow
int[] getSparseMatrixRow(java.lang.String mName)
Returns row indices of matrix values.- Parameters:
mName
- Matrix name.- Returns:
- Row indices.
-
getSparseMatrixVal
double[] getSparseMatrixVal(java.lang.String mName)
Returns matrix values.- Parameters:
mName
- Matrix name.- Returns:
- Matrix values.
-
getSparseMatrixValImag
double[] getSparseMatrixValImag(java.lang.String mName)
Returns imaginary matrix values.- Parameters:
mName
- Matrix name.- Returns:
- Matrix values representing imaginary part.
-
getValues
@Deprecated java.lang.String[] getValues(java.lang.String[] arg0)
Deprecated.Get values of the model.
-
getVector
double[] getVector(java.lang.String mName)
Returns the real vector associated with the matrix type.- Parameters:
mName
- Matrix name.- Returns:
- Vector representing real part.
-
getVectorImag
double[] getVectorImag(java.lang.String mName)
Get the imaginary part of the vector associated with the matrix type.- Parameters:
mName
- Matrix name.- Returns:
- Vector representing imaginary part.
-
getVectors
@Deprecated java.lang.String[] getVectors()
Deprecated.Reduced model vectors.
-
isReal
boolean isReal(java.lang.String mName)
Check if matrix is real.- Parameters:
mName
- Matrix name.- Returns:
true
if matrix is real.
-
renameControl
@Deprecated void renameControl(java.lang.String arg0, java.lang.String arg1)
Deprecated.Rename the controls of the model.
-
renameOutput
@Deprecated void renameOutput(java.lang.String arg0, java.lang.String arg1)
Deprecated.Rename the outputs of the model.
-
setControl
@Deprecated void setControl(java.lang.String arg0, java.lang.String arg1)
Deprecated.Set control values of the model.
-
setParameter
@Deprecated void setParameter(java.lang.String arg0, java.lang.String arg1)
Deprecated.Set parameter values of the model.
-
-