- Timestamp:
- 2011-03-15T16:27:46+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/SBC/cpl_oasis3.F90
r2620 r2690 32 32 USE dom_oce ! ocean space and time domain 33 33 USE in_out_manager ! I/O manager 34 USE lbclnk ! ocean lateral boundary conditions (or mpp link)34 USE lbclnk ! ocean lateral boundary conditions (or mpp link) 35 35 36 36 IMPLICIT NONE 37 37 PRIVATE 38 38 39 PUBLIC cpl_prism_init40 PUBLIC cpl_prism_define41 PUBLIC cpl_prism_snd42 PUBLIC cpl_prism_rcv43 PUBLIC cpl_prism_freq44 PUBLIC cpl_prism_finalize45 46 LOGICAL, PUBLIC, PARAMETER :: lk_cpl = .TRUE. !: coupled flag47 INTEGER, PUBLIC :: OASIS_Rcv = 1 !: return code if received field48 INTEGER, PUBLIC :: OASIS_idle = 0 !: return code if nothing done by oasis49 INTEGER :: ncomp_id ! id returned by prism_init_comp50 INTEGER :: nerror ! return error code51 52 INTEGER, PARAMETER :: nmaxfld=40 ! Maximum number of coupling fields39 PUBLIC cpl_prism_init 40 PUBLIC cpl_prism_define 41 PUBLIC cpl_prism_snd 42 PUBLIC cpl_prism_rcv 43 PUBLIC cpl_prism_freq 44 PUBLIC cpl_prism_finalize 45 46 LOGICAL, PUBLIC, PARAMETER :: lk_cpl = .TRUE. !: coupled flag 47 INTEGER, PUBLIC :: OASIS_Rcv = 1 !: return code if received field 48 INTEGER, PUBLIC :: OASIS_idle = 0 !: return code if nothing done by oasis 49 INTEGER :: ncomp_id ! id returned by prism_init_comp 50 INTEGER :: nerror ! return error code 51 52 INTEGER, PARAMETER :: nmaxfld=40 ! Maximum number of coupling fields 53 53 54 54 TYPE, PUBLIC :: FLD_CPL !: Type for coupling field information … … 60 60 END TYPE FLD_CPL 61 61 62 TYPE(FLD_CPL), DIMENSION(nmaxfld), PUBLIC :: srcv, ssnd !: Coupling fields63 64 REAL(wp), DIMENSION(:,:), ALLOCATABLE :: exfld! Temporary buffer for receiving62 TYPE(FLD_CPL), DIMENSION(nmaxfld), PUBLIC :: srcv, ssnd !: Coupling fields 63 64 REAL(wp), DIMENSION(:,:), ALLOCATABLE :: exfld ! Temporary buffer for receiving 65 65 66 66 !!---------------------------------------------------------------------- … … 243 243 INTEGER , INTENT( out) :: kinfo ! OASIS3 info argument 244 244 !! 245 LOGICAL ::llaction245 LOGICAL :: llaction 246 246 !!-------------------------------------------------------------------- 247 247 ! … … 284 284 285 285 286 FUNCTION cpl_prism_freq( kid )286 INTEGER FUNCTION cpl_prism_freq( kid ) 287 287 !!--------------------------------------------------------------------- 288 288 !! *** ROUTINE cpl_prism_freq *** … … 290 290 !! ** Purpose : - send back the coupling frequency for a particular field 291 291 !!---------------------------------------------------------------------- 292 INTEGER,INTENT( IN ) :: kid ! variable index 293 INTEGER :: cpl_prism_freq ! coupling frequency 292 INTEGER,INTENT(in) :: kid ! variable index 294 293 !!---------------------------------------------------------------------- 295 294 cpl_prism_freq = ig_def_freq( kid ) … … 307 306 !!---------------------------------------------------------------------- 308 307 ! 309 DEALLOCATE( exfld)310 CALL prism_terminate_proto 308 DEALLOCATE( exfld ) 309 CALL prism_terminate_proto( nerror ) 311 310 ! 312 311 END SUBROUTINE cpl_prism_finalize
Note: See TracChangeset
for help on using the changeset viewer.