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

Public Member Functions

def __init__ (self)
 
def AbsoluteToleranceSet (self, absoluteTolerance)
 
def ControlLoopGet (self, controlLoopIdentifiers)
 
def CurrentTimesGet (self)
 
def Destroy (self)
 
def Finalise (self)
 
def IterationsSet (self, startIteration, stopIteration, iterationIncrement)
 
def LabelGet (self)
 
def LabelSet (self, label)
 
def LoadOutputSet (self, outputFrequency)
 
def MaximumIterationsSet (self, maximumIterations)
 
def NumberOfIterationsGet (self)
 
def NumberOfIterationsSet (self, numberOfIterations)
 
def NumberOfSubLoopsGet (self)
 
def NumberOfSubLoopsSet (self, numberOfSubLoops)
 
def OutputTypeGet (self)
 
def OutputTypeSet (self, outputType)
 
def TimeInputSet (self, inputOption)
 
def TimeOutputSet (self, outputFrequency)
 
def TimesGet (self)
 
def TimesSet (self, startTime, stopTime, timeIncrement)
 
def TypeSet (self, loopType)
 

Public Attributes

 cmiss_type
 

Properties

 numberOfIterations = property(NumberOfIterationsGet, NumberOfIterationsSet, None, )
 
 absoluteTolerance = property(None, AbsoluteToleranceSet, None, )
 
 timeOutput = property(None, TimeOutputSet, None, )
 
 timeInput = property(None, TimeInputSet, None, )
 
 outputType = property(OutputTypeGet, OutputTypeSet, None, )
 
 label = property(LabelGet, LabelSet, None, )
 
 loadOutput = property(None, LoadOutputSet, None, )
 
 numberOfSubLoops = property(NumberOfSubLoopsGet, NumberOfSubLoopsSet, None, )
 
 type = property(None, TypeSet, None, )
 
 maximumIterations = property(None, MaximumIterationsSet, None, )
 

Detailed Description

Contains information on a control loop.

Definition at line 872 of file iron.py.

Constructor & Destructor Documentation

def iron.ControlLoop.__init__ (   self)
Initialise a null cmfe_ControlLoopType

Definition at line 876 of file iron.py.

Member Function Documentation

def iron.ControlLoop.AbsoluteToleranceSet (   self,
  absoluteTolerance 
)
Sets/changes the maximum iterations for a while control loop identified by an object.

:param absoluteTolerance: The absolute tolerance value for a control loop.
:type absoluteTolerance: float
:rtype: None

Definition at line 881 of file iron.py.

def iron.ControlLoop.ControlLoopGet (   self,
  controlLoopIdentifiers 
)
Returns the specified control loop as indexed by the control loop identifiers from the control loop root.

:param controlLoopIdentifiers: The control loop identifiers.
:type controlLoopIdentifiers: Array of ints
:returns: controlLoop. The specified control loop.
:rtype: ControlLoop

Definition at line 892 of file iron.py.

def iron.ControlLoop.CurrentTimesGet (   self)
Gets the current time parameters for a time control loop identified by an object.

:returns: (The current time of the time control loop, The current time increment of the time control loop)
:rtype: tuple. (float, float)

Definition at line 904 of file iron.py.

def iron.ControlLoop.Destroy (   self)
Destroys a control loop identified by an object.

:rtype: None

Definition at line 914 of file iron.py.

def iron.ControlLoop.Finalise (   self)
Finalises a cmfe_ControlLoopType object.

:rtype: None

Definition at line 923 of file iron.py.

def iron.ControlLoop.IterationsSet (   self,
  startIteration,
  stopIteration,
  iterationIncrement 
)
Sets/changes the iteration parameters for a fixed control loop identified by an object.

:param startIteration: The start iteration of the fixed control loop to set.
:type startIteration: int
:param stopIteration: The stop iteration of the fixed control loop to set.
:type stopIteration: int
:param iterationIncrement: The iteration increment of the fixed control loop to set.
:type iterationIncrement: int
:rtype: None

Definition at line 932 of file iron.py.

def iron.ControlLoop.LabelGet (   self)
Returns the character string label for a control loop identified by an object.

:returns: label. The region label.
:rtype: string

Definition at line 947 of file iron.py.

def iron.ControlLoop.LabelSet (   self,
  label 
)
Sets/changes the character string label for a control loop identified by an object.

:param label: The control loop label to set.
:type label: string
:rtype: None

Definition at line 957 of file iron.py.

def iron.ControlLoop.LoadOutputSet (   self,
  outputFrequency 
)
Sets/changes the output parameters for a load control loop identified by an object.

:param outputFrequency: The output frequency modulo to set.
:type outputFrequency: int
:rtype: None

Definition at line 968 of file iron.py.

def iron.ControlLoop.MaximumIterationsSet (   self,
  maximumIterations 
)
Sets/changes the maximum iterations for a while control loop identified by an object.

:param maximumIterations: The maximum iterations of the while control loop to set.
:type maximumIterations: int
:rtype: None

Definition at line 979 of file iron.py.

def iron.ControlLoop.NumberOfIterationsGet (   self)
Gets the number of iterations for a time control loop identified by an object.

:returns: numberOfIterations. The number of iterations
:rtype: int

Definition at line 990 of file iron.py.

def iron.ControlLoop.NumberOfIterationsSet (   self,
  numberOfIterations 
)
Sets the number of iterations for a time control loop identified by an object.

:param numberOfIterations: The number of iterations to set
:type numberOfIterations: int
:rtype: None

Definition at line 1000 of file iron.py.

def iron.ControlLoop.NumberOfSubLoopsGet (   self)
Returns the number of sub-control loops for a control loop identified by an object.

:returns: numberOfSubLoops. The number of sub loops for the specified control loop.
:rtype: int

Definition at line 1011 of file iron.py.

def iron.ControlLoop.NumberOfSubLoopsSet (   self,
  numberOfSubLoops 
)
Sets/changes the number of sub-control loops for a control loop identified by an object. \todo is this really public???

:param numberOfSubLoops: The number of sub loops for the specified control loop.
:type numberOfSubLoops: int
:rtype: None

Definition at line 1021 of file iron.py.

def iron.ControlLoop.OutputTypeGet (   self)
Returns the output type for a control loop identified by an object.

:returns: outputType. The output type of the control loop. Will be a value from the ControlLoopOutputTypes enum.
:rtype: int

Definition at line 1032 of file iron.py.

def iron.ControlLoop.OutputTypeSet (   self,
  outputType 
)
Sets the output type for a control loop identified by an object.

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

Definition at line 1042 of file iron.py.

def iron.ControlLoop.TimeInputSet (   self,
  inputOption 
)
Sets/changes the input parameters for a time control loop identified by an object.

:param inputOption: The output frequency modulo to set.
:type inputOption: int
:rtype: None

Definition at line 1053 of file iron.py.

def iron.ControlLoop.TimeOutputSet (   self,
  outputFrequency 
)
Sets/changes the output parameters for a time control loop identified by an object.

:param outputFrequency: The output frequency modulo to set.
:type outputFrequency: int
:rtype: None

Definition at line 1064 of file iron.py.

def iron.ControlLoop.TimesGet (   self)
Returns the time parameters for a time control loop identified by an object.

:returns: (The start time for the time control loop, The stop time for the time control loop, The time increment for the time control loop, The current time for the time control loop, The iteration number for the current loop, The iteration number for the time control loop)
:rtype: tuple. (float, float, float, float, int, int)

Definition at line 1075 of file iron.py.

def iron.ControlLoop.TimesSet (   self,
  startTime,
  stopTime,
  timeIncrement 
)
Sets/changes the time parameters for a time control loop identified by an object.

:param startTime: The start time for the time control loop to set.
:type startTime: float
:param stopTime: The stop time for the time control loop to set.
:type stopTime: float
:param timeIncrement: The time increment for the time control loop to set.
:type timeIncrement: float
:rtype: None

Definition at line 1085 of file iron.py.

def iron.ControlLoop.TypeSet (   self,
  loopType 
)
Sets/changes the loop type for a control loop identified by an object. \todo is this really public???

:param loopType: The type of control loop to set. Must be a value from the ProblemControlLoopTypes enum.
:type loopType: int
:rtype: None

Definition at line 1100 of file iron.py.

Member Data Documentation

iron.ControlLoop.cmiss_type

Definition at line 879 of file iron.py.

Property Documentation

iron.ControlLoop.absoluteTolerance = property(None, AbsoluteToleranceSet, None, )
static

Definition at line 1113 of file iron.py.

iron.ControlLoop.label = property(LabelGet, LabelSet, None, )
static

Definition at line 1121 of file iron.py.

iron.ControlLoop.loadOutput = property(None, LoadOutputSet, None, )
static

Definition at line 1123 of file iron.py.

iron.ControlLoop.maximumIterations = property(None, MaximumIterationsSet, None, )
static

Definition at line 1129 of file iron.py.

iron.ControlLoop.numberOfIterations = property(NumberOfIterationsGet, NumberOfIterationsSet, None, )
static

Definition at line 1111 of file iron.py.

iron.ControlLoop.numberOfSubLoops = property(NumberOfSubLoopsGet, NumberOfSubLoopsSet, None, )
static

Definition at line 1125 of file iron.py.

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

Definition at line 1119 of file iron.py.

iron.ControlLoop.timeInput = property(None, TimeInputSet, None, )
static

Definition at line 1117 of file iron.py.

iron.ControlLoop.timeOutput = property(None, TimeOutputSet, None, )
static

Definition at line 1115 of file iron.py.

iron.ControlLoop.type = property(None, TypeSet, None, )
static

Definition at line 1127 of file iron.py.