diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-04-28 16:30:56 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:16 +0100 |
commit | 51f19d9e750d12a740e9397b12a15bf88cf89843 (patch) | |
tree | 20bf8e83afd3791de2708d7ac1aea14929ba917c /Carpet/CarpetLib/src/dh.hh | |
parent | 3e451ada487fff9cd8d0a17d4a29af3f7001222f (diff) |
Carpet, CarpetLib: Complete patch to support buffer2 zones
Diffstat (limited to 'Carpet/CarpetLib/src/dh.hh')
-rw-r--r-- | Carpet/CarpetLib/src/dh.hh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/dh.hh b/Carpet/CarpetLib/src/dh.hh index 3a7a3294a..7a2282fba 100644 --- a/Carpet/CarpetLib/src/dh.hh +++ b/Carpet/CarpetLib/src/dh.hh @@ -18,6 +18,7 @@ using namespace std; #define CARPET_HAVE_BUFFER_WIDTHS +#define CARPET_HAVE_BUFFER2_WIDTHS // Forward declaration class ggf; @@ -217,8 +218,9 @@ public: // should be readonly i2vect buffer_width; // number of buffer zones int prolongation_order_space; // order of spatial prolongation operator #endif - vector<i2vect> ghost_widths; // number of ghost zones [rl] - vector<i2vect> buffer_widths; // number of buffer zones [rl] + vector<i2vect> ghost_widths; // number of ghost zones [rl] + vector<i2vect> buffer_widths; // number of buffer zones [rl] + vector<i2vect> buffer2_widths; // number of2 buffer zones [rl] vector<int> prolongation_orders_space; // order of spatial // prolongation operator [rl] @@ -233,7 +235,9 @@ public: // Constructors dh (gh & h, - vector<i2vect> const & ghost_widths, vector<i2vect> const & buffer_widths, + vector<i2vect> const & ghost_widths, + vector<i2vect> const & buffer_widths, + vector<i2vect> const & buffer2_widths, vector<int> const & prolongation_orders_space); // Destructors |