Changes between Version 8 and Version 9 of ticket/0846


Ignore:
Timestamp:
2011-09-12T15:30:33+02:00 (9 years ago)
Author:
cetlod
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • ticket/0846

    v8 v9  
    281281The 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. 
    282282 
    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 need is created : NEMOGCM/CONFIG/ORCA2_LIM_MY_TRC/MY_SRC. One can then copy the listed routines and modify them according to our convenience   
     283In 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   
    284284 
    285285 * TOP_SRC/trcini.F90 
     
    287287 * TOP_SRC/trcdia.F90 
    288288 * 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_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 : 
     289 * TOP_SRC/MY_TRC/*  
     290 
     291 
     292To 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 : 
    293293 
    294294trcini.F90 
     
    376376}}} 
    377377 
    378 and then, just copy & modify in MY_SRC directory the 2 modules to manage transport and outputs 
     378and then, just copy & modify in MY_SRC directory the listed modules to manage transport and outputs 
    379379 
    380380 * TOP_SRC/trcdia.F90 
    381381 * TOP_SRC/TRP/trctrp.F90 
     382 * TOP_SRC/MY_TRC/* 
    382383 
    383384=== Status ===