aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/data.hh
diff options
context:
space:
mode:
authorswhite <schnetter@cct.lsu.edu>2004-12-09 12:10:00 +0000
committerswhite <schnetter@cct.lsu.edu>2004-12-09 12:10:00 +0000
commitff346599481a5ed24974ca3d45727496291a1350 (patch)
tree7f9012bf2848795badb702c2f73353271988e32a /Carpet/CarpetLib/src/data.hh
parent146d56ad50887fd5a93dde34ad56eec17e41545e (diff)
CarpetLib/src/data.* interpolate_from_innerloop breakdown
Broke down monster function data::interpolate_from_innerloop to make its overall logic visible. Added three functions void data::Check_that_the_times_are_consistent bool data::interpolate_in_time void data::interpolate_prolongate void data::interpolate_restrict Made constant 'eps' to be static file scope. Got rid of another nasty surprise return. darcs-hash:20041209121013-32473-e3164f151ce8a67871459c847e1f779a1f6d40fc.gz
Diffstat (limited to 'Carpet/CarpetLib/src/data.hh')
-rw-r--r--Carpet/CarpetLib/src/data.hh17
1 files changed, 17 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/data.hh b/Carpet/CarpetLib/src/data.hh
index f08463ff6..61953b30b 100644
--- a/Carpet/CarpetLib/src/data.hh
+++ b/Carpet/CarpetLib/src/data.hh
@@ -133,6 +133,23 @@ public:
// Output
ostream& output (ostream& os) const;
+private:
+ bool interpolate_in_time (const vector<const gdata<D>*> & gsrcs,
+ const vector<CCTK_REAL> & times,
+ const ibbox& box, const CCTK_REAL time,
+ const int order_space,
+ const int order_time);
+ void interpolate_restrict (const vector<const data<T,D>*> & gsrcs,
+ const vector<CCTK_REAL> & times,
+ const ibbox& box);
+ void interpolate_prolongate (const vector<const data<T,D>*> & gsrcs,
+ const vector<CCTK_REAL> & times,
+ const ibbox& box, const CCTK_REAL time,
+ const int order_space,
+ const int order_time);
+ void Check_that_the_times_are_consistent ( const vector<CCTK_REAL> & times,
+ const CCTK_REAL time );
+
};