diff options
author | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2003-01-29 13:34:53 +0000 |
---|---|---|
committer | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2003-01-29 13:34:53 +0000 |
commit | 1e1d195e8148ec50b9ff287139322ad135d84d0b (patch) | |
tree | 6578bdca08b3955596b4d5dae4608e8fe51e29b2 /src/GeneralizedPolynomial-Uniform/README | |
parent | a3d9cc783b9fbaca7b98ef47b64d4a260ea257a0 (diff) |
Code changes
* 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
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/README')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/README | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/README b/src/GeneralizedPolynomial-Uniform/README index 0963854..b022489 100644 --- a/src/GeneralizedPolynomial-Uniform/README +++ b/src/GeneralizedPolynomial-Uniform/README @@ -7,7 +7,8 @@ under the name The source code files are as follows: -* startup.c registers the interpolation operator +* startup.c registers the interpolation operators +* InterpLocalUniform.h is an overall header file for the whole interpolator * InterpLocalUniform.c is the top-level driver: it gets the various options from the parameter table, then decodes (N_dims, molecule_family, order, smoothing) @@ -16,6 +17,7 @@ The source code files are as follows: * [123]d.cube.order*.smooth*.c define the individual interpolation subfunctions. Each of them just #defines a whole bunch of macros, then #includes template.c (which has the actual code). +* template.h defines a prototype for the function defined by template.c * template.c is the actual interpolation code. It is written in terms of a large number of macros, which should be #defined before #including template.c. There's a long block comment @@ -26,6 +28,10 @@ The source code files are as follows: Maple-generated code fragments in the [123]d.coeffs/directories; template.c uses various macros to tell it which fragments to #include. +* molecule_posn.c contains the LocalInterp_molecule_posn() function + to compute where in the grid each (an) interpolation molecule should + be centered for each (a given) interpolation point. +* util.c contains some low-level utility routines * [123]d.maple are the top-level Maple code files; they call various functions in interpolate.maple and util.maple to do the actual work. @@ -33,7 +39,19 @@ The source code files are as follows: computing an interpolant and manipulating/printing it in various ways * util.maple contains low-level utility routines +* makefile is a makefile for... +* test_molecule_posn.c is a standalone test driver for the code + in molecule_posn.c . By default it runs a large set of (around 100) + test cases stored in a table in the code. +The subdirectories are as follows: +* [123]d.coeffs/ are empty directory trees left-over from previous + versions of this interpolator (CVS doesn't have any easy way to + remove directories) +* Lagrange/ contains the code for the Lagrange polynomial interpolator. +* Hermite/ contains the code for the Hermite polynomial interpolator. +* common/ contains low-level code common to both the Lagrange and + the Hermite interpolators. To add a new combination of (N_dims, molecule_family, order, smoothing), @@ -60,17 +78,10 @@ to this interpolator, you need to -Other makefile targets: -test_molecule_posn - This makes a standalone test driver for the - LocalInterp_molecule_posn() - function defined in molecule_posn.c - - Copyright ========= -This interpolator is copyright (C) 2002-2003 +This interpolator is copyright (C) 2001-2003 by Jonathan Thornburg <jthorn@aei.mpg.de>. This interpolator is free software; you can redistribute it and/or modify |