Peano
Loading...
Searching...
No Matches
ParticleSearchRadiusCalculation.h
Go to the documentation of this file.
1// This file is part of the ExaParty project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5#include <list>
6
7namespace exaparty {
8 namespace kernels {
52 template <typename Particle>
54 const std::list<Particle*>& localParticles,
55 const std::list<Particle*>& activeParticles,
56 int targetNumberOfNeighbourParticles,
57 double maxGrowthPerSweep = 2.0,
58 double shrinkingFactor = 0.8
59 );
60 } // namespace kernels
61} // namespace exaparty
62
63#include "ParticleSearchRadiusCalculation.cpph"
void adoptInteractionRadiusAndTriggerRerun(const std::list< Particle * > &localParticles, const std::list< Particle * > &activeParticles, int targetNumberOfNeighbourParticles, double maxGrowthPerSweep=2.0, double shrinkingFactor=0.8)
This routine runs over all the local particles and tries to ensure that the number of particles equal...
This file is part of the ExaParty project.
Definition __init__.py:1