178 |
IF ( useMNC .AND. (usingCurvilinearGrid .OR. rotateGrid) ) THEN |
IF ( useMNC .AND. (usingCurvilinearGrid .OR. rotateGrid) ) THEN |
179 |
C If the grid is not simply cartesian, cylindrical or spherical, |
C If the grid is not simply cartesian, cylindrical or spherical, |
180 |
C include additional coordinate information to the following files |
C include additional coordinate information to the following files |
181 |
IF ( snapshot_mnc ) |
IF ( snapshot_mnc .AND. |
182 |
|
& ( dumpFreq .GT. 0. .OR. dumpInitAndLast ) ) |
183 |
& CALL MNC_CW_WRITE_GRID_COORD('state', myThid) |
& CALL MNC_CW_WRITE_GRID_COORD('state', myThid) |
184 |
#if (defined ALLOW_AUTODIFF) && \ |
#if (defined ALLOW_AUTODIFF) && \ |
185 |
(defined (ALLOW_ADJOINT_RUN) || defined (ALLOW_ADMTLM)) && \ |
(defined (ALLOW_ADJOINT_RUN) || defined (ALLOW_ADMTLM)) && \ |
186 |
(defined ALLOW_AUTODIFF_MONITOR) |
(defined ALLOW_AUTODIFF_MONITOR) |
187 |
IF ( autodiff_mnc ) THEN |
IF ( autodiff_mnc .AND. adjDumpFreq .GT. 0. ) THEN |
188 |
CALL MNC_CW_WRITE_GRID_COORD('adstate', myThid) |
CALL MNC_CW_WRITE_GRID_COORD('adstate', myThid) |
189 |
#ifdef ALLOW_EXF |
#ifdef ALLOW_EXF |
190 |
IF (useEXF) CALL MNC_CW_WRITE_GRID_COORD('adexf',myThid) |
IF (useEXF) CALL MNC_CW_WRITE_GRID_COORD('adexf',myThid) |