aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Requirements/src
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-04-04 12:03:18 -0400
committerErik Schnetter <schnetter@gmail.com>2013-04-04 12:03:18 -0400
commit314d48a230714aca56fc9f27e7d6e7ca160cfb00 (patch)
treec236193a6875480fcf2942a6f06a74d9f7e3ce8e /Carpet/Requirements/src
parent3e0ee4bb017223c9b7ac4cbe6eca3c5540d6af56 (diff)
Requirements: Rename parameter print_changes to output_changes
Diffstat (limited to 'Carpet/Requirements/src')
-rw-r--r--Carpet/Requirements/src/gridpoint.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/Carpet/Requirements/src/gridpoint.cc b/Carpet/Requirements/src/gridpoint.cc
index ca3e18b26..57973811a 100644
--- a/Carpet/Requirements/src/gridpoint.cc
+++ b/Carpet/Requirements/src/gridpoint.cc
@@ -191,8 +191,6 @@ namespace Requirements {
void gridpoint_t::output_location(location_t& l, int changed) const
{
DECLARE_CCTK_PARAMETERS;
- if (!print_changes)
- return;
cout << "LOC: " << l << " "
<< ( (changed&BIT_INTERIOR) ?"(IN:":"(in:" ) << i_interior
@@ -200,6 +198,7 @@ namespace Requirements {
<< ( (changed&BIT_GHOSTZONES) ?",GH:":",gh:" ) << i_ghostzones
<< ( (changed&BIT_BOUNDARY_GHOSTZONES)?",BG:":",bg:" ) << i_boundary_ghostzones
<< ") " << l.info << "\n";
+ if (not output_changes) return;
}
}