New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
sedmodel.F90 in trunk/NEMO/TOP_SRC/SED – NEMO

source: trunk/NEMO/TOP_SRC/SED/sedmodel.F90 @ 1179

Last change on this file since 1179 was 1179, checked in by cetlod, 16 years ago

add new routines for the sediment model, see ticket:249

File size: 1.8 KB
Line 
1MODULE sedmodel
2#if defined key_sed
3   !!======================================================================
4   !!                       ***  MODULE sedmodel   ***
5   !!   Sediment model : Main routine of sediment model
6   !!======================================================================
7   USE sed
8   USE sedini   ! sediment variables initialization
9   USE sedstp   ! time stepping
10
11   IMPLICIT NONE
12   PRIVATE
13
14   !! * Routine accessibility
15   PUBLIC sed_model  ! called by step.F90
16
17CONTAINS
18
19   SUBROUTINE sed_model ( kt )
20      !!---------------------------------------------------------------------
21      !!                  ***  ROUTINE sed_model  ***
22      !!
23      !! ** Purpose :   main routine of sediment model
24      !!
25      !!
26      !! ** Method  : - model general initialization
27      !!              - launch the time-stepping (stp routine)
28      !!
29      !!   History :
30      !!        !  07-02 (C. Ethe)  Original
31      !!----------------------------------------------------------------------
32      INTEGER, INTENT(in) ::   kt       ! number of iteration
33
34
35      !
36      !  Initialization of sediment model
37      ! -----------------------------------
38
39      IF( kt == nit000 ) CALL sed_init
40
41
42      !! Time stepping of Sediment model
43      !!-----------------------------------
44
45      CALL sed_stp( kt )
46
47
48   END SUBROUTINE sed_model
49
50#else
51   !!======================================================================
52   !! MODULE sedbtb  :   Dummy module
53   !!======================================================================
54CONTAINS
55   SUBROUTINE sed_model( kt )         ! Empty routine
56      INTEGER, INTENT(in) :: kt
57      WRITE(*,*) 'sed_stp: You should not have seen this print! error?', kt
58   END SUBROUTINE sed_model
59
60   !!======================================================================
61#endif
62
63END MODULE sedmodel
64
65
66
67
68
69
70
Note: See TracBrowser for help on using the repository browser.