| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CCTK_ERROR_INTERP_DELTA_X_ZERO if the grid spacing is zero along one or
more axes; previously it would return the generic "I got a NaN/infinity
or other non-finite value" error code CCTK_ERROR_INTERP_COORD_NAN for
this case.
*** IMPORTANT ***
This change requires a cvs-update of the Cactus flesh (more accurately,
the file src/include/cctk_Interp.h in the flesh ) in order to define
the new error code. If you don't do this cvs update, AEILocalInterp
won't compile.
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@42 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
|
|
|
|
|
|
|
| |
this would have been triggered (causing a spurious
> CCTK_InterpLocalUniform(): internal error!
> unexpected result -4 from AEILocalInterp_molecule_posn()
> at pt=0 axis=0!
if an interpolation coordinate is a NaN or other non-finite quantity
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@41 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a grid boundary, the actual interpolation was sometimes done as if
the interpolation coordinate was displaced by one grid spacing :( :(
also add more debugging code (introduced to help track down this bug,
but there's no harm in leaving it in for possible future use)
also add explicit checks for a couple of error cases:
* interpolation coordinate is not a finite number (eg NaN or infinity)
* grid origin/delta not a finite number (eg NaN or infinity)
* grid spacing is 0 (we need to divide by this!)
also add explicit note about the test driver in this directory
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@35 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
|
|
|
|
| |
in the parameter table (default is still no debugging)
* add some additional debugging code
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@34 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
grid (so the interpolation fails), then (if the user didn't request
us to be silent) we print a warning message.
This commit adds the text
"(this may be caused by a global interpolation with\n"
" driver::ghost_size too small)\n"
to this warning message, to cue the user about a common cause of
this problem.
This "fixes" bug #2022, where the quotation marks are because that
bug was actually reported against CactusBase/LocalInterp (but the
same problem applies to this thorn).
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@33 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
|
|
|
| |
(all inside #ifdef AEILOCALINTERP_DEBUG or AEILOCALINTERP_DEBUG2)
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@26 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
| |
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@25 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
|
|
|
| |
-- no code change for the normal case (#undef AEILOCALINTERP_DEBUG)
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@24 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
| |
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@23 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
either outside the grid, or inside but too close to the grid boundary,
to also include the grid spacings. A sample of the new msg is:
WARNING[L1,P0] (AEILocalInterp):
CCTK_InterpLocalUniform():
interpolation point is either outside the grid,
or inside but too close to the grid boundary!
0-origin interpolation point number pt=691
interpolation point (x,y)=(2.26354,-0.591776)
grid x_min(delta_x)x_max = -0.1683(0.1122)3.30989
grid y_min(delta_y)y_max = -0.448799(0.224399)6.50758
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@20 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
| |
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@13 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
|
|
|
|
|
|
|
| |
print a level 1 warning if we return an error code due to a point
being outside (or too close to the boundary of) the grid
if the key "suppress_warnings" is in the parameter table,
don't print these warnings
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@12 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
|
|
|
|
|
|
|
|
|
|
| |
* drop support for returning status info on which side of the grid
an outside-the-grid point is outside -- this turned out to be awkward
to implement in combinatino with per-point status, and I believe it
was only used by my apparent horizon finder to produce slightly
more informative error messages in a few cases
* convert some commented-out debugging code to #ifdef on various DEBUG symbols
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@9 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|
|
which included commits to RCS files with non-trunk default branches.
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/AEILocalInterp/trunk@3 0f49ee68-0e4f-0410-9b9c-b2c123ded7ef
|