Peano
Loading...
Searching...
No Matches
internal.h
Go to the documentation of this file.
1
// This file is part of the Peano project. For conditions of distribution and
2
// use, please see the copyright notice at www.peano-framework.org
3
#pragma once
4
5
6
#include "
peano4/datamanagement/CellMarker.h
"
7
#include "
peano4/datamanagement/VertexEnumerator.h
"
8
#include "
tarch/la/Vector.h
"
9
10
11
namespace
toolbox
{
12
namespace
particles {
58
constexpr
double
ReleaseOwnershipSpatialSortingTolerance
= 1.01;
59
63
constexpr
double
GrabOwnershipSpatialSortingTolerance
= 1.001;
64
65
namespace
internal {
66
double
relativeReleaseOwnershipSpatialSortingTolerance
(const ::peano4::datamanagement::VertexMarker& marker);
67
double
relativeReleaseOwnershipSpatialSortingTolerance
(const ::peano4::datamanagement::CellMarker& marker);
68
double
relativeReleaseOwnershipSpatialSortingTolerance
(
const
tarch::la::Vector< Dimensions, double >
& h);
69
double
relativeGrabOwnershipSpatialSortingTolerance
(const ::peano4::datamanagement::VertexMarker& marker);
70
double
relativeGrabOwnershipSpatialSortingTolerance
(const ::peano4::datamanagement::CellMarker& marker);
71
double
relativeGrabOwnershipSpatialSortingTolerance
(
const
tarch::la::Vector< Dimensions, double >
& h);
72
73
bool
fitsIntoLevel
(
double
searchRadius, const ::peano4::datamanagement::CellMarker& marker);
74
bool
fitsIntoLevel
(
double
searchRadius, const ::peano4::datamanagement::VertexMarker& marker);
75
88
std::bitset<Dimensions>
getParticleAssociationWithinCell
(
const
tarch::la::Vector<Dimensions, double>
& x,
const
tarch::la::Vector<Dimensions, double>
& cellCentre);
89
}
// namespace internal
90
}
// namespace particles
91
}
// namespace toolbox
92
93
94
CellMarker.h
Vector.h
VertexEnumerator.h
toolbox::particles::internal::getParticleAssociationWithinCell
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.
toolbox::particles::internal::relativeGrabOwnershipSpatialSortingTolerance
double relativeGrabOwnershipSpatialSortingTolerance(const ::peano4::datamanagement::VertexMarker &marker)
toolbox::particles::internal::relativeReleaseOwnershipSpatialSortingTolerance
double relativeReleaseOwnershipSpatialSortingTolerance(const ::peano4::datamanagement::VertexMarker &marker)
toolbox::particles::internal::fitsIntoLevel
bool fitsIntoLevel(double searchRadius, const ::peano4::datamanagement::CellMarker &marker)
toolbox::particles::ReleaseOwnershipSpatialSortingTolerance
constexpr double ReleaseOwnershipSpatialSortingTolerance
Sorting tolerance.
Definition
internal.h:58
toolbox::particles::GrabOwnershipSpatialSortingTolerance
constexpr double GrabOwnershipSpatialSortingTolerance
Definition
internal.h:63
toolbox
Definition
InterpolationRestriction.h:10
tarch::la::Vector< Dimensions, double >
src
toolbox
particles
internal.h
Generated on Tue Nov 3 2026 16:05:42 for Peano by
1.9.8