Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_Field), | intent(inout) | :: | field | |||
type(ESMF_Pointer) | :: | meshp | ||||
integer, | intent(out) | :: | rc |
subroutine f_esmf_fieldgetmesh(field, meshp, rc) use ESMF_UtilTypesMod use ESMF_BaseMod use ESMF_LogErrMod use ESMF_ArraySpecMod use ESMF_MeshMod use ESMF_FieldMod use ESMF_FieldGetMod implicit none type(ESMF_Field),intent(inout) :: field type(ESMF_Pointer) :: meshp integer, intent(out) :: rc type(ESMF_Mesh) :: mesh rc = ESMF_RC_NOT_IMPL call ESMF_FieldGet(field, mesh=mesh, rc=rc) if (ESMF_LogFoundError(rc, ESMF_ERR_PASSTHRU, & ESMF_CONTEXT, rcToReturn=rc)) return meshp = mesh%this; rc = ESMF_SUCCESS end subroutine f_esmf_fieldgetmesh