/[MITgcm]/MITgcm/pkg/ecco/ecco_init.F
ViewVC logotype

Contents of /MITgcm/pkg/ecco/ecco_init.F

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


Revision 1.2 - (show annotations) (download)
Fri Jan 11 19:24:24 2002 UTC (22 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint44b_post, checkpoint44e_post, checkpoint45b_post, checkpoint44g_post, release1_final_v1, checkpoint44b_pre, checkpoint44, checkpoint45, checkpoint44f_post, checkpoint44h_pre, chkpt44d_post, chkpt44a_post, chkpt44c_post, checkpoint44f_pre, checkpoint44e_pre, checkpoint44h_post, checkpoint45a_post, chkpt44a_pre, chkpt44c_pre
Branch point for: release1_final
Changes since 1.1: +4 -8 lines
Changes to enable field swapping for external forcing
consistent with adjoint flow.
This allows to avoid in both forward and adjoint mode
the reading of fields at every time step.

1 C $Header: /u/gcmpack/MITgcm/pkg/ecco/ecco_init.F,v 1.1 2001/05/14 22:10:37 heimbach Exp $
2
3 #include "CPP_OPTIONS.h"
4
5
6 subroutine ecco_init(
7 I mythid
8 & )
9
10 c ==================================================================
11 c SUBROUTINE ecco_init
12 c ==================================================================
13 c
14 c o Initialize the ECCO release of the MITgcmUV.
15 c
16 c started: Christian Eckert eckert@mit.edu 29-Feb-1999
17 c
18 c - Introduced to create a package for the MITgcmUV.
19 c
20 c changed: Christian Eckert eckert@mit.edu
21 c
22 c ==================================================================
23 c SUBROUTINE ecco_init
24 c ==================================================================
25
26 implicit none
27
28 c == global variables ==
29
30 #include "SIZE.h"
31 #include "EEPARAMS.h"
32 #include "PARAMS.h"
33
34 c == routine arguments ==
35
36 integer mythid
37
38 c == local variables ==
39
40 c == external ==
41
42 c == end of interface ==
43
44 #ifdef INCLUDE_ECCO_PACKAGE
45
46 #ifndef ALLOW_ECCO_FORWARD_RUN
47 c-- Map the control variables onto the model state.
48 call ctrl_Map( mythid )
49 _BARRIER
50
51 c-- Initialise the cost function.
52 call cost_InitVaria( mythid )
53
54 c-- Initialise the time averages.
55 call cost_AveragesInit( mythid )
56 #endif
57
58 #endif
59
60 c-- Everyone else must wait for the parameters to be loaded and
61 c-- the setup to be completed.
62 _BARRIER
63
64 return
65 end
66

  ViewVC Help
Powered by ViewVC 1.1.22