From 63344a7ebbb1b34018dfd60001afbc03c549a575 Mon Sep 17 00:00:00 2001 From: schnetter Date: Tue, 9 Mar 2004 19:51:22 +0000 Subject: (Changes from Ian Hawke.) Possibly use ENO interpolation. Useful e.g. for hydro where shocks may appear. To make Cartoon use the ENO interpolator you need an additional tags table entry. The same tags are used as for Carpet. Either tags='Prolongation="TVD"' or tags='Prolongation="ENO"' will work. The default (i.e., with no tag) is to use the standard Lagrange polynomials. The tags "Lagrange" and "None" will also do this. Also, any direct call to the Cartoon functions (BndCartoon2DVI etc.) will use Lagrange interpolation. Code from Burkhard Zink for interpolation; tags table stuff from me. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Cartoon2D/trunk@76 eec4d7dc-71c2-46d6-addf-10296150bf52 --- src/Cartoon2D.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Cartoon2D.h') diff --git a/src/Cartoon2D.h b/src/Cartoon2D.h index 930c647..476e985 100644 --- a/src/Cartoon2D.h +++ b/src/Cartoon2D.h @@ -3,7 +3,7 @@ extern "C" { #endif -int BndCartoon2DVI(const cGH *GH, int tensortype, int vi); +int BndCartoon2DVI(const cGH *GH, int tensortype, int prolongtype, int vi); #ifdef __cplusplus } -- cgit v1.2.3