Peano
Loading...
Searching...
No Matches
ParticleListValidation.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#include <list>
6#include <vector>
7
9
10namespace toolbox {
11 namespace particles {
15 template <typename T>
18 );
19
20
21
31 template <typename T>
33 const std::list<T*> activeParticles,
34 const std::vector<int>& numberOfParticlesPerVertexAdded
35 );
36 }
37}
38
39
void ensureThatParticleListsEncodeContinuousMemoryChunks(const std::list< T * > activeParticles, const std::vector< int > &numberOfParticlesPerVertexAdded)
Validate encoding of particle lists.
void ensureAllParticleListsAreGatheredOrEmpty(peano4::datamanagement::VertexEnumerator< T > vertices)
Check if all particles are either gathered or host the empt set.
Vertex enumerator within array.