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/NEMOGCM/NEMO/TOP_SRC/SED – NEMO

source: trunk/NEMOGCM/NEMO/TOP_SRC/SED/sedmodel.F90 @ 2528

Last change on this file since 2528 was 2528, checked in by rblod, 13 years ago

Update NEMOGCM from branch nemo_v3_3_beta

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