Skip to content

Commit f79bf46

Browse files
author
Jaarli Kalle Magnus Suviranta
committed
Fix indentations for Aluminum.hpp to match clang-format
1 parent 256c49e commit f79bf46

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

apps/aluminumNew/Aluminum.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -473,16 +473,16 @@ void step(Simulator &s, Aluminum &m) {
473473
if (m.rank0) cout << "Performing Aluminum step" << endl;
474474
#endif
475475

476-
for (auto const &bc: s.get_boundary_conditions()) {
477-
if (bc->get_modifier_name() == "MovingBC") {
478-
m.set_m_xpos(dynamic_cast< MovingBC& >(*bc).get_xpos());
479-
// auto moving = dynamic_cast< MovingBC& >(*bc);
480-
// double newxpos = moving.get_xpos();
481-
// m.set_m_xpos(newxpos);
482-
// if (m.rank0) std::cout << "Updated xpos to " << m.params.m_xpos << std::endl;
483-
}
476+
for (auto const &bc : s.get_boundary_conditions()) {
477+
if (bc->get_modifier_name() == "MovingBC") {
478+
m.set_m_xpos(dynamic_cast<MovingBC &>(*bc).get_xpos());
479+
// auto moving = dynamic_cast< MovingBC& >(*bc);
480+
// double newxpos = moving.get_xpos();
481+
// m.set_m_xpos(newxpos);
482+
// if (m.rank0) std::cout << "Updated xpos to " << m.params.m_xpos << std::endl;
483+
}
484484
}
485-
485+
486486
double t = s.get_time().get_current();
487487
m.step(t);
488488
// perform some extra logic after the step, which can access both simulator

0 commit comments

Comments
 (0)