aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-02-04 21:24:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-02-04 21:24:00 +0000
commita44abc96c2e2898bad248453b5bbc697ff60e7ad (patch)
tree031fd245930795828a099df85ddda9b738ed2d66 /Carpet/CarpetRegrid2
parent794b6cde9a2315384cd52aa221fa39e62c5156cb (diff)
CarpetRegrid2: Add comment
darcs-hash:20070204212401-dae7b-5f017dc3583b65287cf4d4cfce6b7e9588f85a56.gz
Diffstat (limited to 'Carpet/CarpetRegrid2')
-rw-r--r--Carpet/CarpetRegrid2/src/regrid.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Carpet/CarpetRegrid2/src/regrid.cc b/Carpet/CarpetRegrid2/src/regrid.cc
index 1feb322c4..7ac61c7b4 100644
--- a/Carpet/CarpetRegrid2/src/regrid.cc
+++ b/Carpet/CarpetRegrid2/src/regrid.cc
@@ -551,6 +551,7 @@ namespace CarpetRegrid2 {
} else if (regrid_every == 0) {
do_recompose = cctk_iteration == 0;
} else {
+ // Regrid at most once per iteration
do_recompose =
(cctk_iteration == 0 or
(cctk_iteration > 0 and
@@ -612,6 +613,7 @@ namespace CarpetRegrid2 {
} else if (regrid_every == 0) {
do_recompose = cctk_iteration == 0;
} else {
+ // Regrid at most once per iteration
do_recompose =
(cctk_iteration == 0 or
(cctk_iteration > 0 and