Peano
Loading...
Searching...
No Matches
ParticleUpdatePredicates.h File Reference
Include dependency graph for ParticleUpdatePredicates.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  swift2
 This file is part of the SWIFT 2 project.
 
namespace  swift2::kernels
 

Typedefs

template<typename Particle >
using swift2::kernels::UpdateParticlePairWithinCellPredicate = std::function<bool(const peano4::datamanagement::CellMarker& marker, const Particle& localParticle, const Particle& activeParticle)>
 
template<typename Particle >
using swift2::kernels::UpdateParticleAssignedToCellPredicate = std::function<bool(const peano4::datamanagement::CellMarker& marker, const bool& localParticleIsContainedInCell, const Particle& localParticle)>
 
template<typename Particle >
using swift2::kernels::UpdateParticleAssignedToVertexPredicate = std::function<bool(const peano4::datamanagement::VertexMarker& marker, const Particle& localParticle)>
 

Functions

template<typename Particle >
bool swift2::kernels::alwaysUpdateInVertexKernel (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 Degenerated predicate which always allows for an update.
 
template<typename Particle >
bool swift2::kernels::alwaysUpdateInCellKernel (const peano4::datamanagement::CellMarker &marker, const bool &localParticleIsContainedInCell, const Particle &localParticle)
 Degenerated update in cell predicate.
 
template<typename Particle >
bool swift2::kernels::alwaysUpdateParticlePairs (const peano4::datamanagement::CellMarker &marker, const Particle &localParticle, const Particle &activeParticle)
 Degenerated update in cell predicate.
 
template<typename Particle >
bool swift2::kernels::particleIsLocal (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 Is a particle local.
 
template<typename Particle >
bool swift2::kernels::localParticleCanBeUpdatedAndMovedInVertexKernel (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 Can we move (drift) this particle?
 
template<typename Particle >
bool swift2::kernels::localParticleCanBeUpdatedInCellKernelFromAnyOtherParticle (const peano4::datamanagement::CellMarker &marker, const Particle &localParticle, const Particle &activeParticle)
 Can we do work on this particle during a cell kernel sweep stage?
 
template<typename Particle >
bool swift2::kernels::localParticleCanBeUpdatedInCellKernelFromAnyOtherParticleWithinIterationRange (const peano4::datamanagement::CellMarker &marker, const Particle &localParticle, const Particle &activeParticle)
 
template<typename Particle >
bool swift2::kernels::localParticleCanBeUpdatedInCellKernel (const peano4::datamanagement::CellMarker &marker, const bool &localParticleIsContainedInCell, const Particle &localParticle)
 
template<typename Particle >
bool swift2::kernels::localParticleCanBeUpdatedInVertexKernel (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 Can we do work on this particle during a vertex kernel sweep stage?