/[MITgcm]/MITgcm/pkg/ptracers/PTRACERS.h
ViewVC logotype

Contents of /MITgcm/pkg/ptracers/PTRACERS.h

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


Revision 1.18 - (show annotations) (download)
Fri Oct 14 12:45:05 2005 UTC (18 years, 8 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint58e_post, checkpoint58b_post, checkpoint57y_post, checkpoint57x_post, checkpoint57y_pre, checkpoint58, checkpoint58d_post, checkpoint57w_post, checkpoint58a_post, checkpoint57z_post, checkpoint58c_post
Changes since 1.17: +5 -1 lines
File MIME type: text/plain
o add namelist parameter PTRACERS_ref in analogy to tRef
  and sRef for convenience, handy, when you want to initialize
  ptracers in a large domain with a constant non-zero value. Also,
  untangle ptracers_init.F a little.

1 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/PTRACERS.h,v 1.17 2005/10/11 08:35:36 mlosch Exp $
2 C $Name: $
3
4 #ifdef ALLOW_PTRACERS
5
6 CBOP
7 C !ROUTINE: PTRACERS.h
8 C !INTERFACE:
9 C #include PTRACERS.h
10
11 C !DESCRIPTION:
12 C Contains passive tracer fields and parameters.
13
14 C Package flag
15 logical PTRACERSisON
16 COMMON /PTRACERS_PACKAGE/ PTRACERSisON
17
18 C PTRACERS_taveFreq :: Frequency with which time-averaged PTRACERS
19 C are written to post-processing files.
20 C PTRACERS_Iter0 :: timestep number when tracers are initialized
21 C PTRACERS_ref :: vertical profile for passive tracers, in
22 C analogy to tRef and sRef, hence the name
23
24 C PTRACERS parameters
25 _RL PTRACERS_dumpFreq
26 _RL PTRACERS_taveFreq
27 _RL PTRACERS_monitorFreq
28 _RL PTRACERS_diffKh(PTRACERS_num)
29 _RL PTRACERS_diffK4(PTRACERS_num)
30 _RL PTRACERS_diffKrNr(Nr,PTRACERS_num)
31 _RL PTRACERS_ref(Nr,PTRACERS_num)
32 INTEGER PTRACERS_Iter0
33 INTEGER PTRACERS_numInUse
34 INTEGER PTRACERS_advScheme(PTRACERS_num)
35 LOGICAL PTRACERS_ImplVertAdv(PTRACERS_num)
36 LOGICAL PTRACERS_useGMRedi(PTRACERS_num)
37 LOGICAL PTRACERS_useKPP(PTRACERS_num)
38 LOGICAL PTRACERS_useRecords
39 CHARACTER*(MAX_LEN_FNAM) PTRACERS_initialFile(PTRACERS_num)
40 CHARACTER*(MAX_LEN_FNAM) PTRACERS_names(PTRACERS_num)
41 CHARACTER*(MAX_LEN_FNAM) PTRACERS_long_names(PTRACERS_num)
42 CHARACTER*(MAX_LEN_FNAM) PTRACERS_units(PTRACERS_num)
43 LOGICAL
44 & PTRACERS_monitor_mnc, PTRACERS_monitor_stdio,
45 & PTRACERS_timeave_mdsio, PTRACERS_snapshot_mdsio,
46 & PTRACERS_pickup_write_mdsio, PTRACERS_pickup_read_mdsio,
47 & PTRACERS_timeave_mnc, PTRACERS_snapshot_mnc,
48 & PTRACERS_pickup_write_mnc, PTRACERS_pickup_read_mnc
49 COMMON /PTRACERS_PARAMS/
50 & PTRACERS_dumpFreq,
51 & PTRACERS_taveFreq,
52 & PTRACERS_monitorFreq,
53 & PTRACERS_diffKh,
54 & PTRACERS_diffK4,
55 & PTRACERS_diffKrNr,
56 & PTRACERS_ref,
57 & PTRACERS_Iter0,
58 & PTRACERS_numInUse,
59 & PTRACERS_advScheme,
60 & PTRACERS_ImplVertAdv,
61 & PTRACERS_useGMRedi,
62 & PTRACERS_useKPP,
63 & PTRACERS_useRecords,
64 & PTRACERS_initialFile,
65 & PTRACERS_names,
66 & PTRACERS_long_names,
67 & PTRACERS_units,
68 & PTRACERS_timeave_mdsio, PTRACERS_snapshot_mdsio,
69 & PTRACERS_pickup_write_mdsio, PTRACERS_pickup_read_mdsio,
70 & PTRACERS_monitor_stdio, PTRACERS_monitor_mnc,
71 & PTRACERS_timeave_mnc, PTRACERS_snapshot_mnc,
72 & PTRACERS_pickup_write_mnc, PTRACERS_pickup_read_mnc
73
74
75 C pTracer :: passive tracer concentration (tr per unit volume).
76 C gPtr :: work-space for time-stepping
77 C gPtrNM1 :: work-space for time-stepping
78 _RL pTracer (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
79 & PTRACERS_num)
80 _RL gPtr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
81 & PTRACERS_num)
82 _RL gPtrNM1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
83 & PTRACERS_num)
84 _RL surfaceForcingPtr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy,
85 & PTRACERS_num)
86 COMMON /PTRACERS_FIELDS/
87 & pTracer, gPtr, gPtrNM1, surfaceForcingPtr
88
89 CEOP
90 #endif /* ALLOW_PTRACERS */
91
92 CEH3 ;;; Local Variables: ***
93 CEH3 ;;; mode:fortran ***
94 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22