assemble Interface

interface
private module subroutine assemble(this, petscCont)

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

Description

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