aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/ggf.hh
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/ggf.hh')
-rw-r--r--Carpet/CarpetLib/src/ggf.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/ggf.hh b/Carpet/CarpetLib/src/ggf.hh
index 30752a422..3e113ee01 100644
--- a/Carpet/CarpetLib/src/ggf.hh
+++ b/Carpet/CarpetLib/src/ggf.hh
@@ -33,6 +33,8 @@ class ggf {
typedef list<ibbox> iblist;
typedef vector<iblist> iblistvect;
+ typedef vector <pseudoregion> pvect;
+
typedef gdata* tdata; // data ...
typedef vector<tdata> fdata; // ... for each time level
typedef vector<fdata> cdata; // ... for each component
@@ -134,6 +136,12 @@ protected:
int tl1, int rl1, int c1, int ml1,
const iblistvect dh::dboxes::* recv_listvect,
int tl2, int rl2, int ml2);
+
+ // Copy regions
+ void copycat (comm_state& state,
+ int tl1, int rl1, int c1, int ml1,
+ const pvect dh::dboxes::* recv_pvect,
+ int tl2, int rl2, int ml2);
// Interpolate a region
void intercat (comm_state& state,
@@ -156,6 +164,13 @@ protected:
const vector<int> tl2s, int rl2, int ml2,
CCTK_REAL time);
+ // Interpolate regions
+ void intercat (comm_state& state,
+ int tl1, int rl1, int c1, int ml1,
+ const pvect dh::dboxes::* recv_pvect,
+ const vector<int> tl2s, int rl2, int ml2,
+ CCTK_REAL time);
+
public: