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 13443 for NEMO/branches/UKMO/NEMO_4.0.1_NGMS_couple_stage2/src/OCE/SBC/cpl_oasis3.F90 – NEMO

Ignore:
Timestamp:
2020-08-28T17:01:04+02:00 (4 years ago)
Author:
frrh
Message:

Commit changes which allow first working 2 way coupling exchanges between GO8
and LFRic aquaplanet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.1_NGMS_couple_stage2/src/OCE/SBC/cpl_oasis3.F90

    r13311 r13443  
    7676   TYPE, PUBLIC ::   FLD_CPL               !: Type for coupling field information 
    7777      LOGICAL               ::   laction   ! To be coupled or not 
    78       CHARACTER(len = 8)    ::   clname    ! Name of the coupling field    
     78      CHARACTER(len = 30)    ::   clname    ! Name of the coupling field    
    7979      CHARACTER(len = 1)    ::   clgrid    ! Grid type   
    8080      REAL(wp)              ::   nsgn      ! Control of the sign change 
     
    164164      IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~~~~~~' 
    165165      IF(lwp) WRITE(numout,*) 
     166 
     167      WRITE(numout,*) "RSRH inside cpl_define" ; flush(numout) 
    166168 
    167169      ncplmodel = kcplmodel 
     
    212214         WRITE(numout,*) ' multiexchg: nldj, nlej, njmpp =', nldj, nlej, njmpp 
    213215      ENDIF 
    214     
     216       WRITE(numout,*) "RSRH calling def partition" ; flush(numout) 
     217 
     218   
    215219      CALL oasis_def_partition ( id_part, paral, nerror, jpiglo*jpjglo ) 
     220       WRITE(numout,*) "RSRH called def partition" ; flush(numout) 
    216221      ! 
    217222      ! ... Announce send variables.  
     
    247252#endif 
    248253                  IF( ln_ctl ) WRITE(numout,*) "Define", ji, jc, jm, " "//TRIM(zclname), " for ", OASIS_Out 
     254       WRITE(numout,*) "RSRH calling def var send", zclname , ji; flush(numout) 
    249255                  CALL oasis_def_var (ssnd(ji)%nid(jc,jm), zclname, id_part   , (/ 2, 1 /),   & 
    250256                     &                OASIS_Out          , ishape , OASIS_REAL, nerror ) 
     257       WRITE(numout,*) "RSRH called def var", zclname , ji, nerror; flush(numout) 
    251258                  IF ( nerror /= OASIS_Ok ) THEN 
    252259                     WRITE(numout,*) 'Failed to define transient ', ji, jc, jm, " "//TRIM(zclname) 
     
    292299#endif 
    293300                  IF( ln_ctl ) WRITE(numout,*) "Define", ji, jc, jm, " "//TRIM(zclname), " for ", OASIS_In 
     301       WRITE(numout,*) "RSRH calling def var recv", zclname , ji; flush(numout) 
    294302                  CALL oasis_def_var (srcv(ji)%nid(jc,jm), zclname, id_part   , (/ 2, 1 /),   & 
    295303                     &                OASIS_In           , ishape , OASIS_REAL, nerror ) 
     304       WRITE(numout,*) "RSRH called def var recv", zclname , ji, nerror; flush(numout) 
    296305                  IF ( nerror /= OASIS_Ok ) THEN 
    297306                     WRITE(numout,*) 'Failed to define transient ', ji, jc, jm, " "//TRIM(zclname) 
     
    309318      ! End of definition phase 
    310319      !------------------------------------------------------------------ 
     320       WRITE(numout,*) "RSRH calling endef "; flush(numout) 
    311321       
    312322      CALL oasis_enddef(nerror) 
     323       WRITE(numout,*) "RSRH called endef "; flush(numout) 
    313324      IF( nerror /= OASIS_Ok )   CALL oasis_abort ( ncomp_id, 'cpl_define', 'Failure in oasis_enddef') 
    314325      ! 
Note: See TracChangeset for help on using the changeset viewer.