Skip to content

Commit 1f9fb29

Browse files
committed
change API names
no functional difference change from iMOAB_FromMappingFile to iMOAB_LoadMapFile and from iMOAB_WriteMappingWeightsFile to iMOAB_WriteMapFile
1 parent 890f1c2 commit 1f9fb29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

driver-moab/main/prep_ocn_mod.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ subroutine prep_ocn_init(infodata, atm_c2_ocn, atm_c2_ice, ice_c2_ocn, rof_c2_oc
210210
use iMOAB, only: iMOAB_ComputeMeshIntersectionOnSphere, iMOAB_RegisterApplication, &
211211
iMOAB_WriteMesh, iMOAB_DefineTagStorage, iMOAB_ComputeCommGraph, iMOAB_ComputeScalarProjectionWeights, &
212212
iMOAB_MigrateMapMesh, iMOAB_WriteLocalMesh, iMOAB_GetMeshInfo, iMOAB_SetDoubleTagStorage, &
213-
iMOAB_WriteMappingWeightsToFile, iMOAB_SetMapGhostLayers
213+
iMOAB_WriteMapFile, iMOAB_SetMapGhostLayers
214214
!---------------------------------------------------------------
215215
! Description
216216
! Initialize module attribute vectors and all other non-mapping
@@ -540,7 +540,7 @@ subroutine prep_ocn_init(infodata, atm_c2_ocn, atm_c2_ice, ice_c2_ocn, rof_c2_oc
540540
call shr_sys_abort(subname//' ERROR in computing ATM-OCN weights ')
541541
endif
542542

543-
! ierr = iMOAB_WriteMappingWeightsToFile(mbintxao, wgtIda2o_bilinear, 'bilinear_a2o.nc'//C_NULL_CHAR)
543+
! ierr = iMOAB_WriteMapFile(mbintxao, wgtIda2o_bilinear, 'bilinear_a2o.nc'//C_NULL_CHAR)
544544

545545
! Next compute the conservative map for projection of flux fields
546546
if (iamroot_CPLID) then

driver-moab/main/seq_map_mod.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ end subroutine seq_map_init_rcfile
178178
subroutine moab_map_init_rcfile( mbsrc, mbtgt, mbintx, discretization_type, &
179179
maprcfile, maprcname, maprctype, samegrid, arearead, sol_identifier, string, esmf_map)
180180

181-
use iMOAB, only: iMOAB_LoadFromMappingFile
181+
use iMOAB, only: iMOAB_LoadMapFile
182182
implicit none
183183
!-----------------------------------------------------
184184
!
@@ -229,7 +229,7 @@ subroutine moab_map_init_rcfile( mbsrc, mbtgt, mbintx, discretization_type, &
229229
write(logunit,*) subname,' reading map file with iMOAB: ', trim(mapfile_term)
230230
endif
231231

232-
ierr = iMOAB_LoadFromMappingFile( mbsrc, mbtgt, mbintx, discretization_type, &
232+
ierr = iMOAB_LoadMapFile( mbsrc, mbtgt, mbintx, discretization_type, &
233233
discretization_type, arearead, sol_identifier, mapfile_term)
234234
if (ierr .ne. 0) then
235235
write(logunit,*) subname,' error in loading map file'

0 commit comments

Comments
 (0)