Differences between revisions 16 and 17
Revision 16 as of 2016-03-09 08:30:00
Size: 2397
Editor: NicoleThomas
Comment:
Revision 17 as of 2019-07-31 12:25:07
Size: 1220
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
=== How to get the source code ===
Line 17: Line 16:
The source code of the mix package is under control of the CVS (Concurrent Version System) utility. To get the source code the environment variable CVSROOT must be set to ''/usr/local/icg/icg1/archive''. The command
{{{
cvs co -P mix
}}}
creates a directory mix in the current working directory and copies the current version of the mix package to this directory.

The directory ''mix'' includes the following subdirectories:

 * ''doc'': latex file for documentation
 * ''mod'': module files
 * ''obj'': object files
 * ''source'': source code
 * ''templates'': templates for configuration file

=== Compiling ===

The programs can be compiled on different platforms with the makefile stored in the directory ''mix'':
{{{
make mix|bmix
make all
}}}
The program will be compiled for the used platform and the executables ''mix'' and ''bmix'' will be created.


To compile ''mix'' or ''bmix'' the package [[dynmod]] must be checked out.

To clean and recompile ''mix'' or ''bmix'' the package ''dynmod'' must be cleaned too.
In directory ''mix'':
{{{
make distclean
make dynmod_distclean
make mix|bmix
}}}

The package mix

The 2D (isentropic) and 3D mixing in CLaMS is implemented in the FORTRAN-90 program mix.f90.
The handling of the boundary conditions is controlled by the program bmix.f90.
For the description of the 2D/3D mixing algorithm, see References.

Utility progams in package mix:

References

P.Konopka, H.-M.Steinhorst, J.-U.Grooß, G.Günther, R.Müller, J.W.Elkins, H.-J.Jost, E.Richard, U.Schmidt, G.Toon, and D.S.McKenna. Mixing and ozone loss in the 1999-2000 arctic vortex: Simulations with the 3-dimensional Chemical Lagrangian Model of the Stratosphere (CLaMS). J. Geophys. Res., 109(D2):doi:10.1029/2003JD003792, 2004.

D.S.McKenna, P.Konopka, J.-U.Grooß, G.Günther, R.Müller, R.Spang, D.Offermann, and Y.Orsolini. A new Chemical Lagrangian Model of the Stratosphere (CLaMS): Part I Formulation of advection and mixing. J. Geophys. Res., 107(D16):4309, doi:10.1029/2000JD000114, 2002.


History of Changes

mix (last edited 2019-07-31 12:25:07 by NicoleThomas)