diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2010-03-18 15:35:20 -0700 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2010-03-18 15:35:20 -0700 |
commit | 24f6647a03c4667983f9b6623e25079d23969874 (patch) | |
tree | a58041272aba30807136ea77130e2978ebae8447 /Carpet/CarpetLib/src/operator_prototypes_3d.hh | |
parent | 90c6b29ab19046c8aa8f67af376f656974928ae4 (diff) |
CarpetLib: Add new restriction operator for cell centred grids
Add a restriction operator that supports mixed vertex/cell centred
grids (e.g. for face centred values).
Diffstat (limited to 'Carpet/CarpetLib/src/operator_prototypes_3d.hh')
-rw-r--r-- | Carpet/CarpetLib/src/operator_prototypes_3d.hh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/operator_prototypes_3d.hh b/Carpet/CarpetLib/src/operator_prototypes_3d.hh index 19deccea8..81a384d76 100644 --- a/Carpet/CarpetLib/src/operator_prototypes_3d.hh +++ b/Carpet/CarpetLib/src/operator_prototypes_3d.hh @@ -298,6 +298,18 @@ namespace CarpetLib { + template <typename T, int centi, int centj, int centk> + void + restrict_3d_vc_rf2 (T const * restrict const src, + ivect3 const & restrict srcext, + T * restrict const dst, + ivect3 const & restrict dstext, + ibbox3 const & restrict srcbbox, + ibbox3 const & restrict dstbbox, + ibbox3 const & restrict regbbox); + + + } // namespace CarpetLib |