- Timestamp:
- Sep 15, 2022, 9:54:51 AM (2 years ago)
- Location:
- LMDZ6/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/bld.cfg
r4087 r4247 100 100 bld::excl_dep use::ifile_attr 101 101 bld::excl_dep use::ixml_tree 102 # The following for INCA used with CPL 103 bld::excl_dep use::incaoasis 102 104 103 105 # Don't generate interface files -
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 -
LMDZ6/trunk/makelmdz_fcm
r4195 r4247 45 45 isotrac=false 46 46 force_compile=false 47 cplocninca=false 47 48 48 49 arch_defined="FALSE" … … 101 102 true : (obsolete; for backward compatibility) use ORCHIDEE tag 1.9-1.9.6 102 103 [-chimie INCA/false] : with INCA chemistry model or without (default: false) 104 [-cplocninca ] : allow transfer of species from PISCES to INCA (default: false) 103 105 [-cosp true/false] : compile with/without cosp package (default: false) 104 106 [-cosp2 true/false] : compile with/without cosp2 package (default: false) … … 179 181 chimie="$2" ; shift ; shift ;; 180 182 183 "-cplocninca") 184 cplocninca=TRUE ; shift ;; 185 181 186 "-isotopes") 182 187 isotopes="$2" ; shift ; shift ;; … … 529 534 fi 530 535 536 if [[ "$cplocninca" == "TRUE" ]] 537 then 538 CPP_KEY="${CPP_KEY} CPP_CPLOCNINCA" 539 fi 531 540 532 541
Note: See TracChangeset
for help on using the changeset viewer.