/[MITgcm]/MITgcm/pkg/exf/exf_interp.F
ViewVC logotype

Log of /MITgcm/pkg/exf/exf_interp.F

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


Links to HEAD: (view) (download) (annotate)
Links to checkpoint65k: (view) (download) (annotate)
Sticky Tag:

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Fri Mar 13 14:16:36 2015 UTC (9 years, 8 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint65k
Changes since 1.31: +76 -28 lines
Diff to previous 1.31
add code to allow input grids with latitude starting in the north
(when j=1 corresponds to northern edge of field)


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Thu Jun 5 15:37:46 2014 UTC (10 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64z, checkpoint65, checkpoint65a, checkpoint65b, checkpoint65c, checkpoint65d, checkpoint65e, checkpoint65f, checkpoint65g, checkpoint65h, checkpoint65i, checkpoint65j
Changes since 1.30: +6 -3 lines
Diff to previous 1.30
- new integer parameter "exf_debugLev" (default set to main model debugLevel)
  to replace logical switch "exf_verbose".


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Apr 2 21:24:54 2012 UTC (12 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint64, checkpoint64a, checkpoint64b, checkpoint64c, checkpoint64d, checkpoint64e, checkpoint64f, checkpoint64g, checkpoint64h, checkpoint64i, checkpoint64j, checkpoint64k, checkpoint64l, checkpoint64m, checkpoint64n, checkpoint64o, checkpoint64p, checkpoint64q, checkpoint64r, checkpoint64s, checkpoint64t, checkpoint64u, checkpoint64v, checkpoint64w, checkpoint64x
Changes since 1.29: +3 -1 lines
Diff to previous 1.29
avoid multiple print to the same file (STDOUT) if multi-threads


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Thu Jan 5 20:24:02 2012 UTC (12 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63i, checkpoint63j, checkpoint63k
Changes since 1.28: +201 -325 lines
Diff to previous 1.28
- remove OLD_EXF_INTERP_LAT_INDEX code ;
- move interpolation into separated S/R and file: exf_interpolate.F
- extended input field (2 rows) near the N & S poles:
 * fill in with the symetric value (when even Nb of data in longitude)
 * add average value at the poles only for scalar quantities (for vector
   component interpolation, skip the averaging and keep duplicated values)
- add argument myIter and add debug print on 1rst iter if debugLevel >=2


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sun Jan 1 15:25:23 2012 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27
for TAF, remove function DFLOAT.


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sun Jan 1 01:24:54 2012 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.26: +392 -274 lines
Diff to previous 1.26
- assume periodicity in X only if input field cover full longitude range.
- improve search for lat. index (supposed to be faster, in ~log2(ny) steps,
  and should vectorise).
- fix input lat of the 2 added rows (in case we provide N.pole data).
- improve error messages; rename nx_in,nx_in -> nxIn,nyIn + few other edits


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Thu Dec 22 19:03:41 2011 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint63h
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
remove/avoid un-used variables


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue Jun 7 22:17:45 2011 UTC (13 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62z, checkpoint63, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
refine debugLevel criteria when printing messages


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Wed Apr 7 20:52:30 2010 UTC (14 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint62e, checkpoint62f, checkpoint62g, checkpoint62h, checkpoint62i, checkpoint62j, checkpoint62k, checkpoint62l, checkpoint62m, checkpoint62n, checkpoint62o, checkpoint62p, checkpoint62q, checkpoint62r, checkpoint62s, checkpoint62t, checkpoint62u, checkpoint62v, checkpoint62w, checkpoint62x, checkpoint62y
Changes since 1.23: +31 -28 lines
Diff to previous 1.23
- fix for case ny_in=1 ;
- remove tab ;
- put i loop inside jloop (instead of the opposite).


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Thu Jan 24 08:29:51 2008 UTC (16 years, 10 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint59n, checkpoint59o, checkpoint59p, checkpoint59q, checkpoint59r, checkpoint60, checkpoint61, checkpoint61a, checkpoint61b, checkpoint61c, checkpoint61d, checkpoint61e, checkpoint61f, checkpoint61g, checkpoint61h, checkpoint61i, checkpoint61j, checkpoint61k, checkpoint61l, checkpoint61m, checkpoint61n, checkpoint61o, checkpoint61p, checkpoint61q, checkpoint61r, checkpoint61s, checkpoint61t, checkpoint61u, checkpoint61v, checkpoint61w, checkpoint61x, checkpoint61y, checkpoint61z, checkpoint62, checkpoint62a, checkpoint62b, checkpoint62c, checkpoint62d
Changes since 1.22: +60 -1 lines
Diff to previous 1.22
o finish vectorization of exf_interp for TARGET_NEC_SX
  by unrolling short inner k-loops by hand (arghhh!)


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Wed Jan 23 16:41:01 2008 UTC (16 years, 10 months ago) by mlosch
Branch: MAIN
Changes since 1.21: +72 -2 lines
Diff to previous 1.21
  - improve vectorizability of exf_interp for TARGET_NEC_SX, makes code
    ugly but fast (vectorization is not yet complete)


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Thu May 10 22:26:19 2007 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59b, checkpoint59c, checkpoint59d, checkpoint59e, checkpoint59f, checkpoint59g, checkpoint59h, checkpoint59i, checkpoint59j, checkpoint59k, checkpoint59l, checkpoint59m
Changes since 1.20: +3 -3 lines
Diff to previous 1.20
previous check-in msg was wrong:
- change all real*4,real*8  to _RS, _RL : in particular, no longer loose
 real*8 precision when using exf_iprec=64.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu May 10 22:21:08 2007 UTC (17 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.19: +47 -43 lines
Diff to previous 1.19
merge global_with_exf/code version to the main code:
 uses fixed size (=exf_interp_bufferSize) array to read-in (ifndef
 EXF_INTERP_USE_DYNALLOC): seems to work better in multi-threaded.


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Mon Apr 16 23:27:21 2007 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59, checkpoint59a
Changes since 1.18: +3 -0 lines
Diff to previous 1.18
move EXF header files from lower_case.h to UPPER_CASE.h ;
 add missing cvs Header & Name


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sun Jul 2 13:02:22 2006 UTC (18 years, 5 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint58k_post, checkpoint58l_post, checkpoint58m_post, checkpoint58n_post, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58r_post, checkpoint58s_post, checkpoint58t_post, checkpoint58u_post, checkpoint58v_post, checkpoint58w_post, checkpoint58x_post, checkpoint58y_post
Changes since 1.17: +36 -46 lines
Diff to previous 1.17
for bicubic interpolation, identical consecutive
input grid latitudes are not allowed


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Jul 1 03:38:34 2006 UTC (18 years, 5 months ago) by dimitri
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16
added a missing carriage/return


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Jul 1 03:20:33 2006 UTC (18 years, 5 months ago) by dimitri
Branch: MAIN
Changes since 1.15: +5 -4 lines
Diff to previous 1.15
numeral 90 changed to parameter ninety as required by certain compilers


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri Jun 30 12:05:42 2006 UTC (18 years, 5 months ago) by dimitri
Branch: MAIN
Changes since 1.14: +51 -14 lines
Diff to previous 1.14
o pkg/exf modifications to interpolation and rotation routines for more
   reasonable treatment of North Pole singularity: for tracers North Pole
   value is set to northernmost zonal-mean value, for zonal velocity it is
   set to zero, and for meridional velocity it is set to northernmost value.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sat Jan 14 20:47:43 2006 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint58a_post, checkpoint58b_post, checkpoint58c_post, checkpoint58d_post, checkpoint58e_post, checkpoint58f_post, checkpoint58g_post, checkpoint58h_post, checkpoint58i_post, checkpoint58j_post
Changes since 1.13: +6 -12 lines
Diff to previous 1.13
fix for different longitude origin in input field & model grid


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat Jan 14 18:09:45 2006 UTC (18 years, 10 months ago) by heimbach
Branch: MAIN
Changes since 1.12: +13 -9 lines
Diff to previous 1.12
Fix xG_in argument


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Jan 13 16:48:03 2006 UTC (18 years, 10 months ago) by heimbach
Branch: MAIN
Changes since 1.11: +20 -1 lines
Diff to previous 1.11
o Allow negative thetaMin and dont drown when crossing Greenwich
o Remaining clean up of thetaStar, saltStar from move to rbcs


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Tue Nov 8 15:53:41 2005 UTC (19 years ago) by cnh
Branch: MAIN
CVS Tags: checkpoint57x_post, checkpoint57y_post, checkpoint57y_pre, checkpoint57z_post, checkpoint58
Changes since 1.10: +3 -2 lines
Diff to previous 1.10
Changes toward getting exf working multi-threaded.
  o added some opitonal consistency check in barrier for
    trapping barrier calls in singel threaded region
  o removed a single thread block in ini_depths - singleCpuIO
    still broken.
  o modified parts of exf_ that were setting local stack variables
    in single threaded section and then referencing them from all
    threads.
  o commented out strange stop in mdsio for multithreading which
    seems uneeded.
  o fixed ptracers initialization and changed ptracers monitor
    to avoid race condition in which several threads set a shared
    logical flag at arbitrary moments with respect to each other


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Mon May 2 15:31:46 2005 UTC (19 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpint57u_post, checkpoint57h_done, checkpoint57h_post, checkpoint57h_pre, checkpoint57i_post, checkpoint57j_post, checkpoint57k_post, checkpoint57l_post, checkpoint57m_post, checkpoint57n_post, checkpoint57o_post, checkpoint57p_post, checkpoint57q_post, checkpoint57r_post, checkpoint57s_post, checkpoint57t_post, checkpoint57v_post, checkpoint57w_post
Branch point for: release1_50yr
Changes since 1.9: +0 -3 lines
Diff to previous 1.9
Remove obsolete EESUPPORT.h which includes mpif.h


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Sat Apr 30 16:20:40 2005 UTC (19 years, 7 months ago) by heimbach
Branch: MAIN
Changes since 1.8: +9 -52 lines
Diff to previous 1.8
We would like to use exf_interp also for adjoint,
so move I/O part to separate routine and hide it.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Tue Sep 28 15:40:10 2004 UTC (20 years, 2 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint55d_post, checkpoint55d_pre, checkpoint55e_post, checkpoint55f_post, checkpoint55g_post, checkpoint55h_post, checkpoint55i_post, checkpoint55j_post, checkpoint56, checkpoint56a_post, checkpoint56b_post, checkpoint56c_post, checkpoint57, checkpoint57a_post, checkpoint57a_pre, checkpoint57b_post, checkpoint57c_post, checkpoint57c_pre, checkpoint57d_post, checkpoint57e_post, checkpoint57f_post, checkpoint57f_pre, checkpoint57g_post, checkpoint57g_pre, eckpoint57e_pre
Changes since 1.7: +8 -3 lines
Diff to previous 1.7
added MDS_RECLEN patch to pkg/exf/exf_interp.F


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Dec 12 15:13:37 2003 UTC (20 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint52d_post, checkpoint52e_post, checkpoint52e_pre, checkpoint52f_post, checkpoint52f_pre, checkpoint52h_pre, checkpoint52i_post, checkpoint52i_pre, checkpoint52j_post, checkpoint52j_pre, checkpoint52k_post, checkpoint52l_post, checkpoint52l_pre, checkpoint52m_post, checkpoint52n_post, checkpoint53, checkpoint53a_post, checkpoint53b_post, checkpoint53b_pre, checkpoint53c_post, checkpoint53d_post, checkpoint53d_pre, checkpoint53f_post, checkpoint53g_post, checkpoint54, checkpoint54a_post, checkpoint54a_pre, checkpoint54b_post, checkpoint54c_post, checkpoint54d_post, checkpoint54e_post, checkpoint54f_post, checkpoint55, checkpoint55a_post, checkpoint55b_post, checkpoint55c_post, hrcube4, hrcube5, hrcube_1, hrcube_2, hrcube_3
Changes since 1.6: +1 -1 lines
Diff to previous 1.6
debugLevel is referred to and lives in PARAMS.h so we need to #include it.


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Fri Dec 12 10:16:29 2003 UTC (20 years, 11 months ago) by dimitri
Branch: MAIN
Changes since 1.5: +22 -9 lines
Diff to previous 1.5
pkg/exf/exf_interp.F bug fix


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Dec 10 19:37:25 2003 UTC (20 years, 11 months ago) by dimitri
Branch: MAIN
Branch point for: netcdf-sm0
Changes since 1.4: +37 -37 lines
Diff to previous 1.4
o changes to permit hi-res, cubed-sphere, configuration
  - added useSingleCpuIO capability to mdsio_readfield.F and exf_interp.F
  - added "#undef ALLOW_USE_MPI" support to eesupp/src/scatter_2d.F
  - added pkg/exf/exf_set_uv.F for on-the-fly interpolation and rotation
    of surface winds for the cube
  (A verification experiment, based on global_ocean.cs32x15, but with
   pkg/seaice turned on and with on-the-fly interpolation from the NCEP
   Gaussian grid is described in MITgcm_contrib/high_res_cube/README_ice,
   complete with example surface forcing files and matlab scripts to look
   at the output and compare it with that of global_ocean.cs32x15.)


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Dec 7 07:41:45 2003 UTC (21 years ago) by dimitri
Branch: MAIN
Changes since 1.3: +75 -34 lines
Diff to previous 1.3
adding single-cpu input capability


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Thu Oct 9 04:19:19 2003 UTC (21 years, 1 month ago) by edhill
Branch: MAIN
CVS Tags: branch-netcdf, checkpoint51i_post, checkpoint51k_post, checkpoint51l_post, checkpoint51l_pre, checkpoint51m_post, checkpoint51n_post, checkpoint51n_pre, checkpoint51o_post, checkpoint51o_pre, checkpoint51p_post, checkpoint51q_post, checkpoint51r_post, checkpoint51s_post, checkpoint51t_post, checkpoint51u_post, checkpoint52, checkpoint52a_post, checkpoint52a_pre, checkpoint52b_post, checkpoint52b_pre, checkpoint52c_post, checkpoint52d_pre, ecco_c52_e35
Branch point for: branch-nonh, checkpoint51n_branch, tg2-branch
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
 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


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Aug 15 01:42:44 2003 UTC (21 years, 3 months ago) by dimitri
Branch: MAIN
CVS Tags: branchpoint-genmake2, checkpoint51f_post, checkpoint51g_post, checkpoint51h_pre, checkpoint51i_pre, checkpoint51j_post
Branch point for: branch-genmake2
Changes since 1.1: +104 -122 lines
Diff to previous 1.1
Modified pkg/exf/exf_interp.F in order to specify option
linear or bi-linear via argument rather than CPP option.


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu Aug 7 02:31:29 2003 UTC (21 years, 4 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint51f_pre
o Added on-the-fly spatial interpolation capability
    "USE_EXF_INTERPOLATION" to pkg/exf.
  - This is a temporary Cartesian-grid hack until
    the super-duper ESMF coupler becomes available.
  - See verification/global_with_exf/README for usage example.
  - Removed obsolete EXFwindOnBgrid and SEAICEwindOnCgrid
    flags and modified pkg/seaice accordingly.
o Bug fix to pkg/ptracers, pkg/generic_advdiff/gad_calc_rhs.F,
    and pkg/kpp/kpp_transport_ptr.F for dealing with tracer
    non-local transport term.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.22