Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(ESMF_GridComp), | intent(in) | :: | gridcomp1 | |||
type(ESMF_GridComp), | intent(in) | :: | gridcomp2 |
impure elemental function ESMF_GridCompNE(gridcomp1, gridcomp2) ! ! !RETURN VALUE: logical :: ESMF_GridCompNE ! !ARGUMENTS: type(ESMF_GridComp), intent(in) :: gridcomp1 type(ESMF_GridComp), intent(in) :: gridcomp2 ! ! !DESCRIPTION: ! Test if both {\tt gridcomp1} and {\tt gridcomp2} alias the same ESMF GridComp ! object. ! !EOPI !------------------------------------------------------------------------------- ESMF_INIT_TYPE gcinit1, gcinit2 integer :: localrc1, localrc2 logical :: lval1, lval2 ! Use the following logic, rather than "ESMF-INIT-CHECK-DEEP", to gain ! init checks on both args, and in the case where both are uninitialized, ! to distinguish equality based on uninitialized type (uncreated, ! deleted). ESMF_GridCompNE = .not.ESMF_GridCompEQ(gridcomp1, gridcomp2) end function ESMF_GridCompNE