Houses TermEvaluator class, a Manipulator that evaluates terms specified my modelIndex,termName tuples
TermEvaluator initialization routine
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(TermEvaluator), | intent(inout) | :: | this | |||
integer(kind=ik), | intent(in) | :: | resultVarIndex |
Index of variable to write the result in |
||
integer(kind=ik), | intent(in), | dimension(:) | :: | modelIndices |
Indices of models whose named term should be evaluated |
|
type(StringArray), | intent(in), | dimension(:) | :: | termNames |
Name of evaluated term corresponding to each model |
Implementation of abstract manipulate routine for the evaluator
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(TermEvaluator), | intent(inout) | :: | this | |||
class(ModellerSurrogate), | intent(inout) | :: | manipulatedModeller |
Modeller to be used in callbacks during manipulation |
||
class(VariableContainer), | intent(inout) | :: | outputVars |
VariableContainer object to store the manipulation output |
||
class(VariableContainer), | intent(in) | :: | inputVars |
VariableContainer object housing input data for the manipulation routine |
Manipulator that evaluates a specific model,term pairs and writes the total result into variable with given index
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
integer(kind=ik), | private | :: | resultVarIndex | ||||
integer(kind=ik), | private, | allocatable, dimension(:) | :: | evaluatedModelIndex | |||
type(StringArray), | private, | allocatable, dimension(:) | :: | evaluatedTermName |
procedure, public :: isDefined => isDefinedObject | |
procedure, public :: makeDefined => makeDefinedObject | |
procedure, public :: makeUndefined => makeUndefinedObject | |
procedure, public :: init => initEvaluator | |
procedure, public :: affect => evaluate |