aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Requirements/src/gridpoint.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/Requirements/src/gridpoint.cc')
-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;
}
}