Ignore:
Timestamp:
09/21/21 15:59:26 (3 years ago)
Author:
dmenemen
Message:

first attempt to modify test4003 for remeshing
has not been tested and debugged yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/MITgcm/code_4003/shelfice_step_icemass.F

    r26449 r26452  
    4545C     i,j, bi,bj  :: loop indices
    4646      INTEGER bi,bj,i,j
     47      _RL  issm_density
     48      issm_density = 917.
    4749
    4850      IF ( SHELFICEMassStepping ) THEN
     
    6567        ENDDO
    6668#endif /* ALLOW_STREAMICE */
     69
     70       ELSEIF (useCoupler)
     71
     72#ifdef ALLOW_CPL_ISSM
     73        DO bj = myByLo(myThid), myByHi(myThid)
     74         DO bi = myBxLo(myThid), myBxHi(myThid)
     75          DO j=1-OLy,sNy+OLy-1
     76           DO i=1-OLx+1,sNx+OLx-1
     77             shelficeMass(i,j,bi,bj) =
     78     &        R_shelfIce(i,j,bi,bj) * issm_density
     79           ENDDO
     80          ENDDO
     81         ENDDO
     82        ENDDO
     83#endif /* ALLOW_CPL_ISSM */
    6784
    6885       ELSE
Note: See TracChangeset for help on using the changeset viewer.