| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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@113 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@112 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@111 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@110 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
| |
(i.e. code depending only on molecule size/shape)
--> now there are separate *functions* rather than just code fragments
--> ../template.c should hopefully compile in finite time.....
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@109 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
restructuring
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@108 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@107 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
into smaller functions (which I hope will be compilable in finite cpu/memory)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@106 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@104 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@103 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@101 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
add explicit check for the case when the given conditions don't uniquely
determine the interpolant
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@100 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
| |
(in practice it doesn't seem to make much difference, though :( :(),
and to be a bit easier to read/understand/modify the code
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@99 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@98 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@97 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
| |
with latest tweaks to Maple code which generates them
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@96 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@95 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@94 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@93 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@92 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@91 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parameter-table entry to allow the min/max ends of the grid to be
handled differently. (We'll need this for the multiprocessor interpolation.)
***** IMPORTANT *****
This change is *NOT* backwards-compatible: if you are calling
CCTK_InterpLocalUniform() from this thorn (CactusBase/LocalInterp),
and you have set out_of_range_tolerance[] to a non-default value,
you must (slightly) change your code, or else you'll get an error
return from the interpolator.
If you don't use out_of_range_tolerance[] , then you don't need
to do anything.
The semantics of out_of_range_tolerance[] are now as follows:
@var out_of_range_tolerance
@vdesc Specifies how out-of-range interpolation points should
be handled. The array elements are matched up with
the axes and minimum/maximum ends of the grid in the
order [x_min, x_max, y_min, y_max, z_min, z_max, ...].
An array value TOL is interpreted as follows:
If TOL >= 0.0,
then an interpolation point is considered to be
"out of range" if and only if the interpolation
point is > TOL * coord_delta[axis]
outside the grid in this coordinate direction.
If TOL == -1.0,
then an interpolation point is considered to be
"out of range" if and only if a centered molecule
(or more generally, a molecule whose centering
is chosen pretending that the grid is of infinite
extent), would require data from outside the grid
in this direction.
Other values of TOL are illegal (reserved for future use).
@vtype const CCTK_REAL out_of_range_tolerance[2*N_dims]
@endvar
The change is that it used to have only N_dims elements, one for
each axis -- now there are 2*N_dims elements, one for each min/max
end of each axis.
----------------------------------------------------------------------
Modified Files:
doc/documentation.tex
src/GeneralizedPolynomial-Uniform/InterpLocalUniform.c
src/GeneralizedPolynomial-Uniform/InterpLocalUniform.h
src/GeneralizedPolynomial-Uniform/interpolate.maple
src/GeneralizedPolynomial-Uniform/molecule_posn.c
src/GeneralizedPolynomial-Uniform/template.c
src/GeneralizedPolynomial-Uniform/test_molecule_posn.c
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@88 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@86 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@85 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@84 df1f8a13-aa1d-4dd4-9681-27ded5b42416
|