Parent Directory | Revision Log | Revision Graph
o first check-in for the "branch-genmake2" merge o verification suite as run on shelley (gcc 3.2.2): Wed Oct 8 23:42:29 EDT 2003 T S U V G D M c m s m s m s m s E p a R g m m e . m m e . m m e . m m e . N n k u 2 i a a d i a a d i a a d i a a d 2 d e n d n x n . n x n . n x n . n x n . OPTFILE=NONE Y Y Y Y 13 16 16 16 0 16 16 16 16 16 16 16 16 13 12 0 0 pass adjustment.128x64x1 Y Y Y Y 16 16 16 16 0 16 16 16 16 16 16 0 0 16 16 0 0 pass adjustment.cs-32x32x1 Y Y Y Y 16 16 16 16 0 16 16 16 16 16 16 22 0 16 16 22 0 pass adjust_nlfs.cs-32x32x1 Y Y Y Y -- 13 13 16 16 13 13 13 13 16 16 16 16 16 16 16 16 N/O advect_cs Y Y Y Y -- 22 16 16 16 16 16 16 13 16 16 16 16 16 16 16 16 N/O advect_xy Y Y Y Y -- 13 16 13 16 16 16 16 16 16 16 22 16 16 16 16 16 N/O advect_xz Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass aim.5l_cs Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 16 16 16 16 13 16 pass aim.5l_Equatorial_Channel Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 13 16 16 13 13 16 pass aim.5l_LatLon Y Y Y Y 13 16 16 16 16 16 16 16 16 16 13 12 13 13 16 13 16 pass exp0 Y Y Y Y 14 16 16 16 16 16 16 16 22 16 16 16 13 16 16 22 16 pass exp1 Y Y Y Y 13 13 16 13 16 16 16 16 16 13 13 16 16 13 13 13 13 pass exp2 Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass exp4 Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 22 16 16 16 22 16 pass exp5 Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass front_relax Y Y Y Y 14 16 16 13 13 16 16 13 13 16 13 13 16 12 13 13 16 pass global_ocean.90x40x15 Y Y Y Y 10 16 16 13 13 16 13 16 16 13 13 13 13 16 16 13 16 FAIL global_ocean.cs32x15 Y Y Y Y 6 11 12 13 13 12 13 16 13 9 9 9 9 10 9 9 11 FAIL global_ocean_pressure Y Y Y Y 14 16 16 13 16 16 16 13 13 13 13 13 16 12 16 13 16 pass global_with_exf Y Y Y Y 14 16 16 16 16 16 16 16 16 11 13 22 13 16 16 9 16 pass hs94.128x64x5 Y Y Y Y 13 16 16 16 16 16 16 16 16 11 16 16 16 13 16 22 13 pass hs94.1x64x5 Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 13 13 16 16 22 13 pass hs94.cs-32x32x5 Y Y Y Y 10 10 16 13 13 16 16 16 22 16 13 13 13 13 13 22 13 FAIL ideal_2D_oce Y Y Y Y 8 16 16 16 16 16 16 16 16 13 13 8 16 16 16 16 16 FAIL internal_wave Y Y Y Y 14 16 16 16 16 16 16 16 16 13 13 22 13 13 13 22 16 pass inverted_barometer Y Y Y Y 12 16 16 16 16 16 16 16 16 16 13 12 13 13 13 13 13 FAIL lab_sea Y Y Y Y 11 16 16 16 16 16 16 16 13 13 13 12 13 16 13 12 13 FAIL natl_box Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass plume_on_slope Y Y Y Y 13 16 16 16 16 13 16 16 16 16 16 16 16 13 16 16 16 pass solid-body.cs-32x32x1
1 | #include "DIC_OPTIONS.h" |
2 | #include "GCHEM_OPTIONS.h" |
3 | |
4 | CStartOfInterFace |
5 | SUBROUTINE ALK_SURFFORCING( PTR_ALK , GALK, |
6 | I bi,bj,imin,imax,jmin,jmax, |
7 | I myIter,myTime,myThid) |
8 | |
9 | C /==========================================================\ |
10 | C | SUBROUTINE ALK_SURFFORCING | |
11 | C | o Calculate the alkalinity change due to freshwater flux | |
12 | C |==========================================================| |
13 | IMPLICIT NONE |
14 | |
15 | C == GLobal variables == |
16 | #include "SIZE.h" |
17 | #include "DYNVARS.h" |
18 | #include "EEPARAMS.h" |
19 | #include "PARAMS.h" |
20 | #include "GRID.h" |
21 | #include "FFIELDS.h" |
22 | #include "DIC_ABIOTIC.h" |
23 | |
24 | C == Routine arguments == |
25 | INTEGER myIter, myThid |
26 | _RL myTime |
27 | _RL PTR_ALK(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr) |
28 | _RL GALK(1-OLx:sNx+OLx,1-OLy:sNy+OLy) |
29 | INTEGER iMin,iMax,jMin,jMax, bi, bj |
30 | |
31 | #ifdef ALLOW_PTRACERS |
32 | #ifdef DIC_BIOTIC |
33 | C == Local variables == |
34 | INTEGER I,J |
35 | |
36 | DO j=1-OLy,sNy+OLy |
37 | DO i=1-OLx,sNx+OLx |
38 | IF (maskC(i,j,1,bi,bj).NE.0.) THEN |
39 | c calculate virtual flux |
40 | c EminusPforV = dS/dt*(1/Sglob) |
41 | C NOTE: Be very careful with signs here! |
42 | C Positive EminusPforV => loss of water to atmos and increase |
43 | C in salinity. Thus, also increase in other surface tracers |
44 | C (i.e. positive virtual flux into surface layer) |
45 | cQQ GALK(i,j)=gsm_ALK*ftotflux(i,j,bi,bj)/gsm_S |
46 | GALK(i,j)=gsm_ALK*surfaceTendencyS(i,j,bi,bj)/gsm_S |
47 | c OR |
48 | c let virtual flux be zero |
49 | c GALK(i,j)=0.d0 |
50 | c |
51 | ELSE |
52 | GALK(i,j)=0. _d 0 |
53 | ENDIF |
54 | ENDDO |
55 | ENDDO |
56 | |
57 | #endif |
58 | #endif |
59 | RETURN |
60 | END |
ViewVC Help | |
Powered by ViewVC 1.1.22 |