Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_Field), | intent(inout) | :: | fieldOut | |||
type(ESMF_Field), | intent(inout) | :: | fieldIn | |||
integer, | intent(out) | :: | rc |
subroutine f_esmf_fieldcast(fieldOut, fieldIn, rc) use ESMF_UtilTypesMod use ESMF_BaseMod use ESMF_LogErrMod use ESMF_ArraySpecMod use ESMF_FieldMod use ESMF_FieldPrMod implicit none type(ESMF_Field),intent(inout) :: fieldOut type(ESMF_Field),intent(inout) :: fieldIn integer, intent(out) :: rc integer :: localrc localrc = ESMF_RC_NOT_IMPL ! simple assignment fieldOut = fieldIn ! return successfully rc = ESMF_SUCCESS end subroutine f_esmf_fieldcast