addRowValuesToPETScMatrix Interface

interface
private module subroutine addRowValuesToPETScMatrix(this, petscCont, mult, petscGroup)

Arguments

Type IntentOptional Attributes Name
class(MatrixTerm), intent(in) :: this
type(PETScController), intent(inout) :: petscCont
real(kind=rk), intent(in) :: mult
integer(kind=ik), intent(in), optional :: petscGroup

Description

Add this term's row values to a petsc matrix object in PETSc controller, multiplied by mult. If evolved variable is stationary mult is ignored and set to -1