/[MITgcm]/MITgcm_contrib/ocean_inversion_project/code/PTRACERS.h
ViewVC logotype

Diff of /MITgcm_contrib/ocean_inversion_project/code/PTRACERS.h

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

revision 1.1 by dimitri, Thu Sep 18 02:33:38 2003 UTC revision 1.4 by dimitri, Thu Sep 25 03:01:59 2003 UTC
# Line 10  C #include PTRACERS.h Line 10  C #include PTRACERS.h
10    
11  C    !DESCRIPTION:  C    !DESCRIPTION:
12  C Contains passive tracer fields and parameters.  C Contains passive tracer fields and parameters.
13  cdm   This file is customized to compute CO2 perturbations from 30 ocean  C This file is customized to compute CO2 perturbations from
14  cdm   regions for Gruber's ocean inversion project.  C 30 ocean regions for Gruber's ocean inversion project.
15    
16  C     Package flag  C     Package flag
17        logical PTRACERSisON        logical PTRACERSisON
18        COMMON /PTRACERS_PACKAGE/ PTRACERSisON        COMMON /PTRACERS_PACKAGE/ PTRACERSisON
19    
20    C NUMBER_OF_PTRACERS defines how many passive tracers are allocated/exist.
21    C This CPP macro is *only* used in PTRACERS.h to set an integer parameter.
22    C <Please> do not make use of it elsewhere.
23    C
24    C NUMBER_OF_PTRACERS can be defined in CPP_OPTIONS.h, or in the Makefile
25    C with DEFINES=-DNUMBER_OF_PTRACERS=4
26    C
27    C If NUMBER_OF_PTRACERS is not specified elsewhere and ALLOW_PTRACERS
28    C is set then NUMBER_OF_PTRACERS is set here (default 1)
29    #ifndef NUMBER_OF_PTRACERS
30    #define NUMBER_OF_PTRACERS 30
31    #endif
32    
33  C     Number of tracers  C     Number of tracers
34        INTEGER PTRACERS_num        INTEGER PTRACERS_num
35        PARAMETER(PTRACERS_num = NUMBER_OF_PTRACERS)        PARAMETER(PTRACERS_num = NUMBER_OF_PTRACERS)
# Line 61  C     gPtrNM1  :: work-space for time-st Line 74  C     gPtrNM1  :: work-space for time-st
74       &              PTRACERS_num)       &              PTRACERS_num)
75        _RL  gPtrNM1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,        _RL  gPtrNM1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy,
76       &              PTRACERS_num)       &              PTRACERS_num)
77        COMMON /PTRACERS_FIELDS/        _RL  surfaceTendencyPtr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy,
78       &                   pTracer,       &              PTRACERS_num)
79       &                   gPtr,        COMMON /PTRACERS_FIELDS/
80       &                   gPtrNM1       &              pTracer, gPtr, gPtrNM1, surfaceTendencyPtr
81    
82  cdm   pTracerMasks :: masks used to define 30 ocean regions  C     pTracerMasks :: masks used to define 30 ocean regions
83  cdm                   for Gruber's ocean inversion project  C                     for Gruber's ocean inversion project
84        INTEGER pTracerMasks(1-OLx:sNx+OLx,1-OLy:sNy+OLy,        INTEGER pTracerMasks(1-OLx:sNx+OLx,1-OLy:sNy+OLy,
85       &                     PTRACERS_num,nSx,nSy)       &                     PTRACERS_num,nSx,nSy)
86        COMMON /PTRACERS_MASKS/ pTracerMasks        COMMON /PTRACERS_MASKS/ pTracerMasks
87    
88    C     pTracerTakahashi :: variable containing monthly mean
89    C                         Takahashi CO2 flux climatology
90          _RS pTracerTakahashi(1-OLx:sNx+OLx,1-OLy:sNy+OLy,12,nSx,nSy)
91          COMMON /PTRACERS_Takahashi/ pTracerTakahashi
92    
93  CEOP  CEOP
94  #endif /* ALLOW_PTRACERS */  #endif /* ALLOW_PTRACERS */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22