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 branches/UKMO/dev_r5518_amm15_test/NEMOGCM/NEMO/TOP_SRC/PISCES/SED – NEMO

source: branches/UKMO/dev_r5518_amm15_test/NEMOGCM/NEMO/TOP_SRC/PISCES/SED/sedmodel.F90 @ 5886

Last change on this file since 5886 was 5886, checked in by jgraham, 8 years ago

Removed keywords

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
17   LOGICAL, PUBLIC, PARAMETER ::   lk_sed = .TRUE.     !: sediment flag
18
19   !! $Id$
20CONTAINS
21
22   SUBROUTINE sed_model ( kt )
23      !!---------------------------------------------------------------------
24      !!                  ***  ROUTINE sed_model  ***
25      !!
26      !! ** Purpose :   main routine of sediment model
27      !!
28      !!
29      !! ** Method  : - model general initialization
30      !!              - launch the time-stepping (stp routine)
31      !!
32      !!   History :
33      !!        !  07-02 (C. Ethe)  Original
34      !!----------------------------------------------------------------------
35      INTEGER, INTENT(in) ::   kt       ! number of iteration
36
37
38      IF( kt == nittrc000 ) CALL sed_init       ! Initialization of sediment model
39
40                         CALL sed_stp( kt )  ! Time stepping of Sediment model
41
42
43   END SUBROUTINE sed_model
44
45#else
46   !!======================================================================
47   !! MODULE sedmodel  :   Dummy module
48   !!======================================================================
49   LOGICAL, PUBLIC, PARAMETER ::   lk_sed = .FALSE.     !: sediment flag
50   !! $Id$
51CONTAINS
52   SUBROUTINE sed_model( kt )         ! Empty routine
53      INTEGER, INTENT(in) :: kt
54      WRITE(*,*) 'sed_stp: You should not have seen this print! error?', kt
55   END SUBROUTINE sed_model
56#endif
57
58END MODULE sedmodel
Note: See TracBrowser for help on using the repository browser.