Articles | Volume 6, issue 1
Atmos. Chem. Phys., 6, 187–195, 2006
https://doi.org/10.5194/acp-6-187-2006

Special issue: The atmospheric chemistry box model CAABA/MECCA (GMD/ACP inter-journal...

Atmos. Chem. Phys., 6, 187–195, 2006
https://doi.org/10.5194/acp-6-187-2006

  26 Jan 2006

26 Jan 2006

Technical note: Simulating chemical systems in Fortran90 and Matlab with the Kinetic PreProcessor KPP-2.1

A. Sandu1 and R. Sander2 A. Sandu and R. Sander
  • 1Department of Computer Science, Virginia Polytechnic Institute and State University, Blacksburg, Virginia 24060, USA
  • 2Air Chemistry Department, Max-Planck Institute for Chemistry, Mainz, Germany

Abstract. This paper presents the new version 2.1 of the Kinetic PreProcessor (KPP). Taking a set of chemical reactions and their rate coefficients as input, KPP generates Fortran90, Fortran77, Matlab, or C code for the temporal integration of the kinetic system. Efficiency is obtained by carefully exploiting the sparsity structures of the Jacobian and of the Hessian. A comprehensive suite of stiff numerical integrators is also provided. Moreover, KPP can be used to generate the tangent linear model, as well as the continuous and discrete adjoint models of the chemical system.

Download
Altmetrics
Final-revised paper
Preprint