updateGeneralTerm Module Subroutine

module subroutine updateGeneralTerm(this, varCont, indexingData, modelData, hostModel)

Update general matrix term if using any modelbound data, updating stencil values, evaluating other terms, or if there is any explicit time dependence

Arguments

Type IntentOptional Attributes Name
class(GeneralMatrixTerm), intent(inout) :: this
type(VariableContainer), intent(in) :: varCont

Variable container - used to update stencil values and signal

type(MatrixTermIndexingData), intent(in) :: indexingData
class(ModelboundData), intent(in), optional :: modelData

Model data used to retrieve modelbound variable

class(ModelSurrogate), intent(in), optional :: hostModel

Host model - used to evaluate term group