aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/carpet.hh
diff options
context:
space:
mode:
authorschnetter <>2004-06-21 10:28:00 +0000
committerschnetter <>2004-06-21 10:28:00 +0000
commitcaceef5655eaead9dc1a94907a72ee3db162d1f3 (patch)
tree1c1d97f6717165e62f6daff9878effb14cc6a4e0 /Carpet/Carpet/src/carpet.hh
parent01daea0cac415f7175769f3518cd6465893bb97d (diff)
Make Regrid return a flag whether it changed the grid hierarchy. This
Make Regrid return a flag whether it changed the grid hierarchy. This can be used to call the postregrid bin only when things changed. darcs-hash:20040621102859-07bb3-8f6dd27a142f970982232ea008a89ce0bf9880f8.gz
Diffstat (limited to 'Carpet/Carpet/src/carpet.hh')
-rw-r--r--Carpet/Carpet/src/carpet.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/carpet.hh b/Carpet/Carpet/src/carpet.hh
index b1912ea31..b30efc845 100644
--- a/Carpet/Carpet/src/carpet.hh
+++ b/Carpet/Carpet/src/carpet.hh
@@ -1,4 +1,4 @@
-// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet.hh,v 1.29 2004/06/02 07:11:22 bzink Exp $
+// $Header: /home/eschnett/C/carpet/Carpet/Carpet/Carpet/src/carpet.hh,v 1.30 2004/06/21 12:28:59 schnetter Exp $
#ifndef CARPET_HH
#define CARPET_HH
@@ -34,7 +34,7 @@ namespace Carpet {
int CallFunction (void* function, cFunctionData* attribute, void* data);
// Other functions
- void Regrid (const cGH* cgh, bool checkpoint_recovery = false);
+ bool Regrid (const cGH* cgh, bool checkpoint_recovery = false);
void CycleTimeLevels (const cGH* cgh);
void FlipTimeLevels (const cGH* cgh);
void Restrict (const cGH* cgh);