diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-04-16 16:20:23 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-04-16 16:20:23 +0200 |
| commit | d01f8faadcec62593e0af5304bcc2db3d22ed0c5 (patch) | |
| tree | 968adf2716f8b7536fbfe983505ea53dc59d2b55 /lib/core/c++/particle.hpp | |
| parent | e19b4c91cfc7c370851c73314f54ef3e479b45bc (diff) | |
| download | libs-lbm-d01f8faadcec62593e0af5304bcc2db3d22ed0c5.tar.gz | |
Brain fried
Diffstat (limited to 'lib/core/c++/particle.hpp')
| -rw-r--r-- | lib/core/c++/particle.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/core/c++/particle.hpp b/lib/core/c++/particle.hpp index b098ecc..691a74b 100644 --- a/lib/core/c++/particle.hpp +++ b/lib/core/c++/particle.hpp @@ -11,7 +11,12 @@ 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 { |
