MEF90DefMechCreate: allocates all the fields of a MEF90DefMech_Type
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(MEF90DefMech_Type), | intent(out), | target | :: | DefMechCtx |
DefMech has the target attribute so that DefMech%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 |