Skip to content

Commit

Permalink
Remove keywords from calls into InternalState API to support compilers
Browse files Browse the repository at this point in the history
that do not support deferred type interfaces yet.
  • Loading branch information
theurich committed Oct 17, 2023
1 parent 3013ec2 commit 5cd9f55
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/addon/ESMX/Comps/ESMX_Data/ESMX_Data.F90
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ subroutine SetServices(xdata, rc)
line=__LINE__, &
file=__FILE__, &
rcToReturn=rc)) return
call ESMF_GridCompSetInternalState(xdata, is, rc=rc)
call ESMF_GridCompSetInternalState(xdata, is, rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
line=__LINE__, file=__FILE__)) return
xstate => is%ptr
Expand Down Expand Up @@ -211,7 +211,7 @@ subroutine Advertise(xdata, rc)

! query component for internal state
nullify(is%ptr)
call ESMF_GridCompGetInternalState(xdata, is, rc=rc)
call ESMF_GridCompGetInternalState(xdata, is, rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
line=__LINE__, file=__FILE__)) return
xstate => is%ptr
Expand Down Expand Up @@ -275,7 +275,7 @@ subroutine Realize(xdata, rc)

! query component for internal state
nullify(is%ptr)
call ESMF_GridCompGetInternalState(xdata, is, rc=rc)
call ESMF_GridCompGetInternalState(xdata, is, rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
line=__LINE__, file=__FILE__)) return
xstate => is%ptr
Expand Down Expand Up @@ -354,7 +354,7 @@ subroutine DataInitialize(xdata, rc)

! query component for internal state
nullify(is%ptr)
call ESMF_GridCompGetInternalState(xdata, is, rc=rc)
call ESMF_GridCompGetInternalState(xdata, is, rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
line=__LINE__, file=__FILE__)) return
xstate => is%ptr
Expand Down Expand Up @@ -431,7 +431,7 @@ subroutine CheckImport(xdata, rc)

! query component for internal State
nullify(is%ptr)
call ESMF_GridCompGetInternalState(xdata, is, rc=rc)
call ESMF_GridCompGetInternalState(xdata, is, rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
line=__LINE__, file=__FILE__)) return
xstate => is%ptr
Expand Down Expand Up @@ -489,7 +489,7 @@ subroutine ModelAdvance(xdata, rc)

! query component for internal state
nullify(is%ptr)
call ESMF_GridCompGetInternalState(xdata, is, rc=rc)
call ESMF_GridCompGetInternalState(xdata, is, rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
line=__LINE__, file=__FILE__)) return
xstate => is%ptr
Expand Down Expand Up @@ -602,7 +602,7 @@ subroutine ModelFinalize(xdata, rc)

! query component for internal state
nullify(is%ptr)
call ESMF_GridCompGetInternalState(xdata, is, rc=rc)
call ESMF_GridCompGetInternalState(xdata, is, rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, &
line=__LINE__, file=__FILE__)) return
xstate => is%ptr
Expand Down

0 comments on commit 5cd9f55

Please sign in to comment.