Difference between revisions of "ICOSA LMDZ directory layout and contents"

From Planets
Jump to: navigation, search
(Moved ICOSA_LMDZ page inside tutorial for DYNAMICO-PCM LMDZ physics coupling for better continuity of tutorial)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This page describes the directory structure of the ICOSA_LMDZ directory which contains the interface between the DYNAMICO dynamical core and the LMDZ.* physics packages
+
#redirect[[DYNAMICO_with_LMDZ_physics#The_ICOSA_LMDZ_directory]]
 
 
== The ''ICOSA_LMDZ'' directory ==
 
Once downloaded from the svn server, the ''ICOSA_LMDZ'' directory contents should be:
 
<pre>
 
arch    build  compile_ada      make_icosa_lmdz  xml
 
bld.cfg  clean  compile_occigen  src
 
</pre>
 
Where the noteworthy elements are:
 
* The <font color="green">make_icosa_lmdz</font> script, which is the master script to use to compile all components (DYNAMICO, physics package, the interface between the two and the IOIPSL and XIOS libraries).
 
* Example scripts <font color="green">compile_ada</font> and <font color="green">compile_occigen</font> which are wrappers to the <font color="green">make_icosa_lmdz</font> script with a set of given options. The general idea here is that a user would likewise write his own wrapper script.
 
* The ''arch'' directory which contains architecture files used by the <font color="green">make_icosa_lmdz</font> script
 
* The ''src'' directory which contains the source code for the interface
 
* The ''xml'' directory which contains an example of the <font color="gray">iodef.xml</font> file to use, along with related instructions to combining it with other xml file gathered from DYNAMICO and physics packages
 
 
 
== The ''src'' subdirectory ==
 
This directory contains the source code for the interface, along with subdirectories related to each of the physics packages (currently Generic, Mars and Venus). More general code, i.e. which apply to all the physics packages, such as plugins for the vertical discretization or dissipation factors are located at this level. In practice that directory currently contains:
 
<pre>
 
distrib_icosa_lmdz.f90  phymars  vert_prof_dissip_icosa_lmdz.f90
 
disvert_icosa_lmdz.f90  phystd    wrapper.f90
 
icosa_lmdz.f90          phyvenus
 
</pre>
 
where
 
* icosa_lmdz.f90 is the main program
 
* distrib_icosa_lmdz.f90 and wrapper.f90 are quite technical routines handling the parallelism and correspondances between physics and dynamics grids
 
* disvert_icosa_lmdz.f90 is the plugin (inherited from LMDZ.COMMON and follows the vertical coordinate and associated discretization choices made there)
 
* vert_prof_dissip_icosa_lmdz.f90 is the plugin (inherited from LMDZ.COMMON) to set the multiplicative coefficient along the vertical for dissipation
 
 
 
 
 
[[Category:Generic-DYNAMICO]]
 
[[Category:Mars-DYNAMICO]]
 
[[Category:Venus-DYNAMICO]]
 

Latest revision as of 18:04, 10 December 2024