Changes between Version 8 and Version 9 of ticket/0846
- Timestamp:
- 2011-09-12T15:30:33+02:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ticket/0846
v8 v9 281 281 The NEMO architecture ( with the use of FCM to build dependancies ), allow to rewrite a routine without needing to change anything. In that case, we can use the MY_TRC framework to manage every type of biogeochemical model. 282 282 283 In fact, when compiling with makenemo ( for example : ./makenemo -n ORCA2_LIM_MY_TRC -r ORCA2_LIM_PISCES del_key "key_iomput key_pisces" add_key "key_my_trc"), a sub-directory where one can copy and modify all the routines we needis created : NEMOGCM/CONFIG/ORCA2_LIM_MY_TRC/MY_SRC. One can then copy the listed routines and modify them according to our convenience283 In fact, when compiling with makenemo ( for example : ./makenemo -n ORCA2_LIM_MY_TRC -r ORCA2_LIM_PISCES del_key "key_iomput key_pisces" add_key "key_my_trc"), a sub-directory where one can copy and modify all the routines having to be changed, is created : NEMOGCM/CONFIG/ORCA2_LIM_MY_TRC/MY_SRC. One can then copy the listed routines and modify them according to our convenience 284 284 285 285 * TOP_SRC/trcini.F90 … … 287 287 * TOP_SRC/trcdia.F90 288 288 * TOP_SRC/TRP/trctrp.F90 289 * TOP_SRC/MY_TRC/* 290 291 292 To go a little further - this is another proposition - we can add a new namelist parameter ln_nemo_iowhich is true if we want to use NEMO I/O manager and false if not. So we can modify the 2 modules trcini.F90 and trcstp.F90 as follow :289 * TOP_SRC/MY_TRC/* 290 291 292 To go a little further - this is another proposition - we can add a new namelist parameter '''ln_nemo_io''' which is true if we want to use NEMO I/O manager and false if not. So we can modify the 2 modules trcini.F90 and trcstp.F90 as follow : 293 293 294 294 trcini.F90 … … 376 376 }}} 377 377 378 and then, just copy & modify in MY_SRC directory the 2modules to manage transport and outputs378 and then, just copy & modify in MY_SRC directory the listed modules to manage transport and outputs 379 379 380 380 * TOP_SRC/trcdia.F90 381 381 * TOP_SRC/TRP/trctrp.F90 382 * TOP_SRC/MY_TRC/* 382 383 383 384 === Status ===