ESMF_MeshNE Function

private impure elemental function ESMF_MeshNE(mesh1, mesh2)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Mesh), intent(in) :: mesh1
type(ESMF_Mesh), intent(in) :: mesh2

Return Value logical


Calls

proc~~esmf_meshne~~CallsGraph proc~esmf_meshne ESMF_MeshNE proc~esmf_mesheq ESMF_MeshEQ proc~esmf_meshne->proc~esmf_mesheq proc~esmf_meshgetinit ESMF_MeshGetInit proc~esmf_mesheq->proc~esmf_meshgetinit

Called by

proc~~esmf_meshne~~CalledByGraph proc~esmf_meshne ESMF_MeshNE interface~operator(SLASH=)~20 operator(/=) interface~operator(SLASH=)~20->proc~esmf_meshne

Source Code

  impure elemental function ESMF_MeshNE(mesh1, mesh2)
!
! !RETURN VALUE:
    logical :: ESMF_MeshNE

! !ARGUMENTS:
    type(ESMF_Mesh), intent(in) :: mesh1
    type(ESMF_Mesh), intent(in) :: mesh2

! !DESCRIPTION:
!   Test if both {\tt mesh1} and {\tt mesh2} alias the same ESMF Mesh
!   object.
!

    ESMF_INIT_TYPE minit1, minit2
    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_MeshNE = .not.ESMF_MeshEQ(mesh1, mesh2)

  end function ESMF_MeshNE