/[MITgcm]/MITgcm/pkg/shap_filt/shap_filt_apply_uv.F
ViewVC logotype

Contents of /MITgcm/pkg/shap_filt/shap_filt_apply_uv.F

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


Revision 1.1.6.1 - (show annotations) (download)
Tue Feb 26 16:04:49 2002 UTC (22 years, 3 months ago) by adcroft
Branch: release1
CVS Tags: release1_p13_pre, release1_p13, release1_p8, release1_p9, release1_p1, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, release1_chkpt44d_post, release1_p12, release1_p10, release1_p11, release1_p16, release1_p17, release1_p14, release1_p15, release1_p12_pre
Branch point for: release1_50yr
Changes since 1.1: +2 -2 lines
Merging changes on MAIN between checkpoint43 and checkpoint43a-release1mods
Command: cvs -q update -jcheckpoint43 -jcheckpoint43a-release1mods -d -P

These changes are most of the changes between c43 and c44 except those
that occured after "12:45 11 Jan 2002". As far as I can tell it is
checkpoint43 with the following mods:

  o fix bug in mom_vi_del2uv
  o select when filters are applied ; add options to zonal_filter (data.zonfilt)  o gmredi: fix Pb in the adiabatic form ; add options (.e.g. Bolus advection)
  o update AIM experiments (NCEP input files)
  o improve and extend diagnostics (Monitor, TimeAve with NonLin-FrSurf)
  o added some stuff for AD
  o Jamar wet-points

This update does not contain the following mods that are in checkpoint44

  o bug fix in pkg/generic_advdiff/
    - thread related bug, bi,bj arguments in vertical advection routines
  o some changes to pkg/autodiff, pkg/cost, pkg/exf, pkg/ecco,
    verification/carbon and model/src/ related to adjoint
  o some new Matlab scripts for diagnosing model density
    - utils/matlab/dens_poly3.m and ini_poly3.m

The list of exclusions is accurate based on a "cvs diff". The list of
inclusions is based on the record in doc/tag-index which may not be complete.

1 C $Header: /u/gcmpack/MITgcm/pkg/shap_filt/shap_filt_apply_uv.F,v 1.1 2001/12/11 14:35:02 jmc Exp $
2 C $Name: checkpoint43a-release1mods $
3
4 #include "SHAP_FILT_OPTIONS.h"
5
6 SUBROUTINE SHAP_FILT_APPLY_UV(
7 U uFld, vFld,
8 I myTime, myIter, myThid )
9 C /==========================================================\
10 C | S/R SHAP_FILT_APPLY |
11 C | Shapiro filters the argments uFld & vFld |
12 C \==========================================================/
13 IMPLICIT NONE
14
15 C == Global variables ===
16 #include "SIZE.h"
17 #include "EEPARAMS.h"
18 #include "PARAMS.h"
19 #include "DYNVARS.h"
20 #include "GRID.h"
21 #ifdef ALLOW_SHAP_FILT
22 #include "SHAP_FILT.h"
23 #endif
24
25 C == Routine arguments ==
26 _RL uFld(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
27 _RL vFld(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
28 INTEGER myThid
29 _RL myTime
30 INTEGER myIter
31
32 #ifdef ALLOW_SHAP_FILT
33 C == Local variables ==
34 C bi, bj, k
35 #ifdef USE_OLD_SHAPIRO_FILTERS
36 INTEGER bi, bj, k
37 #endif /* USE_OLD_SHAPIRO_FILTERS */
38
39 IF (nShapUV.GT.0) THEN
40
41 #ifdef USE_OLD_SHAPIRO_FILTERS
42 _EXCH_XYZ_R8( uFld,myThid )
43 _EXCH_XYZ_R8( vFld,myThid )
44
45 DO bj=myByLo(myThid),myByHi(myThid)
46 DO bi=myBxLo(myThid),myBxHi(myThid)
47 DO k=1, Nr
48 CALL SHAP_FILT_U( uFld,bi,bj,k,myTime,myThid )
49 CALL SHAP_FILT_V( vFld,bi,bj,k,myTime,myThid )
50 ENDDO
51 ENDDO
52 ENDDO
53
54 _EXCH_XYZ_R8( uFld,myThid )
55 _EXCH_XYZ_R8( vFld,myThid )
56 #else
57 IF ( momStepping .AND. nShapUV.GT.0) THEN
58 IF (Shap_funct.EQ.1) THEN
59 CALL SHAP_FILT_UV_S1(
60 U uFld, vFld,
61 I myTime, myThid )
62 ELSEIF (Shap_funct.EQ.2) THEN
63 CALL SHAP_FILT_UV_S2(
64 U uFld, vFld,
65 I myTime, myThid )
66 ELSEIF (Shap_funct.EQ.4) THEN
67 CALL SHAP_FILT_UV_S4(
68 U uFld, vFld,
69 I myTime, myThid )
70 ELSEIF (Shap_funct.EQ.20) THEN
71 CALL SHAP_FILT_UV_S2G(
72 U uFld, vFld,
73 I myTime, myThid )
74 ELSE
75 STOP 'SHAP_FILT_APPLY: Ooops! Bad Shap_funct in UV block'
76 ENDIF
77 ENDIF
78
79 #endif /* USE_OLD_SHAPIRO_FILTERS */
80
81 ENDIF
82 #endif /* ALLOW_SHAP_FILT */
83
84 RETURN
85 END

  ViewVC Help
Powered by ViewVC 1.1.22