Size: 2217
Comment:
|
Size: 2397
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 43: | Line 43: |
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:
- age
- ocean_uptake
How to get the source code
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
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.