/[MITgcm]/MITgcm_contrib/many_tracers/original_code/PTRACERS.h
ViewVC logotype

Contents of /MITgcm_contrib/many_tracers/original_code/PTRACERS.h

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


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Thu Jun 15 02:23:53 2006 UTC (19 years, 1 month ago) by cnh
Branch: initial, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Error occurred while calculating annotation data.
Initial checkin

1 C $Header: /u/gcmpack/MITgcm/pkg/ptracers/PTRACERS.h,v 1.19 2006/05/23 23:32:41 jmc 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 C PTRACERS_EvPrRn :: tracer concentration in Rain, Evap & RunOff
24 C notes: a) used if both NonLin_FrSurf & useRealFreshWater are set.
25 C b) use pTracer surface (local) value if = UNSET_RL (default)
26
27 C PTRACERS parameters
28 _RL PTRACERS_dumpFreq
29 _RL PTRACERS_taveFreq
30 _RL PTRACERS_monitorFreq
31 _RL PTRACERS_diffKh(PTRACERS_num)
32 _RL PTRACERS_diffK4(PTRACERS_num)
33 _RL PTRACERS_diffKrNr(Nr,PTRACERS_num)
34 _RL PTRACERS_ref(Nr,PTRACERS_num)
35 _RL PTRACERS_EvPrRn(PTRACERS_num)
36 INTEGER PTRACERS_Iter0
37 INTEGER PTRACERS_numInUse
38 INTEGER PTRACERS_advScheme(PTRACERS_num)
39 LOGICAL PTRACERS_ImplVertAdv(PTRACERS_num)
40 LOGICAL PTRACERS_useGMRedi(PTRACERS_num)
41 LOGICAL PTRACERS_useKPP(PTRACERS_num)
42 LOGICAL PTRACERS_useRecords
43 CHARACTER*(MAX_LEN_FNAM) PTRACERS_initialFile(PTRACERS_num)
44 CHARACTER*(MAX_LEN_FNAM) PTRACERS_names(PTRACERS_num)
45 CHARACTER*(MAX_LEN_FNAM) PTRACERS_long_names(PTRACERS_num)
46 CHARACTER*(MAX_LEN_FNAM) PTRACERS_units(PTRACERS_num)
47 LOGICAL
48 & PTRACERS_monitor_mnc, PTRACERS_monitor_stdio,
49 & PTRACERS_timeave_mdsio, PTRACERS_snapshot_mdsio,
50 & PTRACERS_pickup_write_mdsio, PTRACERS_pickup_read_mdsio,
51 & PTRACERS_timeave_mnc, PTRACERS_snapshot_mnc,
52 & PTRACERS_pickup_write_mnc, PTRACERS_pickup_read_mnc
53 COMMON /PTRACERS_PARAMS/
54 & PTRACERS_dumpFreq,
55 & PTRACERS_taveFreq,
56 & PTRACERS_monitorFreq,
57 & PTRACERS_diffKh,
58 & PTRACERS_diffK4,
59 & PTRACERS_diffKrNr,
60 & PTRACERS_ref,
61 & PTRACERS_EvPrRn,
62 & PTRACERS_Iter0,
63 & PTRACERS_numInUse,
64 & PTRACERS_advScheme,
65 & PTRACERS_ImplVertAdv,
66 & PTRACERS_useGMRedi,
67 & PTRACERS_useKPP,
68 & PTRACERS_useRecords,
69 & PTRACERS_initialFile,
70 & PTRACERS_names,
71 & PTRACERS_long_names,
72 & PTRACERS_units,
73 & PTRACERS_timeave_mdsio, PTRACERS_snapshot_mdsio,
74 & PTRACERS_pickup_write_mdsio, PTRACERS_pickup_read_mdsio,
75 & PTRACERS_monitor_stdio, PTRACERS_monitor_mnc,
76 & PTRACERS_timeave_mnc, PTRACERS_snapshot_mnc,
77 & PTRACERS_pickup_write_mnc, PTRACERS_pickup_read_mnc
78
79
80 C pTracer :: passive tracer concentration (tr per unit volume).
81 C gPtr :: work-space for time-stepping
82 C gPtrNM1 :: work-space for time-stepping
83 _RL pTracer (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
84 & PTRACERS_num)
85 _RL gPtr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
86 & PTRACERS_num)
87 _RL gPtrNM1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
88 & PTRACERS_num)
89 _RL surfaceForcingPtr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy,
90 & PTRACERS_num)
91 COMMON /PTRACERS_FIELDS/
92 & pTracer, gPtr, gPtrNM1, surfaceForcingPtr
93
94 CEOP
95 #endif /* ALLOW_PTRACERS */
96
97 CEH3 ;;; Local Variables: ***
98 CEH3 ;;; mode:fortran ***
99 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22