diff options
author | schnetter <schnetter@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2004-03-09 19:51:22 +0000 |
---|---|---|
committer | schnetter <schnetter@eec4d7dc-71c2-46d6-addf-10296150bf52> | 2004-03-09 19:51:22 +0000 |
commit | 63344a7ebbb1b34018dfd60001afbc03c549a575 (patch) | |
tree | b7150449acdab2300ebbfc6f8bbad41ea9c54781 /src/Cartoon2D.h | |
parent | ae407aca63c86a9a4d7a5d94e602034cff3db3a8 (diff) |
(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
Diffstat (limited to 'src/Cartoon2D.h')
-rw-r--r-- | src/Cartoon2D.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |