/[MITgcm]/MITgcm_contrib/heimbach/ice_only_estimation/code/forward_step.F
ViewVC logotype

Contents of /MITgcm_contrib/heimbach/ice_only_estimation/code/forward_step.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sat Sep 3 12:01:23 2005 UTC (19 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: HEAD
A seaice-only (no ocean) config. for 1x1 deg. Lab. Sea

1 C $Header: /u/gcmpack/MITgcm/pkg/ecco/forward_step.F,v 1.1 2003/11/06 22:10:08 heimbach Exp $
2 C $Name: $
3
4 #include "PACKAGES_CONFIG.h"
5 #include "CPP_OPTIONS.h"
6
7 CBOP
8 C !ROUTINE: FORWARD_STEP
9 C !INTERFACE:
10 SUBROUTINE FORWARD_STEP( iloop, myTime, myIter, myThid )
11
12 C !DESCRIPTION: \bv
13 C *==================================================================
14 C | SUBROUTINE forward_step
15 C | o Run the ocean model and, optionally, evaluate a cost function.
16 C *==================================================================
17 C |
18 C | THE_MAIN_LOOP is the toplevel routine for the Tangent Linear and
19 C | Adjoint Model Compiler (TAMC). For this purpose the initialization
20 C | of the model was split into two parts. Those parameters that do
21 C | not depend on a specific model run are set in INITIALISE_FIXED,
22 C | whereas those that do depend on the specific realization are
23 C | initialized in INITIALISE_VARIA.
24 C |
25 C *==================================================================
26 C \ev
27
28 C !USES:
29 IMPLICIT NONE
30 C == Global variables ==
31 #include "SIZE.h"
32 #include "EEPARAMS.h"
33 #include "PARAMS.h"
34
35 C !LOCAL VARIABLES:
36 C == Routine arguments ==
37 C note: under the multi-threaded model myiter and
38 C mytime are local variables passed around as routine
39 C arguments. Although this is fiddly it saves the need to
40 C impose additional synchronisation points when they are
41 C updated.
42 C myiter - iteration counter for this thread
43 C mytime - time counter for this thread
44 C mythid - thread number for this instance of the routine.
45 integer iloop
46 integer mythid
47 integer myiter
48 _RL mytime
49
50 CEOP
51
52 #ifndef DISABLE_DEBUGMODE
53 IF ( debugLevel .GE. debLevB )
54 & CALL DEBUG_ENTER('FORWARD_STEP',myThid)
55 #endif
56
57 c-- This is a placeholder routine for the ecco setup.
58 c-- In the ECCO configuration this routine is inlined
59 c-- in the_main_loop routine for AD-reasons.
60
61 STOP 'S/R forward_step should never be called when ALLOW_ECCO'
62
63 END

  ViewVC Help
Powered by ViewVC 1.1.22