assemble Module Subroutine

module subroutine assemble(this, petscCont)

Assemble all of the matrix terms, preallocate PETScController objects and make sure model is ready for use

Arguments

Type IntentOptional Attributes Name
class(Model), intent(inout) :: this
type(PETScController), intent(inout), optional :: petscCont

Optional PETScController - should be present if the model has any implicitly evaluated terms