![]() |
Peano
|
#include "peano4/datamanagement/CellMarker.h"
#include "peano4/datamanagement/VertexMarker.h"
#include "swift2/kernels/ParticleUpdatePredicates.h"
#include "Swift.cpph"
Go to the source code of this file.
Namespaces | |
namespace | swift2 |
This file is part of the SWIFT 2 project. | |
namespace | swift2::kernels |
namespace | swift2::kernels::legacy |
Legacy SPH implementation. | |
Functions | |
template<typename Particle > | |
void | swift2::kernels::legacy::first_init_particle (Particle *particle) |
Initialise particles for the first time. | |
template<typename Particle > | |
bool | swift2::kernels::legacy::firstInitParticleParticleUpdatePredicate (const peano4::datamanagement::VertexMarker &marker, const Particle &particle) |
In principle, we don't need to check for anything here, just overwrite particle data. | |
template<typename Particle > | |
void | swift2::kernels::legacy::firstInitParticle (const peano4::datamanagement::VertexMarker &marker, Particle &particle) |
template<typename Particle > | |
void | swift2::kernels::legacy::hydro_init_particle (Particle *particle) |
Prepares a particle for the density calculation. | |