assemble Module Subroutine

module subroutine assemble(this, withIdentityMat)

Assemble all of the matrix terms, preallocate PETScController objects and make sure modeller is ready for use. If withIdentityMat is true preallocates diagonal elements for the identity matrix.

Arguments

Type IntentOptional Attributes Name
class(Modeller), intent(inout) :: this
logical, intent(in), optional :: withIdentityMat