assemble Interface

interface
private module subroutine assemble(this, withIdentityMat)

Arguments

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

Description

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.