Skip to content

Commit fffdbc2

Browse files
committed
clang formatted
1 parent 8abb369 commit fffdbc2

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

Examples/BinaryBH/BinaryBHLevel.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include "CCZ4RHS.hpp"
1111
#include "ChiExtractionTaggingCriterion.hpp"
1212
#include "ComputePack.hpp"
13+
#include "MovingBoxesAndExtractionTaggingCriterion.hpp"
1314
#include "NanCheck.hpp"
1415
#include "NewConstraints.hpp"
1516
#include "PositiveChiAndAlpha.hpp"
@@ -18,7 +19,6 @@
1819
#include "SixthOrderDerivatives.hpp"
1920
#include "SmallDataIO.hpp"
2021
#include "TraceARemoval.hpp"
21-
#include "MovingBoxesAndExtractionTaggingCriterion.hpp"
2222
#include "TwoPuncturesInitialData.hpp"
2323
#include "Weyl4.hpp"
2424
#include "WeylExtraction.hpp"
@@ -178,20 +178,23 @@ void BinaryBHLevel::specificPostTimeStep()
178178
{
179179
// Only want to calculate on lowest level
180180
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);
182183
if (calculate_constraints)
183184
{
184185
fillAllGhosts();
185186
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);
187189
if (m_level == constraints_level)
188190
{
189-
AMRReductions<VariableType::diagnostic> amr_reductions(m_gr_amr);
191+
AMRReductions<VariableType::diagnostic> amr_reductions(
192+
m_gr_amr);
190193
double L2_Ham = amr_reductions.norm(c_Ham);
191194
double L2_Mom = amr_reductions.norm(Interval(c_Mom1, c_Mom3));
192195
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);
195198
constraints_file.remove_duplicate_time_data();
196199
if (first_step)
197200
{

Source/CCZ4/CCZ4RHS.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ class CCZ4RHS
8585
double a_dx, //!< The grid spacing
8686
double a_sigma, //!< Kreiss-Oliger dissipation coefficient
8787
int a_formulation = USE_CCZ4, //!< Switches between CCZ4, BSSN,...
88-
bool a_rescale_sigma = true, //!< Allows a space dependent KO coefficient
88+
bool a_rescale_sigma =
89+
true, //!< Allows a space dependent KO coefficient
8990
double a_cosmological_constant = 0 //!< Value of the cosmological const.
9091
);
9192

0 commit comments

Comments
 (0)