aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/data.cc
diff options
context:
space:
mode:
authorLuca Baiotti <baiotti@aei.mpg.de>2008-12-09 03:05:02 +0100
committerLuca Baiotti <baiotti@aei.mpg.de>2008-12-09 03:05:02 +0100
commitbf0339980e2e8e31528480ad11b620d040255d0c (patch)
treeab4236b17f548d1b603e5e58ad3f02a709935f20 /Carpet/CarpetLib/src/data.cc
parent5bc3d75360afc2bc64a82db0617f10f11d717e5c (diff)
Carpet/CarpetLib/src/data.cc: Allow to choose 5th-order porlongation for the spacetime variables, while keeping 3rd-order for the hydro variables.
Diffstat (limited to 'Carpet/CarpetLib/src/data.cc')
-rw-r--r--Carpet/CarpetLib/src/data.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/data.cc b/Carpet/CarpetLib/src/data.cc
index f3cdb59d7..f92724bb5 100644
--- a/Carpet/CarpetLib/src/data.cc
+++ b/Carpet/CarpetLib/src/data.cc
@@ -656,6 +656,17 @@ transfer_prolongate (data const * const src,
this->extent(),
box);
break;
+ case 5:
+ // there is only a parameter for the prolongation order, but Whisky may want 5th order for spacetime and 3rd order for hydro; so this is a trick.
+ call_operator<T> (& prolongate_3d_eno,
+ static_cast <T const *> (src->storage()),
+ src->shape(),
+ static_cast <T *> (this->storage()),
+ this->shape(),
+ src->extent(),
+ this->extent(),
+ box);
+ break;
default:
CCTK_WARN (CCTK_WARN_ABORT,
"There is no stencil for op=\"ENO\" with order_space!=3");