MEF90HeatXferCreate Subroutine

public subroutine MEF90HeatXferCreate(HeatXfer, dm, MEF90Ctx, prefix, ierr)

MEF90HeatXferCreate: allocates all the fields of a MEF90HeatXfer_Type

Arguments

Type IntentOptional Attributes Name
type(MEF90HeatXfer_Type), intent(out), target :: HeatXfer

HeatXfer has the target attribute so that HeatXfer%PETScCtx can be handed over to PETSc as an application context. The actual argument MUST therefore also have the target attribute.

type(tDM), intent(in), target :: dm
type(MEF90Ctx_Type), intent(in), target :: MEF90Ctx
character(len=*), intent(in) :: prefix
integer(kind=C_INT32_T), intent(inout) :: ierr