Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple domains quilting restart #650

Merged
Merged
6 changes: 4 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[submodule "atmos_cubed_sphere"]
path = atmos_cubed_sphere
url = https://github.com/NOAA-GFDL/GFDL_atmos_cubed_sphere
branch = dev/emc
#url = https://github.com/NOAA-GFDL/GFDL_atmos_cubed_sphere
#branch = dev/emc
url = https://github.com/DusanJovic-NOAA/GFDL_atmos_cubed_sphere
branch = multiple_domains_quilting_restart
[submodule "ccpp/framework"]
path = ccpp/framework
url = https://github.com/NCAR/ccpp-framework
Expand Down
2 changes: 1 addition & 1 deletion atmos_cubed_sphere
9 changes: 8 additions & 1 deletion fv3_cap.F90
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ subroutine InitializeAdvertise(gcomp, rc)
logical :: use_saved_routehandles, rh_file_exist
logical :: fieldbundle_is_restart = .false.

integer :: sloc
type(ESMF_StaggerLoc) :: staggerloc
!
!------------------------------------------------------------------------
!
Expand Down Expand Up @@ -634,7 +636,12 @@ subroutine InitializeAdvertise(gcomp, rc)
dstGrid(j,i) = grid
! loop over all the mirror fields and set the balanced mirror Grid
do ii=1, fieldCount
call ESMF_FieldEmptySet(fieldList(ii), grid=grid, rc=rc)
call ESMF_InfoGetFromHost(fieldList(ii), info=info, rc=rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, line=__LINE__, file=__FILE__)) return
call ESMF_InfoGet(info, key="staggerloc", value=sloc, rc=rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, line=__LINE__, file=__FILE__)) return
staggerloc = sloc ! convert integer into StaggerLoc_Flag
call ESMF_FieldEmptySet(fieldList(ii), grid=grid, staggerloc=staggerloc, rc=rc)
if (ESMF_LogFoundError(rcToCheck=rc, msg=ESMF_LOGERR_PASSTHRU, line=__LINE__, file=__FILE__)) return
enddo
! clean-up
Expand Down
1 change: 0 additions & 1 deletion io/module_write_internal_state.F90
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ module write_internal_state
!*** file bundle for output
!--------------------------
integer :: FBCount
character(128),dimension(:),allocatable :: wrtFB_names
!
!-----------------------------------------------------------------------
!*** THE OUTPUT FILE
Expand Down
Loading