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

Go to the source code of this file.

Namespaces

namespace  toolbox
 
namespace  toolbox::particles
 

Typedefs

typedef int toolbox::particles::ParticleReassociationInstruction
 

Functions

template<typename Particle >
ParticleReassociationInstruction toolbox::particles::liftParticleAssociatedWithVertex (const Particle &p, const peano4::datamanagement::VertexMarker marker)
 Take particle from current vertex and lift it or keep it local.
 
ParticleReassociationInstruction toolbox::particles::liftParticleAssociatedWithVertex (bool isLocal, double searchRadius, const tarch::la::Vector< Dimensions, double > &x, const peano4::datamanagement::VertexMarker marker)
 Implementation of liftParticleAssociatedWithVertex() without the template.
 
template<typename Particle >
bool toolbox::particles::sieveParticle (const Particle &particle, const peano4::datamanagement::VertexMarker &marker)
 A particle is to be sieved into a vertex if.
 
bool toolbox::particles::sieveParticle (double searchRadius, const tarch::la::Vector< Dimensions, double > &x, const peano4::datamanagement::VertexMarker &marker)
 
template<typename Particle >
bool toolbox::particles::dropParticle (const Particle &particle, const peano4::datamanagement::VertexMarker &marker)
 
bool toolbox::particles::dropParticle (double searchRadius, const tarch::la::Vector< Dimensions, double > &x, const peano4::datamanagement::VertexMarker &marker)
 Alternative version of dropParticle() without templates.
 
template<typename Particle >
bool toolbox::particles::particleWillBeDroppedFurther (const Particle &particle, const peano4::datamanagement::CellMarker &marker)
 Will the particle be dropped further throughout the traversal.
 
bool toolbox::particles::particleWillBeDroppedFurther (double searchRadius, const peano4::datamanagement::CellMarker &marker)
 
template<typename Particle >
bool toolbox::particles::particleWillBeDroppedFurther (const Particle &particle, const peano4::datamanagement::VertexMarker &marker)
 Will a particle be dropped further.
 
bool toolbox::particles::particleWillBeDroppedFurther (double searchRadius, const peano4::datamanagement::VertexMarker &marker)
 
double toolbox::particles::relativeSpatialOwnershipTolerance (const ::peano4::datamanagement::CellMarker &marker)
 Ownership tolerance.
 
template<typename Particle >
ParticleReassociationInstruction toolbox::particles::getParticleReassociationInstructionWithinCellWithIntraCellReassignment (const Particle &p, const peano4::datamanagement::CellMarker &marker, int numberOfVertexWithinCell)
 If you use this operation, you can be sure that every particle is associated to the right vertex after we've finished the traversal, or it is dumped into the set of particles that have to be sieved.
 
ParticleReassociationInstruction toolbox::particles::getParticleReassociationInstructionWithinCellWithIntraCellReassignment (bool isLocal, double searchRadius, const tarch::la::Vector< Dimensions, double > &x, const peano4::datamanagement::CellMarker &marker, int numberOfVertexWithinCell)
 
std::bitset< TwoPowerDtoolbox::particles::getAdjacentCellsOwningParticle (const tarch::la::Vector< Dimensions, double > &x, const peano4::datamanagement::VertexMarker &marker)
 Find out which adjacent cell will hold a particle.
 

Variables

constexpr int toolbox::particles::ParticleReassociationInstruction_Keep = -1
 
constexpr int toolbox::particles::ParticleReassociationInstruction_SieveGlobally = -2