Peano 4
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 relativeGrabOwnershipSpatialSortingTolerance (const ::peano4::datamanagement::VertexMarker &marker)
 
double relativeGrabOwnershipSpatialSortingTolerance (const ::peano4::datamanagement::CellMarker &marker)
 
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 )

Definition at line 42 of file MultiscaleTransitions.cpp.

References tarch::la::greaterEquals(), and tarch::la::min().

Here is the call graph for this function:

◆ 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.

Definition at line 47 of file MultiscaleTransitions.cpp.

References tarch::la::greaterEquals().

Here is the call graph for this function:

◆ relativeGrabOwnershipSpatialSortingTolerance() [1/2]

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

Definition at line 32 of file MultiscaleTransitions.cpp.

References toolbox::particles::GrabOwnershipSpatialSortingTolerance, and tarch::la::max().

Here is the call graph for this function:

◆ relativeGrabOwnershipSpatialSortingTolerance() [2/2]

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

Definition at line 27 of file MultiscaleTransitions.cpp.

References toolbox::particles::GrabOwnershipSpatialSortingTolerance, and tarch::la::max().

Referenced by toolbox::particles::tests::MultiscaleTransitionsTest::testLiftDropOfParticleAssociatedWithVertex03().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ relativeReleaseOwnershipSpatialSortingTolerance() [1/2]

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

Definition at line 22 of file MultiscaleTransitions.cpp.

References tarch::la::max(), and toolbox::particles::ReleaseOwnershipSpatialSortingTolerance.

Here is the call graph for this function:

◆ relativeReleaseOwnershipSpatialSortingTolerance() [2/2]

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