evaluateMatTerm Module Function

pure module function evaluateMatTerm(this, varCont) result(res)

Get explicit value for the term by crudely dotting each sparse row with the locally stored implicit variable vector in varCont

Arguments

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

Return Value real(kind=rk), allocatable, dimension(:)