Peano
Loading...
Searching...
No Matches
TimeStepping.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
9
10
11namespace swift2 {
12 namespace timestepping {
20 template <typename Particle>
21 void reset_moved_particle_marker(Particle& particle);
22
23 template <typename Particle>
26 const Particle& particle
27 ) {
28 return ::swift2::kernels::localParticleCanBeUpdatedInVertexKernel(
29 marker,
30 particle
31 );
32 }
33
34 template <typename Particle>
37 Particle& particle
38 ) {
40 ::swift2::kernels::
41 localParticleCanBeUpdatedInVertexKernel(marker, particle),
42 marker.toString(),
43 particle.toString()
44 );
46 }
47 } // namespace timestepping
48} // namespace swift2
49
50
51#include "TimeStepping.cpph"
#define assertion2(expr, param0, param1)
void resetMovedParticleMarker(const peano4::datamanagement::VertexMarker &marker, Particle &particle)
void reset_moved_particle_marker(Particle &particle)
Reset the marker of a particle from whatever it has been before to NotMoved.
bool resetMovedParticleMarkerUpdateParticlePredicate(const peano4::datamanagement::VertexMarker &marker, const Particle &particle)
This file is part of the SWIFT 2 project.
Vertex marker to provide information about selected vertex.