summaryrefslogtreecommitdiff
path: root/lib/core/c++/particle.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-07-05 15:59:23 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-07-05 15:59:23 +0200
commitc0549d71b2109f10c1238db8b22362e7826ba61b (patch)
tree16cd5264fcc3afe912e1b1b67738c8940d6d1177 /lib/core/c++/particle.hpp
parent9a3147bc79caf3c0fb1a9cdee29d156b5ff092c7 (diff)
downloadlibs-lbm-c0549d71b2109f10c1238db8b22362e7826ba61b.tar.gz
Just rename from lib to modules
Diffstat (limited to 'lib/core/c++/particle.hpp')
-rw-r--r--lib/core/c++/particle.hpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/core/c++/particle.hpp b/lib/core/c++/particle.hpp
deleted file mode 100644
index 691a74b..0000000
--- a/lib/core/c++/particle.hpp
+++ /dev/null
@@ -1,37 +0,0 @@
-#pragma once
-
-#include "component.hpp"
-#include "particle/particle.hpp"
-
-namespace kel {
-namespace lbm {
-namespace cmpt {
-struct Particle {};
-}
-
-template<typename T, typename Descriptor, typename Encode>
-class component<T, Descriptor, cmpt::Particle, Encode> {
-private:
- saw::data<sch::Scalar<T>> dt_;
-public:
- component(saw::data<sch::Scalar<T>> dt__):
- dt_{dt__}
- {}
-
- template<typename ParticleSchema, typename MacroFieldSchema>
- void apply(const saw::data<ParticleSchema, Encode>& particles, const saw::data<MacroFieldSchema,Encode>& macros, saw::data<sch::UInt64> index, saw::data<sch::UInt64> time_step) const {
-
- auto& p = particles.at(index);
-
- // Compute forces
-
- // Update particle velocity
- verlet_step_lambda<T,Descriptor::D>(p,{1.0});
-
- // Update porosity over lattice nodes
-
-
- }
-};
-}
-}