addMatGroupValsToPETSc Interface

interface
private module subroutine addMatGroupValsToPETSc(this, groupIndex, petscCont, mult, petscGroup)

Arguments

Type IntentOptional Attributes Name
class(Model), intent(in) :: this
integer(kind=ik), intent(in) :: groupIndex

Group index of terms whose matrices should be sent to PETSc

type(PETScController), intent(inout) :: petscCont

PETScController object housing PETSc matrices

real(kind=rk), intent(in) :: mult

Multiplier used when adding matrices to PETSc - usually -dt

integer(kind=ik), intent(in), optional :: petscGroup

Description

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