addModelMatGroupToPETSc Module Subroutine

module subroutine addModelMatGroupToPETSc(this, modelIndex, groupIndex, mult, petscGroup)

Send off matrix values of given term group and model to the PETSc controller, multiplied by mult

Arguments

Type IntentOptional Attributes Name
class(Modeller), intent(inout) :: this
integer(kind=ik), intent(in) :: modelIndex
integer(kind=ik), intent(in) :: groupIndex
real(kind=rk), intent(in) :: mult
integer(kind=ik), intent(in), optional :: petscGroup