Changeset 6262
- Timestamp:
- 2016-01-19T12:08:46+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/nemo_v3_6_STABLE_pkg/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90
r6257 r6262 2279 2279 2280 2280 ! RSRH set up a test field purely for use during development: 2281 trc2d_TEST(:,:) = 0.0 2281 DO jj = 1, jpj 2282 DO ji = 1, jpi 2283 trc2d_TEST(ji,jj) = jj*(ji*0.001) 2284 END DO 2285 END DO 2282 2286 2283 2287 ! RSRH. We don't want to use magic numbers in the final code (i.e. 98 and 221). … … 2287 2291 ! CALL cpl_snd( jps_bio_co2, isec, trc2d(:,:,98:98), info ) 2288 2292 ! RSRH Send our test field in place of the real bio_co2 2289 CALL cpl_snd( jps_bio_co2, isec, trc2d_TEST(:,:), info ) 2293 ! 2294 ! RSRH It seems daft that our coupled field HAS TO BE passed 2295 ! with 3 dimensions when in most (all?) cases fields will be 2D surface fields. 2296 ! The cpl_snd interface should handle the ability to pass 2D or 3D fields 2297 ! automatically without obfuscating things with RESHAPE. 2298 CALL cpl_snd( jps_bio_co2, isec, RESHAPE ( trc2d_TEST, (/jpi,jpj,1/) ), info ) 2290 2299 END IF 2291 2300
Note: See TracChangeset
for help on using the changeset viewer.