New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 6262 – NEMO

Changeset 6262


Ignore:
Timestamp:
2016-01-19T12:08:46+01:00 (8 years ago)
Author:
frrh
Message:

Changes to facilitate testing of MEDUSA coupling field exchange.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/nemo_v3_6_STABLE_pkg/NEMOGCM/NEMO/OPA_SRC/SBC/sbccpl.F90

    r6257 r6262  
    22792279 
    22802280! 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 
    22822286 
    22832287      ! RSRH. We don't want to use magic numbers in the final code (i.e. 98 and 221). 
     
    22872291!         CALL cpl_snd( jps_bio_co2, isec, trc2d(:,:,98:98), info ) 
    22882292! 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 ) 
    22902299      END IF 
    22912300 
Note: See TracChangeset for help on using the changeset viewer.