|
10 | 10 | #include "CCZ4RHS.hpp" |
11 | 11 | #include "ChiExtractionTaggingCriterion.hpp" |
12 | 12 | #include "ComputePack.hpp" |
| 13 | +#include "MovingBoxesAndExtractionTaggingCriterion.hpp" |
13 | 14 | #include "NanCheck.hpp" |
14 | 15 | #include "NewConstraints.hpp" |
15 | 16 | #include "PositiveChiAndAlpha.hpp" |
|
18 | 19 | #include "SixthOrderDerivatives.hpp" |
19 | 20 | #include "SmallDataIO.hpp" |
20 | 21 | #include "TraceARemoval.hpp" |
21 | | -#include "MovingBoxesAndExtractionTaggingCriterion.hpp" |
22 | 22 | #include "TwoPuncturesInitialData.hpp" |
23 | 23 | #include "Weyl4.hpp" |
24 | 24 | #include "WeylExtraction.hpp" |
@@ -178,20 +178,23 @@ void BinaryBHLevel::specificPostTimeStep() |
178 | 178 | { |
179 | 179 | // Only want to calculate on lowest level |
180 | 180 | int constraints_level = 0; |
181 | | - bool calculate_constraints = at_level_timestep_multiple(constraints_level); |
| 181 | + bool calculate_constraints = |
| 182 | + at_level_timestep_multiple(constraints_level); |
182 | 183 | if (calculate_constraints) |
183 | 184 | { |
184 | 185 | fillAllGhosts(); |
185 | 186 | BoxLoops::loop(Constraints(m_dx, c_Ham, Interval(c_Mom1, c_Mom3)), |
186 | | - m_state_new, m_state_diagnostics, EXCLUDE_GHOST_CELLS); |
| 187 | + m_state_new, m_state_diagnostics, |
| 188 | + EXCLUDE_GHOST_CELLS); |
187 | 189 | if (m_level == constraints_level) |
188 | 190 | { |
189 | | - AMRReductions<VariableType::diagnostic> amr_reductions(m_gr_amr); |
| 191 | + AMRReductions<VariableType::diagnostic> amr_reductions( |
| 192 | + m_gr_amr); |
190 | 193 | double L2_Ham = amr_reductions.norm(c_Ham); |
191 | 194 | double L2_Mom = amr_reductions.norm(Interval(c_Mom1, c_Mom3)); |
192 | 195 | SmallDataIO constraints_file(m_p.data_path + "constraint_norms", |
193 | | - m_dt, m_time, m_restart_time, |
194 | | - SmallDataIO::APPEND, first_step); |
| 196 | + m_dt, m_time, m_restart_time, |
| 197 | + SmallDataIO::APPEND, first_step); |
195 | 198 | constraints_file.remove_duplicate_time_data(); |
196 | 199 | if (first_step) |
197 | 200 | { |
|
0 commit comments