Peano
Loading...
Searching...
No Matches
swift2.h
Go to the documentation of this file.
1// This file is part of the SWIFT2 project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5
8
9namespace swift2 {
33 auto& particleContainer,
35 ) {
36 for (auto* particle: particleContainer ) {
37 if ( marker.isContained(
38 particle->getX(),
40 )) {
41 particle->setCellHasUpdatedParticle(true);
42 }
43 }
44 }
45}
This file is part of the SWIFT 2 project.
void markAllParticlesAsUpdatedWithinCell(auto &particleContainer, const peano4::datamanagement::CellMarker &marker)
Set the particle markers of all particles within a cell.
Definition swift2.h:32
constexpr double NUMERICAL_ZERO_DIFFERENCE
Definition Scalar.h:17
double relativeGrabOwnershipSpatialSortingTolerance(const ::peano4::datamanagement::VertexMarker &marker)