| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
minor extra changes:
* correct typo
* turn if-else cascade into switch
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/LocalInterp/trunk@221 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Map CCTK_COMPLEX to "double complex" in C, and "complex<double>" in
C++. (It is already mapped to "double complex" in Fortran.)
Update type definitions.
Re-implement Cactus complex number math functions by calling the
respective C functions.
Update thorn that access real and imaginary parts of complex numbers
to use standard-conforming methods instead.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/LocalInterp/trunk@216 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/LocalInterp/trunk@213 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@206 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@195 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
grid (so the interpolation fails), 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.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@194 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* always return an error code if we find an error
--> this fixes CactusBase/1623
("LocalInterp reports error to screen, but does not return error code")
* change error return codes to use #define codes in
src/include/util_ErrorCodes.h
src/include/cctk_Interp.h
There should be no change in non-error behavior.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@185 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@183 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
modifying or adding files.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@180 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
This closes CactusBase/1606: Wrong error message in LocalInterp.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@177 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
meant for the global interpolation routine only.
This closes PR CactusBase/1581: LocalInterp produces too many useless level 1 warnings.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@176 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
accidentally created twice. This closes CactusBase/1582.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@175 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@174 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@173 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
-- thanks to Frank Herrmann for spotting this!
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@172 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
as the status code of CCTK_InterpLocal().
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@171 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@170 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@169 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
which is also used now by local interpolators.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@168 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
table handle and ignore it almost silently (level-4 warning).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@167 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
table handle and ignore it almost silently (level-4 warning).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@166 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
A local interpolator named "uniform cartesian" is now provided
under the new API.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@164 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(which is GPL and thus not allowed to be in CactusBase;
it now lives in AEIThorns/AEILocalInterp/)
so this thorn contains only the interpolator written by Thomas Radke
in early 2001.
The files for this interpolator are now in src/ ; before this commit
they were in src/UniformCartesian/ .
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@154 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@153 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
| |
* missing closing $ in $Header:$ tag
* missing closing */ in comment
neither of these changed the executable code :)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@151 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
now in the flesh (src/util/String.c) with the test code there as well
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@150 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one that's now in the Cactus flesh.
*****
***** After this change, you will need to cvs-update your copy of the
***** Cactus flesh (files src/util/String.c and src/util/util_String.h)
***** in order to recompile this thorn.
*****
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@149 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
| |
now that we've switched to using the new ones which have
separate tensor-product and maximum-degree Lagrange
interpolation operators
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@148 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
(with separate tensor-product and maximum-degree Lagrange interpolation
operators)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@147 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
| |
which has separate tensor-product and maximum-degree interpolation
operators, with the former now the default.
This should fix the problem Yosef Zlowcher (sp?) found with
the interpolant not being continuous in multiple dimensions.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@145 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
(with Lagrange now split into tensor-product and maximum-degree
interpolators)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@144 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
real/complex parts so it doesn't give spurious errors if there are
null pointers in either the input or output arrays
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@139 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@136 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
up to date with the code
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@135 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
in InterpLocalUniform.[ch]
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@133 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
| |
function into smaller subfunctions, now it's "only" about 600 lines long
(before it was around 1200 lines :( :( :( )
also fix a few more bugs in error reporting
and add a few more comments
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@132 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
for safer string copying, also standalone test driver for this
to make sure I have it right!
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@131 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
doesn't escape into the main function's scope
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@129 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@128 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
boundary off-centering vs extrapolation tolerances
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@127 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@126 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* support the same off-centering and boundary options as the new global
interpolator (which needs the support here to work): this means changing
the former parameter-table entry off_centering_tolerance to the
new entries
boundary_off_centering_tolerance
boundary_extrapolation_tolerance
* implement the N_boundary_points_to_omit parameter-table entry,
(previously this was documented but not implemented)
* completely rewrite the LocalInterp_molecule_posn() function
and its test driver to support the above changes
* change error return code from old CCTK_ERROR_INTERP_POINT_X_RANGE
to new CCTK_ERROR_INTERP_POINT_OUTSIDE to avoid confusion with
the old name suggesting that this was specific to the X coordinate
* fix documentation of interpolation operator names for older
(uniform Cartesian) CCTK_InterpLocal() interpolator -- this
closes Erik Schnetter's bug report CactusBase/1367
Documentation changes
* document the above code changes
* much expanded description of molecule centering and boundary handling,
including 2 new diagrams (done in latex picture mode :)
* update README files to list all code files
* move caching parameters (not implemented, and probably won't be
implemented any time soon) out of documentation.tex into a new file
future-ideas.tex
* general cleanup of documentation.tex (not quite done, but 80% or so...)
to more clearly describe what this thorn actually implements, rather
than a generic spec of which this thorn only implements some pieces
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@125 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@124 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
| |
the stencil/molecule size -- formerly this would access memory off the
end of the array (==> possible core dump on some machines, eg alphas),
now it gives an error return from the interpolator
* systematize terminology for "stencil" vs "molecule" -- now all
references are to the hybrid term "stencil/molecule"
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@123 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
(before this would access memory off the end of the grid
==> core dump on some platforms, eg alphas)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@122 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
| |
of the grid. This check moved up into the global interpolator in PUGHInterp.
Now, for the interpolation of local arrays, points are allowed to be shifted
back into the grid.
You will also need to update PUGHInterp now to get this check.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@121 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
CCTK_REAL4 = CCTK_REAL8
so compilers don't warn about loss of precision
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@120 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
since the former is an ISO C trigraph (and those are a royal pain :( )
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@118 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
| |
The interpolation code in template.c is now split up into subfunctions
(in common/, Lagrange/, and Hermite/), so it should now compile in
finite cpu/memory even with optimization.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@116 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
| |
The interpolation code in template.c is now split up into subfunctions
(in common/, Lagrange/, and Hermite/), so it should now compile in
finite cpu/memory even with optimization.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@115 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|