initDerivationTerm Module Subroutine

module subroutine initDerivationTerm(this, gridObj, partitionObj, procRank, evolvedVar, varCont, derivObj, derivIndices, mbVarName)

Explicit derivation term initialization routine

Arguments

Type IntentOptional Attributes Name
class(DerivationTerm), intent(inout) :: this
type(Grid), intent(in) :: gridObj
type(Partition), intent(in) :: partitionObj

Parition object used to determine local number of DoF

integer(kind=ik), intent(in) :: procRank

Current processor rank

character(len=*), intent(in) :: evolvedVar

Name of evolved variable

type(VariableContainer), intent(in) :: varCont

Reference variable container

class(Derivation), intent(in) :: derivObj

Derivation object used by the term

integer(kind=ik), intent(in), dimension(:) :: derivIndices

Required variable indices for the derivation object

character(len=*), intent(in), optional :: mbVarName

Optional modelbound variable with which to multiply the derivation result