Peano
Loading...
Searching...
No Matches
Density.h File Reference
Include dependency graph for Density.h:

Go to the source code of this file.

Namespaces

namespace  swift2
 This file is part of the SWIFT 2 project.
 
namespace  swift2::kernels
 
namespace  swift2::kernels::legacy
 Legacy SPH implementation.
 

Functions

template<typename Particle >
bool swift2::kernels::legacy::prepareDensityUpdateParticlePredicate (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 Prepares a particle for the density calculation.
 
template<typename Particle >
void swift2::kernels::legacy::prepareDensity (const peano4::datamanagement::VertexMarker &marker, Particle &localParticle)
 
template<typename Particle >
void swift2::kernels::legacy::hydro_end_density (Particle *localParticle)
 Finishes the density calculation.
 
template<typename Particle >
bool swift2::kernels::legacy::endDensityCalculationUpdateParticlePredicate (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 
template<typename Particle >
void swift2::kernels::legacy::endDensityCalculation (const peano4::datamanagement::VertexMarker &marker, Particle &localParticle)
 
template<typename ParticleA , typename ParticleB = ParticleA>
void swift2::kernels::legacy::density_kernel (ParticleA &localParticle, const ParticleB &activeParticle)
 The actual density kernel, which interacts a local particle and an active particle, and updates the local particle.
 
template<typename Particle >
bool swift2::kernels::legacy::densityKernelUpdateParticlePredicate (const peano4::datamanagement::CellMarker &marker, const bool &localParticleIsContainedInCell, const Particle &localParticle)
 Predicate to decide if to update a particle according to density kernel.
 
template<typename ParticleA , typename ParticleB = ParticleA>
bool swift2::kernels::legacy::densityKernelEvaluatePairInteractionPredicate (const peano4::datamanagement::CellMarker &marker, const ParticleA &localParticle, const ParticleB &activeParticle)
 Predicate if two particles contribute towards the density checks.
 
template<typename ParticleA , typename ParticleB = ParticleA>
void swift2::kernels::legacy::densityKernel (const peano4::datamanagement::CellMarker &marker, ParticleA &localParticle, const ParticleB &activeParticle)
 Invoke density kernel without any outer additional admissibility checks.