bool operator!=(const toolbox::particles::assignmentchecks::internal::ParticleIdentifier &lhs, const toolbox::particles::assignmentchecks::internal::ParticleIdentifier &rhs)
bool operator==(const toolbox::particles::assignmentchecks::internal::ParticleIdentifier &lhs, const toolbox::particles::assignmentchecks::internal::ParticleIdentifier &rhs)
Comparison operator.
static int getVertexDepth(const tarch::la::Vector< Dimensions, double > &vertexX, const tarch::la::Vector< Dimensions, double > &vertexH)
Compute an integer vertex "depth" given its size We currently guess a domain size for a simulation an...
ParticleIdentifier(const std::string &particleName__, const tarch::la::Vector< Dimensions, double > &particleX__, const tarch::la::Vector< Dimensions, long long > &vertexInd__, const int vertexDepth__, const int particleID__, const int treeID__)
ParticleIdentifier(const std::string &particleName__, const tarch::la::Vector< Dimensions, double > &particleX__, const tarch::la::Vector< Dimensions, double > &vertexX, const tarch::la::Vector< Dimensions, double > &vertexH, const int particleID__, const int treeId__)
static tarch::la::Vector< Dimensions, long long > getVertexInd(const tarch::la::Vector< Dimensions, double > &vertexX, const tarch::la::Vector< Dimensions, double > &vertexH)
Compute an integer vertex "index" given its position and size.