3636
3737namespace bdm {
3838
39- // NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
40- DiffusionThomasAlgorithm::DiffusionThomasAlgorithm (
41- int substance_id, // NOLINT
42- std::string substance_name, // NOLINT
43- real_t dc, real_t mu, // NOLINT
44- real_t resolution, real_t dt, // NOLINT
45- bool dirichlet_border) // NOLINT
39+ DiffusionThomasAlgorithm::DiffusionThomasAlgorithm (int substance_id,
40+ std::string substance_name,
41+ real_t dc, real_t mu,
42+ real_t resolution, real_t dt,
43+ bool dirichlet_border)
4644 : DiffusionGrid(substance_id, std::move(substance_name), dc, mu,
4745 static_cast <int >(
4846 resolution)), // Added cast for consistency with parent
@@ -267,7 +265,6 @@ void DiffusionThomasAlgorithm::SolveDirectionThomas(unsigned int direction) {
267265 }
268266}
269267
270- // NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
271268void DiffusionThomasAlgorithm::ForwardElimination (
272269 unsigned int direction, unsigned int outer, unsigned int middle,
273270 const std::vector<real_t >& thomas_denom, unsigned int jump) {
@@ -288,7 +285,6 @@ void DiffusionThomasAlgorithm::ForwardElimination(
288285 }
289286}
290287
291- // NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
292288void DiffusionThomasAlgorithm::BackSubstitution (
293289 unsigned int direction, unsigned int outer, unsigned int middle,
294290 const std::vector<real_t >& thomas_c, unsigned int jump) {
@@ -306,7 +302,6 @@ void DiffusionThomasAlgorithm::BackSubstitution(
306302 }
307303}
308304
309- // NOLINTNEXTLINE(bugprone-easily-swappable-parameters)
310305size_t DiffusionThomasAlgorithm::GetLoopIndex (unsigned int direction,
311306 unsigned int outer,
312307 unsigned int middle,
@@ -351,4 +346,4 @@ void DiffusionThomasAlgorithm::ComputeConsumptionsSecretions() {
351346 });
352347}
353348
354- } // namespace bdm
349+ } // namespace bdm
0 commit comments