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 2292 for branches/DEV_r1879_FCM/NEMOGCM/NEMO/OPA_SRC/SBC/cpl_oasis3.F90 – NEMO

Ignore:
Timestamp:
2010-10-19T12:15:40+02:00 (14 years ago)
Author:
smasson
Message:

update DEV_r1879_FCM for additional tests...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1879_FCM/NEMOGCM/NEMO/OPA_SRC/SBC/cpl_oasis3.F90

    r2160 r2292  
    2929   USE mod_prism_put_proto          ! OASIS3 prism module for snding 
    3030   USE mod_prism_get_proto          ! OASIS3 prism module for receiving 
     31   USE mod_comprism_proto           ! OASIS3 prism module to get coupling frequency 
    3132   USE par_oce                      ! ocean parameters 
    3233   USE dom_oce                      ! ocean space and time domain 
     
    6162   PUBLIC cpl_prism_snd 
    6263   PUBLIC cpl_prism_rcv 
     64   PUBLIC cpl_prism_freq 
    6365   PUBLIC cpl_prism_finalize 
    6466 
     
    210212      !! * Arguments 
    211213      !! 
    212       INTEGER,                      INTENT( IN    )   :: kid       ! variable intex in the array 
     214      INTEGER,                      INTENT( IN    )   :: kid       ! variable index in the array 
    213215      INTEGER,                      INTENT(   OUT )   :: kinfo     ! OASIS3 info argument 
    214216      INTEGER,                      INTENT( IN    )   :: kstep     ! ocean time-step in seconds 
     
    247249      !!      like stresses and fluxes from the coupler or remote application. 
    248250      !!---------------------------------------------------------------------- 
    249       INTEGER,                      INTENT( IN    )   :: kid       ! variable intex in the array 
     251      INTEGER,                      INTENT( IN    )   :: kid       ! variable index in the array 
    250252      INTEGER,                      INTENT( IN    )   :: kstep     ! ocean time-step in seconds 
    251253      REAL(wp), DIMENSION(jpi,jpj), INTENT( INOUT )   :: pdata     ! IN to keep the value if nothing is done 
     
    293295 
    294296 
     297   FUNCTION cpl_prism_freq( kid )   
     298 
     299      !!--------------------------------------------------------------------- 
     300      !!              ***  ROUTINE cpl_prism_freq  *** 
     301      !! 
     302      !! ** Purpose : - send back the coupling frequency for a particular field 
     303      !!---------------------------------------------------------------------- 
     304      INTEGER,INTENT( IN )   :: kid              ! variable index  
     305      INTEGER                :: cpl_prism_freq   ! coupling frequency 
     306      cpl_prism_freq = ig_def_freq( kid ) 
     307 
     308   END FUNCTION cpl_prism_freq 
     309 
     310 
    295311   SUBROUTINE cpl_prism_finalize 
    296312 
Note: See TracChangeset for help on using the changeset viewer.