summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/core/c++/hlbm.hpp3
-rw-r--r--modules/core/tests/particles.cpp7
2 files changed, 5 insertions, 5 deletions
diff --git a/modules/core/c++/hlbm.hpp b/modules/core/c++/hlbm.hpp
index d9fb3de..d57a2e7 100644
--- a/modules/core/c++/hlbm.hpp
+++ b/modules/core/c++/hlbm.hpp
@@ -14,7 +14,6 @@ namespace cmpt {
struct HlbmInit {};
struct Hlbm {};
struct HlbmParticle {};
-
struct HlbmOneParticleMomentumExchange {};
}
@@ -96,7 +95,6 @@ public:
dfs_old_f.at(index).at({i}) = dfs_old_f.at(index).at({i}) + frequency_ * (eq.at(i) - dfs_old_f.at(index).at({i}));
}
- porosity.at({}) = 1.0;
D.at({}) = 0.0;
N = {};
}
@@ -174,7 +172,6 @@ public:
n_ind_i.at({k}) = (dfi::directions[i])[k];
}
-
uint64_t i_opp = dfi::opposite_index[i];
saw::data<T> dfs_added = dfs.at({i}) + dfs_old_f.at(n_ind_i).at({i_opp});
diff --git a/modules/core/tests/particles.cpp b/modules/core/tests/particles.cpp
index 08da227..8c21608 100644
--- a/modules/core/tests/particles.cpp
+++ b/modules/core/tests/particles.cpp
@@ -277,13 +277,16 @@ SAW_TEST("Spheroid Particle / AABB"){
using namespace kel;
using T = sch::Float64;
+ constexpr uint64_t D = 2u;
saw::data<sch::Scalar<T>> radi,dense;
radi.at({}) = 2.0f;
dense.at({}) = 1.0f;
- auto spheroid_pgrp = lbm::create_spheroid_particle_group<T,2u>(radi,dense,{8u});
+ auto spheroid_pgrp = lbm::create_spheroid_particle_group<T,D>(radi,dense,{8u});
+
+ // auto res = lbm::particle_aabb<sch::ParticleGroup<T,D,lbm::coll::Spheroid<T>>>::calculate(spheroid_pgrp,{{0u}},{});
+
- // auto res = lbm::particle_aabb<sch::Float64,sch::ParticleGroup<T,D,coll::Spheroid<T>>>::calculate(spheroid_pgrp);
// std::cout<<res<<std::endl;
}