Peano
Loading...
Searching...
No Matches
TracingAPI.h File Reference
#include "tarch/la/Vector.h"
#include "TracingAPI.cpph"
Include dependency graph for TracingAPI.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
 
namespace  toolbox::particles::assignmentchecks
 Correctness checks of particle-mesh assignment.
 

Typedefs

using toolbox::particles::assignmentchecks::ParticlePosition = tarch::la::Vector<Dimensions, double>
 

Functions

std::string toolbox::particles::assignmentchecks::sweepHistory ()
 Get the history of stored sweeps.
 
void toolbox::particles::assignmentchecks::startMeshSweep (const std::string &meshSweepName)
 Inform API that this is the end of a grid run-throuch.
 
void toolbox::particles::assignmentchecks::eraseParticle (const std::string &particleName, const tarch::la::Vector< Dimensions, double > &particleX, const int particleID, bool isLocal, const tarch::la::Vector< Dimensions, double > &vertexX, const tarch::la::Vector< Dimensions, double > &vertexH, int treeId, const std::string &trace)
 Log that a particle is erased.
 
void toolbox::particles::assignmentchecks::moveParticle (const std::string &particleName, const tarch::la::Vector< Dimensions, double > &oldParticleX, const tarch::la::Vector< Dimensions, double > &newParticleX, const int particleID, const tarch::la::Vector< Dimensions, double > &vertexX, const tarch::la::Vector< Dimensions, double > &vertexH, int treeId, const std::string &trace)
 Record the movement of a particle.
 
void toolbox::particles::assignmentchecks::assignParticleToVertex (const std::string &particleName, const tarch::la::Vector< Dimensions, double > &particleX, const int particleID, bool isLocal, const tarch::la::Vector< Dimensions, double > &vertexX, const tarch::la::Vector< Dimensions, double > &vertexH, int treeId, const std::string &trace, const tarch::la::Vector< Dimensions, double > &prevVertexX, const tarch::la::Vector< Dimensions, double > &prevVertexH, bool particleIsNew=false, bool reassignmentOnSameTreeDepthAllowed=false)
 Assign a particle to a vertex.
 
void toolbox::particles::assignmentchecks::detachParticleFromVertex (const std::string &particleName, const tarch::la::Vector< Dimensions, double > &particleX, const int particleID, bool isLocal, const tarch::la::Vector< Dimensions, double > &vertexX, const tarch::la::Vector< Dimensions, double > &vertexH, int treeId, const std::string &trace)
 Remove particle from vertex.
 
void toolbox::particles::assignmentchecks::assignParticleToSieveSet (const std::string &particleName, const tarch::la::Vector< Dimensions, double > &particleX, const int particleID, bool isLocal, const tarch::la::Vector< Dimensions, double > &vertexX, const tarch::la::Vector< Dimensions, double > &vertexH, int treeId, const std::string &trace)
 Assign a particle to a sieve set.
 
template<typename Particle >
std::string toolbox::particles::assignmentchecks::pruneTypeName ()
 Find out particle name.
 
void toolbox::particles::assignmentchecks::eliminateExistingParticles ()
 Eliminate existing particles, so only those that are "forgotten" remain.
 
void toolbox::particles::assignmentchecks::ensureDatabaseIsEmpty ()
 Ensure that database is empty.
 
template<typename ParticleContainer >
std::vector< ParticlePositiontoolbox::particles::assignmentchecks::recordParticlePositions (const ParticleContainer &container)
 Record the current particle positions in a vector.
 
template<typename ParticleContainer >
void toolbox::particles::assignmentchecks::traceParticleMovements (const ParticleContainer &container, const std::vector< ParticlePosition > &recordedPositions, const tarch::la::Vector< Dimensions, double > &vertexX, const tarch::la::Vector< Dimensions, double > &vertexH, int spacetreeId)
 Trace the particle movements.