summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/core/c++/particle/particle_opa.hpp1
-rw-r--r--modules/core/tests/particles.cpp6
2 files changed, 5 insertions, 2 deletions
diff --git a/modules/core/c++/particle/particle_opa.hpp b/modules/core/c++/particle/particle_opa.hpp
index a5e6c28..30a8ade 100644
--- a/modules/core/c++/particle/particle_opa.hpp
+++ b/modules/core/c++/particle/particle_opa.hpp
@@ -34,7 +34,6 @@ public:
using dfi = df_info<T,Descriptor>;
auto& porous_f = macros.template get<"porosity">();
-
auto& porous = porous_f.at(index);
auto pos_ind = saw::math::vectorize_data(index);
diff --git a/modules/core/tests/particles.cpp b/modules/core/tests/particles.cpp
index 133c343..f474e3b 100644
--- a/modules/core/tests/particles.cpp
+++ b/modules/core/tests/particles.cpp
@@ -276,6 +276,10 @@ SAW_TEST("Verlet integration test 2D"){
SAW_TEST("Spheroid Particle / AABB"){
using namespace kel;
-
+ auto spheroid_pgrp = lbm::create_spheroid_particle_group<sch::Float64, lbm::coll::Spheroid<sch::Float64>>({},{},{8u});
+
+ auto res = lbm::particle_aabb<sch::Float64,sch::ParticleGroup<T,D,coll::Spheroid<T>>>::calculate(spheroid_pgrp);
+
+ std::cout<<res<<std::endl;
}
}