Skip to content

Commit 88f92c7

Browse files
committed
Set mbGridType to 0 for mlnid
Set mbGridType to 0 for mlnid. Some code was moved for the scm case which broke the calculation that was here.
1 parent 2aa691e commit 88f92c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

driver-moab/main/cplcomp_exchange_mod.F90

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1695,9 +1695,7 @@ subroutine cplcomp_moab_Init(infodata,comp)
16951695
if (mlnid >= 0) then
16961696
ierr = iMOAB_GetMeshInfo ( mlnid, nvert, nvise, nbl, nsurf, nvisBC )
16971697
comp%mbApCCid = mlnid ! land
1698-
! MOAB TODO: check this logic. Seems to assume typeA might be
1699-
! 3 or 2 but only typeB has that possibility.
1700-
comp%mbGridType = typeA - 2 ! 0 or 1, pc or cells
1698+
comp%mbGridType = 0 ! 0 or 1, pc or cells
17011699
comp%mblsize = nvert(1) ! vertices
17021700
endif
17031701
if ( .not. mb_scm_land ) then

0 commit comments

Comments
 (0)