summaryrefslogtreecommitdiff
path: root/modules/core/tests/particles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/tests/particles.cpp')
-rw-r--r--modules/core/tests/particles.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/core/tests/particles.cpp b/modules/core/tests/particles.cpp
index f474e3b..08da227 100644
--- a/modules/core/tests/particles.cpp
+++ b/modules/core/tests/particles.cpp
@@ -276,10 +276,15 @@ 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});
+ using T = sch::Float64;
- auto res = lbm::particle_aabb<sch::Float64,sch::ParticleGroup<T,D,coll::Spheroid<T>>>::calculate(spheroid_pgrp);
+ 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});
- std::cout<<res<<std::endl;
+ // auto res = lbm::particle_aabb<sch::Float64,sch::ParticleGroup<T,D,coll::Spheroid<T>>>::calculate(spheroid_pgrp);
+
+ // std::cout<<res<<std::endl;
}
}