Peano
Loading...
Searching...
No Matches
toolbox::particles::internal Namespace Reference

Functions

double relativeReleaseOwnershipSpatialSortingTolerance (const ::peano4::datamanagement::VertexMarker &marker)
 
double relativeReleaseOwnershipSpatialSortingTolerance (const ::peano4::datamanagement::CellMarker &marker)
 
double relativeReleaseOwnershipSpatialSortingTolerance (const tarch::la::Vector< Dimensions, double > &h)
 
double relativeGrabOwnershipSpatialSortingTolerance (const ::peano4::datamanagement::VertexMarker &marker)
 
double relativeGrabOwnershipSpatialSortingTolerance (const ::peano4::datamanagement::CellMarker &marker)
 
double relativeGrabOwnershipSpatialSortingTolerance (const tarch::la::Vector< Dimensions, double > &h)
 
bool fitsIntoLevel (double searchRadius, const ::peano4::datamanagement::CellMarker &marker)
 
bool fitsIntoLevel (double searchRadius, const ::peano4::datamanagement::VertexMarker &marker)
 
std::bitset< Dimensions > getParticleAssociationWithinCell (const tarch::la::Vector< Dimensions, double > &x, const tarch::la::Vector< Dimensions, double > &cellCentre)
 Find out which vertex should hold a particle.
 

Function Documentation

◆ fitsIntoLevel() [1/2]

bool toolbox::particles::internal::fitsIntoLevel ( double  searchRadius,
const ::peano4::datamanagement::CellMarker &  marker 
)

◆ fitsIntoLevel() [2/2]

bool toolbox::particles::internal::fitsIntoLevel ( double  searchRadius,
const ::peano4::datamanagement::VertexMarker &  marker 
)

◆ getParticleAssociationWithinCell()

std::bitset< Dimensions > toolbox::particles::internal::getParticleAssociationWithinCell ( const tarch::la::Vector< Dimensions, double > &  x,
const tarch::la::Vector< Dimensions, double > &  cellCentre 
)

Find out which vertex should hold a particle.

Parameters
particleThe particle of interest to be studied.
cellCentreResults from CellMarker::x().
Returns
The number of the vertex within the cell identified by marker to which you should assign particle. Use to_ulong() to convert the result, as the result identifies the vertex in z-order, i.e. if it returns 00 it is the left bottom vertex, 10 is the right bottom one, and so forth.

◆ relativeGrabOwnershipSpatialSortingTolerance() [1/3]

double toolbox::particles::internal::relativeGrabOwnershipSpatialSortingTolerance ( const ::peano4::datamanagement::CellMarker &  marker)

◆ relativeGrabOwnershipSpatialSortingTolerance() [2/3]

◆ relativeGrabOwnershipSpatialSortingTolerance() [3/3]

double toolbox::particles::internal::relativeGrabOwnershipSpatialSortingTolerance ( const tarch::la::Vector< Dimensions, double > &  h)

◆ relativeReleaseOwnershipSpatialSortingTolerance() [1/3]

double toolbox::particles::internal::relativeReleaseOwnershipSpatialSortingTolerance ( const ::peano4::datamanagement::CellMarker &  marker)

◆ relativeReleaseOwnershipSpatialSortingTolerance() [2/3]

double toolbox::particles::internal::relativeReleaseOwnershipSpatialSortingTolerance ( const ::peano4::datamanagement::VertexMarker &  marker)

◆ relativeReleaseOwnershipSpatialSortingTolerance() [3/3]

double toolbox::particles::internal::relativeReleaseOwnershipSpatialSortingTolerance ( const tarch::la::Vector< Dimensions, double > &  h)