OpenCMISS-Iron Python Bindings API Documentation
iron.Equations Class Reference
Inheritance diagram for iron.Equations:
Collaboration diagram for iron.Equations:

Public Member Functions

def __init__ (self)
 
def Destroy (self)
 
def DynamicMatrixGet (self, matrixIndex, matrix)
 
def DynamicMatrixGetByType (self, matrixType, matrix)
 
def DynamicMatrixTypeGet (self, matrixIndex)
 
def Finalise (self)
 
def JacobianMatricesTypesSet (self, jacobianTypes)
 
def JacobianMatrixGet (self, residualIndex, variableType, matrix)
 
def LinearMatrixGet (self, matrixIndex, matrix)
 
def LinearityTypeGet (self)
 
def LumpingTypeGet (self)
 
def LumpingTypeSet (self, lumpingType)
 
def NumberOfDynamicMatricesGet (self)
 
def NumberOfJacobianMatricesGet (self)
 
def NumberOfLinearMatricesGet (self)
 
def OutputTypeGet (self)
 
def OutputTypeSet (self, outputType)
 
def ResidualNumberOfVariablesGet (self, residualIndex)
 
def ResidualVariablesGet (self, residualIndex, residualVariablesSize)
 
def ResidualVectorGet (self, residualIndex, residualVector)
 
def RhsVectorGet (self, rhsVector)
 
def SourceVectorGet (self, sourceVector)
 
def SparsityTypeGet (self)
 
def SparsityTypeSet (self, sparsityType)
 
def TimeDependenceTypeGet (self)
 

Public Attributes

 cmiss_type
 

Properties

 rhsVector = property(RhsVectorGet, None, None, )
 
 timeDependenceType = property(TimeDependenceTypeGet, None, None, )
 
 sourceVector = property(SourceVectorGet, None, None, )
 
 outputType = property(OutputTypeGet, OutputTypeSet, None, )
 
 sparsityType = property(SparsityTypeGet, SparsityTypeSet, None, )
 
 linearityType = property(LinearityTypeGet, None, None, )
 
 jacobianMatricesTypes = property(None, JacobianMatricesTypesSet, None, )
 
 numberOfJacobianMatrices = property(NumberOfJacobianMatricesGet, None, None, )
 
 numberOfDynamicMatrices = property(NumberOfDynamicMatricesGet, None, None, )
 
 lumpingType = property(LumpingTypeGet, LumpingTypeSet, None, )
 
 numberOfLinearMatrices = property(NumberOfLinearMatricesGet, None, None, )
 

Detailed Description

Contains information about the equations in an equations set.

Definition at line 2814 of file iron.py.

Constructor & Destructor Documentation

def iron.Equations.__init__ (   self)
Initialise a null cmfe_EquationsType

Definition at line 2818 of file iron.py.

Member Function Documentation

def iron.Equations.Destroy (   self)
Destroy equations for equations identified by an object.

:rtype: None

Definition at line 2823 of file iron.py.

def iron.Equations.DynamicMatrixGet (   self,
  matrixIndex,
  matrix 
)
Get a dynamic equations matrix from equations using the dynamic matrix index

:param matrixIndex: The number of the dynamic matrix to get
:type matrixIndex: int
:param matrix: On return, the requested dynamic matrix
:type matrix: DistributedMatrix
:rtype: None

Definition at line 2832 of file iron.py.

def iron.Equations.DynamicMatrixGetByType (   self,
  matrixType,
  matrix 
)
Get a dynamic equations matrix from equations using the dynamic matrix type

:param matrixType: The type of the dynamic matrix to get. Must be a value from the EquationsSetDynamicMatrixTypes enum.
:type matrixType: int
:param matrix: On return, the requested dynamic matrix
:type matrix: DistributedMatrix
:rtype: None

Definition at line 2845 of file iron.py.

def iron.Equations.DynamicMatrixTypeGet (   self,
  matrixIndex 
)
Get the type of a dynamic matrix from equations set equations

:param matrixIndex: The number of the dynamic matrix to get the type of
:type matrixIndex: int
:returns: matrixType. The dynamic matrix type. Will be a value from the EquationsSetDynamicMatrixTypes enum.
:rtype: int

Definition at line 2858 of file iron.py.

def iron.Equations.Finalise (   self)
Finalises a cmfe_EquationsType object.

:rtype: None

Definition at line 2870 of file iron.py.

def iron.Equations.JacobianMatricesTypesSet (   self,
  jacobianTypes 
)
Setting Jacobian matrix evaluation type

:param jacobianTypes: The type of Jacobian evaluation. Must be a value from the EquationsJacobianCalculated enum.
:type jacobianTypes: int
:rtype: None

Definition at line 2879 of file iron.py.

def iron.Equations.JacobianMatrixGet (   self,
  residualIndex,
  variableType,
  matrix 
)
Get a Jacobian matrix from the equations

:param residualIndex: The index of the residual vector to get the Jacobian matrix for
:type residualIndex: int
:param variableType: The field variable type that the residual is differentiated with respect to for this Jacobian. Must be a value from the FieldVariableTypes enum.
:type variableType: int
:param matrix: On return, the requested Jacobian matrix
:type matrix: DistributedMatrix
:rtype: None

Definition at line 2890 of file iron.py.

def iron.Equations.LinearityTypeGet (   self)
Gets the linearity type for equations identified by an object.

:returns: linearityType. The linearity type of the equations. Will be a value from the EquationsLinearityTypes enum.
:rtype: int

Definition at line 2918 of file iron.py.

def iron.Equations.LinearMatrixGet (   self,
  matrixIndex,
  matrix 
)
Get a linear equations matrix from the equations

:param matrixIndex: The number of the linear matrix to get
:type matrixIndex: int
:param matrix: On return, the requested linear matrix
:type matrix: DistributedMatrix
:rtype: None

Definition at line 2905 of file iron.py.

def iron.Equations.LumpingTypeGet (   self)
Gets the lumping type for equations identified by an object.

:returns: lumpingType. The lumping type of the equations. Will be a value from the EquationsLumpingTypes enum.
:rtype: int

Definition at line 2928 of file iron.py.

def iron.Equations.LumpingTypeSet (   self,
  lumpingType 
)
Sets/changes the lumping type for equations identified by an object.

:param lumpingType: The lumping type of the equations to set. Must be a value from the EquationsLumpingTypes enum.
:type lumpingType: int
:rtype: None

Definition at line 2938 of file iron.py.

def iron.Equations.NumberOfDynamicMatricesGet (   self)
Get the number of dynamic matrices in the equations

:returns: numberOfMatrices. The number of dynamic matrices
:rtype: int

Definition at line 2949 of file iron.py.

def iron.Equations.NumberOfJacobianMatricesGet (   self)
Get the number of Jacobian matrices in the equations

:returns: numberOfMatrices. The number of Jacobian matrices
:rtype: int

Definition at line 2959 of file iron.py.

def iron.Equations.NumberOfLinearMatricesGet (   self)
Get the number of linear matrices in the equations

:returns: numberOfMatrices. The number of linear matrices
:rtype: int

Definition at line 2969 of file iron.py.

def iron.Equations.OutputTypeGet (   self)
Gets the output type for equations identified by an object.

:returns: outputType. The output type of the equations. Will be a value from the EquationsOutputTypes enum.
:rtype: int

Definition at line 2979 of file iron.py.

def iron.Equations.OutputTypeSet (   self,
  outputType 
)
Sets/changes the output type for equations identified by an object.

:param outputType: The output type of the equations to set. Must be a value from the EquationsOutputTypes enum.
:type outputType: int
:rtype: None

Definition at line 2989 of file iron.py.

def iron.Equations.ResidualNumberOfVariablesGet (   self,
  residualIndex 
)
Get the number of field variables that contribute to the residual vector

:param residualIndex: The index of the residual vector to get the number of variables for
:type residualIndex: int
:returns: numberOfVariables. The number of variables that contribute to the residual vector
:rtype: int

Definition at line 3000 of file iron.py.

def iron.Equations.ResidualVariablesGet (   self,
  residualIndex,
  residualVariablesSize 
)
Get the field variables that contribute to the residual vector

:param residualIndex: The index of the residual vector to get the variables for
:type residualIndex: int
:param residualVariablesSize: Size of residualVariables to allocate.
:returns: residualVariables. residualVariables(varIdx). On return, the field variable type for the varIdx'th residual variable. Will be a value from the FieldVariableTypes enum.
:rtype: Array of ints

Definition at line 3012 of file iron.py.

def iron.Equations.ResidualVectorGet (   self,
  residualIndex,
  residualVector 
)
Get a residual vector for equations

:param residualIndex: The index of the residual vector to get
:type residualIndex: int
:param residualVector: On return, the residual vector for the equations
:type residualVector: DistributedVector
:rtype: None

Definition at line 3025 of file iron.py.

def iron.Equations.RhsVectorGet (   self,
  rhsVector 
)
Get the right hand side vector for equations

:param rhsVector: On return, the right hand side vector for the equations
:type rhsVector: DistributedVector
:rtype: None

Definition at line 3038 of file iron.py.

def iron.Equations.SourceVectorGet (   self,
  sourceVector 
)
Get the source vector for equations

:param sourceVector: On return, the source vector for the equations
:type sourceVector: DistributedVector
:rtype: None

Definition at line 3049 of file iron.py.

def iron.Equations.SparsityTypeGet (   self)
Gets the sparsity type for equations identified by an object.

:returns: sparsityType. The sparsity type of the equations. Will be a value from the EquationsSparsityTypes enum.
:rtype: int

Definition at line 3060 of file iron.py.

def iron.Equations.SparsityTypeSet (   self,
  sparsityType 
)
Sets/changes the sparsity type for equations identified by an object.

:param sparsityType: The sparsity type of the equations to set. Must be a value from the EquationsSparsityTypes enum.
:type sparsityType: int
:rtype: None

Definition at line 3070 of file iron.py.

def iron.Equations.TimeDependenceTypeGet (   self)
Gets the time dependence type for equations identified by an object.

:returns: timeDependenceType. The time dependence type of the equations. Will be a value from the EquationsTimeDependenceTypes enum.
:rtype: int

Definition at line 3081 of file iron.py.

Member Data Documentation

iron.Equations.cmiss_type

Definition at line 2821 of file iron.py.

Property Documentation

iron.Equations.jacobianMatricesTypes = property(None, JacobianMatricesTypesSet, None, )
static

Definition at line 3103 of file iron.py.

iron.Equations.linearityType = property(LinearityTypeGet, None, None, )
static

Definition at line 3101 of file iron.py.

iron.Equations.lumpingType = property(LumpingTypeGet, LumpingTypeSet, None, )
static

Definition at line 3109 of file iron.py.

iron.Equations.numberOfDynamicMatrices = property(NumberOfDynamicMatricesGet, None, None, )
static

Definition at line 3107 of file iron.py.

iron.Equations.numberOfJacobianMatrices = property(NumberOfJacobianMatricesGet, None, None, )
static

Definition at line 3105 of file iron.py.

iron.Equations.numberOfLinearMatrices = property(NumberOfLinearMatricesGet, None, None, )
static

Definition at line 3111 of file iron.py.

iron.Equations.outputType = property(OutputTypeGet, OutputTypeSet, None, )
static

Definition at line 3097 of file iron.py.

iron.Equations.rhsVector = property(RhsVectorGet, None, None, )
static

Definition at line 3091 of file iron.py.

iron.Equations.sourceVector = property(SourceVectorGet, None, None, )
static

Definition at line 3095 of file iron.py.

iron.Equations.sparsityType = property(SparsityTypeGet, SparsityTypeSet, None, )
static

Definition at line 3099 of file iron.py.

iron.Equations.timeDependenceType = property(TimeDependenceTypeGet, None, None, )
static

Definition at line 3093 of file iron.py.