[ < ] [ > ]   [Contents] [Index] [ ? ]

2.1 General structure of the code

The sequences used to enter model description hold the mathematical formulae for each cell and transfer component, dedicated derived computations, and time-step steering. During the code generation stage, cmz directives are preprocessed, then the user pseudo-Fortran instructions are translated by mortran using macros designed to generate in particular all Fortran instructions that compute the Jacobian matrices used in TEF modelling.

The sequence zinit contains the mathematical formulation of the model (see Entering model equation and parameters). Another sequence, zsteer, is merged at the end of the time step advance of the simulation, where the user can monitor the time step values and printing levels, and perform particular computations etc. (see Executing code at the end of each time step).


[Contents] [Index] [ ? ]

This document was generated on a sunny day using texi2any.