From 894ff0213c8d34b0ed45d11693687841e8eed74b Mon Sep 17 00:00:00 2001 From: jthorn Date: Tue, 15 Apr 2003 17:26:40 +0000 Subject: Switch to using new version of Lagrange polynomial interpolation 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 --- src/GeneralizedPolynomial-Uniform/README | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'src/GeneralizedPolynomial-Uniform/README') diff --git a/src/GeneralizedPolynomial-Uniform/README b/src/GeneralizedPolynomial-Uniform/README index b90cc26..15c6d27 100644 --- a/src/GeneralizedPolynomial-Uniform/README +++ b/src/GeneralizedPolynomial-Uniform/README @@ -3,8 +3,9 @@ $Header$ This directory contains the interpolator registered for CCTK_InterpLocalUniform() under the names - "Lagrange polynomial interpolation" -and + "Lagrange polynomial interpolation" # a synonym for the next one... + "Lagrange polynomial interpolation (tensor product)" + "Lagrange polynomial interpolation (maximum degree)" "Hermite polynomial interpolation" @@ -47,10 +48,13 @@ The source code files are as follows: 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. +* Lagrange/ and [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-tensor-product/ contains the code for the Lagrange polynomial + interpolator using tensor-product bases for multiple dimensions. +* Lagrange-maximum-degree/ contains the code for the Lagrange polynomial + interpolator using maximum-degree bases for multiple dimensions. * Hermite/ contains the code for the Hermite polynomial interpolator. * common/ contains low-level code common to both the Lagrange and the Hermite interpolators. @@ -63,9 +67,10 @@ to this interpolator, you need to * edit the makefile to create the appropriate directory or directories, and if necessary add any new targets * 'make' as appropriate to create the new coefficients etc - [note this can be rather computationally intensive -- the current - set of {1d,2d,3d} coefficients take {4 seconds, 15 seconds, 8 minutes} - to generate using Maple 7 on a xeon (1.7 GHz Pentium 4)] + [note this can be rather computationally intensive -- for example, + the set of {1d,2d,3d} Lagrange-tensor-product coefficients take about + {4 seconds, 40 seconds, 20 minutes} to generate using Maple 7 on + an AEI xeon (1.7 GHz Pentium 4 with 1GB memory)] * edit InterpLocalUniform.c to add the new case to the decoding switch statements * create an appropriate "script" file which defines the right macros, -- cgit v1.2.3