Commit 44e32a33 authored by Quentin Khan's avatar Quentin Khan

Add a physical value to the particle used by FCountKernel

This allows loading factorizing code between the FCountKernel and other
kernels for generating or loading particles from a file.
parent e2815223
......@@ -29,12 +29,12 @@
* - particle interaction count (std::size_t)
*/
template<typename FReal, std::size_t Dim>
struct TestCountParticle : public FBasicParticle<FReal, Dim, std::size_t, std::size_t> {
using FBase = FBasicParticle<FReal, Dim, std::size_t, std::size_t>;
struct TestCountParticle : public FBasicParticle<FReal, Dim, std::size_t, FReal, std::size_t> {
using FBase = FBasicParticle<FReal, Dim, std::size_t, FReal, std::size_t>;
using FBase::FBase;
/// Data index names
enum {POS1, POS2, POS3};
enum {IDX = Dim, COUNT};
enum {IDX = Dim, PHY, COUNT};
};
/** \brief Node data to use with FCountKernel
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment