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

source: branches/2014/dev_r4650_UKMO11_restart_functionality/NEMOGCM/NEMO/TOP_SRC/PISCES/SED/sedmodel.F90 @ 5312

Last change on this file since 5312 was 5312, checked in by timgraham, 9 years ago

Reset svn:keywords Id property

  • Property svn:keywords set to Id
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
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
37      IF( kt == nittrc000 ) CALL sed_init       ! Initialization of sediment model
38
39                         CALL sed_stp( kt )  ! Time stepping of Sediment model
40
41
42   END SUBROUTINE sed_model
43
44#else
45   !!======================================================================
46   !! MODULE sedmodel  :   Dummy module
47   !!======================================================================
48   LOGICAL, PUBLIC, PARAMETER ::   lk_sed = .FALSE.     !: sediment flag
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.