OpenCMISS-Iron Python Bindings API Documentation
|
Public Member Functions | |
def | __init__ (self) |
def | AddConstant (self, field, variableType, componentNumber, condition, value) |
def | AddElement (self, field, variableType, elementUserNumber, componentNumber, condition, value) |
def | AddNode (self, field, variableType, versionNumber, derivativeNumber, nodeUserNumber, componentNumber, condition, value) |
def | ConstrainNodeDofsEqual (self, field, fieldVariableType, versionNumber, derivativeNumber, component, nodes, coefficient) |
def | Destroy (self) |
def | Finalise (self) |
def | NeumannSparsityTypeSet (self, sparsityType) |
def | SetConstant (self, field, variableType, componentNumber, condition, value) |
def | SetElement (self, field, variableType, elementUserNumber, componentNumber, condition, value) |
def | SetNode (self, field, variableType, versionNumber, derivativeNumber, nodeUserNumber, componentNumber, condition, value) |
Public Attributes | |
cmiss_type | |
Properties | |
neumannSparsityType = property(None, NeumannSparsityTypeSet, None, ) | |
Contains information on the boundary conditions for the equations set.
def iron.BoundaryConditions.__init__ | ( | self | ) |
def iron.BoundaryConditions.AddConstant | ( | self, | |
field, | |||
variableType, | |||
componentNumber, | |||
condition, | |||
value | |||
) |
Adds to the value of the specified constant and sets this as a boundary condition on the specified constant for boundary conditions identified by an object. :param field: The dependent field to set the boundary condition on. :type field: Field :param variableType: The variable type of the dependent field to set the boundary condition at. Must be a value from the FieldVariableTypes enum. :type variableType: int :param componentNumber: The component number of the dependent field to set the boundary condition at. :type componentNumber: int :param condition: The boundary condition type to set. Must be a value from the BoundaryConditionsTypes enum. :type condition: int :param value: The value of the boundary condition to add. :type value: float :rtype: None
def iron.BoundaryConditions.AddElement | ( | self, | |
field, | |||
variableType, | |||
elementUserNumber, | |||
componentNumber, | |||
condition, | |||
value | |||
) |
Adds to the value of the specified element and sets this as a boundary condition on the specified element for boundary conditions identified by an object. :param field: The dependent field to set the boundary condition on. :type field: Field :param variableType: The variable type of the dependent field to add the boundary condition at. Must be a value from the FieldVariableTypes enum. :type variableType: int :param elementUserNumber: The user number of the element to add the boundary conditions for. :type elementUserNumber: int :param componentNumber: The component number of the dependent field to set the boundary condition at. :type componentNumber: int :param condition: The boundary condition type to set. Must be a value from the BoundaryConditionsTypes enum. :type condition: int :param value: The value of the boundary condition to add. :type value: float :rtype: None
def iron.BoundaryConditions.AddNode | ( | self, | |
field, | |||
variableType, | |||
versionNumber, | |||
derivativeNumber, | |||
nodeUserNumber, | |||
componentNumber, | |||
condition, | |||
value | |||
) |
Adds to the value of the specified node and sets this as a boundary condition on the specified node for boundary conditions identified by an object. :param field: The dependent field to set the boundary condition on. :type field: Field :param variableType: The variable type of the dependent field to add the boundary condition at. Must be a value from the FieldVariableTypes enum. :type variableType: int :param versionNumber: The user number of the node derivative version to add the boundary conditions for. :type versionNumber: int :param derivativeNumber: The user number of the node derivative to add the boundary conditions for. :type derivativeNumber: int :param nodeUserNumber: The user number of the node to add the boundary conditions for. :type nodeUserNumber: int :param componentNumber: The component number of the dependent field to set the boundary condition at. :type componentNumber: int :param condition: The boundary condition type to set. Must be a value from the BoundaryConditionsTypes enum. :type condition: int :param value: The value of the boundary condition to add. :type value: float :rtype: None
def iron.BoundaryConditions.ConstrainNodeDofsEqual | ( | self, | |
field, | |||
fieldVariableType, | |||
versionNumber, | |||
derivativeNumber, | |||
component, | |||
nodes, | |||
coefficient | |||
) |
Constrain multiple nodal equations dependent field DOFs to be a single solver DOF in the solver equations :param field: The equations dependent field containing the field DOFs to be constrained. :type field: Field :param fieldVariableType: The field variable type of the DOFs to be constrained. Must be a value from the FieldVariableTypes enum. :type fieldVariableType: int :param versionNumber: The derivative version number. :type versionNumber: int :param derivativeNumber: The derivative number. :type derivativeNumber: int :param component: The field component number of the DOFs to be constrained. :type component: int :param nodes: The user numbers of the nodes to be constrained to be equal. :type nodes: Array of ints :param coefficient: The coefficient of constraint, applied to all but the first node. :type coefficient: float :rtype: None
def iron.BoundaryConditions.Destroy | ( | self | ) |
def iron.BoundaryConditions.Finalise | ( | self | ) |
def iron.BoundaryConditions.NeumannSparsityTypeSet | ( | self, | |
sparsityType | |||
) |
def iron.BoundaryConditions.SetConstant | ( | self, | |
field, | |||
variableType, | |||
componentNumber, | |||
condition, | |||
value | |||
) |
Sets the value of the specified constant and sets this as a boundary condition on the specified constant for boundary conditions identified by an object. :param field: The dependent field to set the boundary condition on. :type field: Field :param variableType: The variable type of the dependent field to set the boundary condition at. Must be a value from the FieldVariableTypes enum. :type variableType: int :param componentNumber: The component number of the dependent field to set the boundary condition at. :type componentNumber: int :param condition: The boundary condition type to set. Must be a value from the BoundaryConditionsTypes enum. :type condition: int :param value: The value of the boundary condition to set. :type value: float :rtype: None
def iron.BoundaryConditions.SetElement | ( | self, | |
field, | |||
variableType, | |||
elementUserNumber, | |||
componentNumber, | |||
condition, | |||
value | |||
) |
Sets the value of the specified element and sets this as a boundary condition on the specified elements for boundary conditions identified by an object. :param field: The dependent field to set the boundary condition on. :type field: Field :param variableType: The variable type of the dependent field to set the boundary condition at. Must be a value from the FieldVariableTypes enum. :type variableType: int :param elementUserNumber: The user number of the element to set the boundary conditions for. :type elementUserNumber: int :param componentNumber: The component number of the dependent field to set the boundary condition at. :type componentNumber: int :param condition: The boundary condition type to set. Must be a value from the BoundaryConditionsTypes enum. :type condition: int :param value: The value of the boundary condition to set. :type value: float :rtype: None
def iron.BoundaryConditions.SetNode | ( | self, | |
field, | |||
variableType, | |||
versionNumber, | |||
derivativeNumber, | |||
nodeUserNumber, | |||
componentNumber, | |||
condition, | |||
value | |||
) |
Sets the value of the specified node and sets this as a boundary condition on the specified node for boundary conditions identified by an object. :param field: The dependent field to set the boundary condition on. :type field: Field :param variableType: The variable type of the dependent field to set the boundary condition at. Must be a value from the FieldVariableTypes enum. :type variableType: int :param versionNumber: The user number of the node derivative version to set the boundary conditions for. :type versionNumber: int :param derivativeNumber: The user number of the node derivative to set the boundary conditions for. :type derivativeNumber: int :param nodeUserNumber: The user number of the node to set the boundary conditions for. :type nodeUserNumber: int :param componentNumber: The component number of the dependent field to set the boundary condition at. :type componentNumber: int :param condition: The boundary condition type to set. Must be a value from the BoundaryConditionsTypes enum. :type condition: int :param value: The value of the boundary condition to set. :type value: float :rtype: None
|
static |