The time stepping used in NEMO is a three level scheme that can be represented as follows:
The choice of the time step used for this evaluation is discussed below as well as the implications for starting or restarting a model simulation. Note that the time stepping calculation is generally performed in a single operation. With such a complex and nonlinear system of equations it would be dangerous to let a prognostic variable evolve in time for each term separately.
The three level scheme requires three arrays for each prognostic variable. For each variable there is (before), (now) and . The third array, although referred to as (after) in the code, is usually not the variable at the after time step; but rather it is used to store the time derivative (RHS in (3.1)) prior to time-stepping the equation. Generally, the time stepping is performed once at each time step in the tranxt.F90 and dynnxt.F90 modules, except when using implicit vertical diffusion or calculating sea surface height in which case time-splitting options are used.
Gurvan Madec and the NEMO Team
NEMO European Consortium2017-02-17