Changeset 4247 for LMDZ6/trunk/libf/phylmd
- Timestamp:
- Sep 15, 2022, 9:54:51 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/oasis.F90
r3815 r4247 24 24 USE mod_prism_get_proto 25 25 USE mod_prism_put_proto 26 #endif 27 #ifdef CPP_CPLOCNINCA 28 USE incaoasis, ONLY : inforcv 26 29 #endif 27 30 #endif … … 79 82 INTEGER, PARAMETER :: maxrecv = 9 ! Maximum number of fields to receive 80 83 84 #ifdef CPP_CPLOCNINCA 85 INTEGER, PARAMETER :: idr_ocedms = 1 86 INTEGER, PARAMETER :: maxrcv = 1 87 #endif 81 88 82 89 TYPE, PUBLIC :: FLD_CPL ! Type for coupling field information … … 247 254 inforecv(idr_oceco2)%action = .TRUE. ; inforecv(idr_oceco2)%name = 'SICO2FLX' 248 255 ENDIF 256 #ifdef CPP_CPLOCNINCA 257 inforcv(idr_ocedms)%action = .TRUE. ; inforcv(idr_ocedms)%name = 'SIDMSFLX' 258 #endif 249 259 250 260 !************************************************************************************ … … 331 341 ENDIF 332 342 END DO 333 343 344 ! Now, if also coupling CPL with INCA, initialize here fields to be exchanged. 345 #ifdef CPP_CPLOCNINCA 346 DO jf=1,maxrcv 347 IF (inforcv(jf)%action) THEN 348 CALL prism_def_var_proto(inforcv(jf)%nid, inforcv(jf)%name, il_part_id, & 349 il_var_nodims, PRISM_In, il_var_actual_shape, il_var_type, & 350 ierror) 351 IF (ierror .NE. PRISM_Ok) THEN 352 WRITE(lunout,*) 'inicma : Problem with prism_def_var_proto for field : ',& 353 inforcv(jf)%name 354 abort_message=' Problem in call to prism_def_var_proto for fields to receive' 355 CALL abort_physic(modname,abort_message,1) 356 ENDIF 357 ENDIF 358 END DO 359 #endif 360 334 361 !************************************************************************************ 335 362 ! Atmospheric Fields to send
Note: See TracChangeset
for help on using the changeset viewer.