initEvaluator Module Subroutine

pure module subroutine initEvaluator(this, resultVarIndex, modelIndices, termNames)

TermEvaluator initialization routine

Arguments

Type IntentOptional 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