diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-23 21:53:33 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-23 21:53:33 +0200 |
| commit | cf1f97cec47c7baaae16d755f85103fb975ae862 (patch) | |
| tree | c18ada04166d3d878b7ed57b978e3d4145e1468d /modules/core/c++/particle | |
| parent | 127e2d3cb7330d90d69abee5f4445743317391a9 (diff) | |
| download | libs-lbm-cf1f97cec47c7baaae16d755f85103fb975ae862.tar.gz | |
Debugging
Diffstat (limited to 'modules/core/c++/particle')
| -rw-r--r-- | modules/core/c++/particle/porosity.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/c++/particle/porosity.hpp b/modules/core/c++/particle/porosity.hpp index 4d95cce..07e5c9e 100644 --- a/modules/core/c++/particle/porosity.hpp +++ b/modules/core/c++/particle/porosity.hpp @@ -38,8 +38,8 @@ public: static saw::data<sch::Scalar<T>> calculate(const saw::data<sch::Vector<T,D>>& lbm_rel_dist, saw::data<sch::Scalar<T>> rad, saw::data<sch::Scalar<T>> eps){ saw::data<sch::Scalar<T>> por; - auto s_dist_2 = saw::math::dot(lbm_rel_dist,lbm_rel_dist); - auto s_dist = saw::math::sqrt(s_dist_2); + saw::data<sch::Scalar<T>> s_dist_2 = saw::math::dot(lbm_rel_dist,lbm_rel_dist); + saw::data<sch::Scalar<T>> s_dist = saw::math::sqrt(s_dist_2); saw::data<sch::Scalar<T>> eps_h; eps_h.at({}) = eps.at({}).get() / 2; |
