diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-05 15:59:23 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-05 15:59:23 +0200 |
| commit | c0549d71b2109f10c1238db8b22362e7826ba61b (patch) | |
| tree | 16cd5264fcc3afe912e1b1b67738c8940d6d1177 /lib/core/c++/particle.hpp | |
| parent | 9a3147bc79caf3c0fb1a9cdee29d156b5ff092c7 (diff) | |
| download | libs-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.hpp | 37 |
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 - - - } -}; -} -} |
