~reducedmodelling/fluidity/ROM_Non-intrusive-ann

Viewing all changes in revision 3931.

  • Committer: Stephan Kramer
  • Date: 2012-02-20 17:52:19 UTC
  • Revision ID: s.kramer@imperial.ac.uk-20120220175219-it55tpdfrpd1blkn
Bug-fix for SampleNetCDF which is used in tidal boundary conditions. This bug would occur whenever a node was interpolated that is located exactly on one any of the constant longitutde or latitude lines of the input netcdf grid. In this case instead of interpolating between the value of the 2 nearest nodes, the value was extrapolated.

This code clearly needs some more tests. Coming up...

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: