Skip to content

Commit ba55c33

Browse files
committed
Fix clang-format for ShearingPeriodic changes
1 parent 60a466a commit ba55c33

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/shammodels/gsph/src/Solver.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,14 @@ void shammodels::gsph::Solver<Tvec, Kern>::gen_ghost_handler(Tscal time_val) {
138138
SolverBCShearingPeriodic *c
139139
= std::get_if<SolverBCShearingPeriodic>(&solver_config.boundary_config.config)) {
140140
// Shearing periodic boundaries (Stone 2010) - reuse SPH implementation
141-
storage.ghost_handler.set(GhostHandle{
142-
scheduler(),
143-
BCShearingPeriodic{c->shear_base, c->shear_dir, c->shear_speed * time_val, c->shear_speed},
144-
storage.patch_rank_owner});
141+
storage.ghost_handler.set(
142+
GhostHandle{
143+
scheduler(),
144+
BCShearingPeriodic{
145+
c->shear_base, c->shear_dir, c->shear_speed * time_val, c->shear_speed},
146+
storage.patch_rank_owner});
145147
} else {
146-
shambase::throw_with_loc<std::runtime_error>(
147-
"GSPH: Unsupported boundary condition type.");
148+
shambase::throw_with_loc<std::runtime_error>("GSPH: Unsupported boundary condition type.");
148149
}
149150
}
150151

@@ -508,8 +509,7 @@ void shammodels::gsph::Solver<Tvec, Kern>::apply_position_boundary(Tscal time_va
508509
c->shear_speed * time_val,
509510
c->shear_speed);
510511
} else {
511-
shambase::throw_with_loc<std::runtime_error>(
512-
"GSPH: Unsupported boundary condition type.");
512+
shambase::throw_with_loc<std::runtime_error>("GSPH: Unsupported boundary condition type.");
513513
}
514514

515515
reatrib.reatribute_patch_objects(storage.serial_patch_tree.get(), "xyz");

0 commit comments

Comments
 (0)