18 template <
typename Particle>
21 const Particle& localParticle
23 return ::exaparty::kernels::localParticleCanBeUpdatedInVertexKernel(
29 template <
typename Particle>
32 Particle& localParticle
49 template <
typename Particle>
52 template <
typename Particle>
55 const Particle& localParticle
57 return ::exaparty::kernels::localParticleCanBeUpdatedInVertexKernel(
63 template <
typename Particle>
66 Particle& localParticle
133 template <
typename ParticleA,
typename ParticleB = ParticleA>
135 ParticleA& localParticle,
153 template <
typename Particle>
156 const bool& localParticleIsContainedInCell,
157 const Particle& localParticle
177 template <
typename ParticleA,
typename ParticleB = ParticleA>
180 const ParticleA& localParticle,
221 template <
typename ParticleA,
typename ParticleB = ParticleA>
224 ParticleA& localParticle,
232#include "Density.cpph"
bool densityKernelEvaluatePairInteractionPredicate(const peano4::datamanagement::CellMarker &marker, const ParticleA &localParticle, const ParticleB &activeParticle)
Predicate if two particles contribute towards the density checks.
void endDensityCalculation(const peano4::datamanagement::VertexMarker &marker, Particle &localParticle)
void prepareDensity(const peano4::datamanagement::VertexMarker &marker, Particle &localParticle)
void hydro_end_density(Particle *localParticle)
Finishes the density calculation.
void densityKernel(const peano4::datamanagement::CellMarker &marker, ParticleA &localParticle, const ParticleB &activeParticle)
Invoke density kernel without any outer additional admissibility checks.
bool endDensityCalculationUpdateParticlePredicate(const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
bool prepareDensityUpdateParticlePredicate(const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
Prepares a particle for the density calculation.
void hydro_init_particle(Particle *particle)
Prepares a particle for the density calculation.
void density_kernel(ParticleA &localParticle, const ParticleB &activeParticle)
The actual density kernel, which interacts a local particle and an active particle,...
void const ParticleB & activeParticle
bool densityKernelUpdateParticlePredicate(const peano4::datamanagement::CellMarker &marker, const bool &localParticleIsContainedInCell, const Particle &localParticle)
Predicate to decide if to update a particle according to density kernel.
This file is part of the ExaParty project.
Vertex marker to provide information about selected vertex.