Peano
Loading...
Searching...
No Matches
HydroForce.h File Reference
Include dependency graph for HydroForce.h:
This graph shows which files directly or indirectly include this file:

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::hydro_prepare_force (Particle *localParticle)
 Prepare a particle for the force calculation.
 
template<typename Particle >
bool swift2::kernels::legacy::prepareHydroForceUpdateParticlePredicate (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 
template<typename Particle >
void swift2::kernels::legacy::prepareHydroForce (const peano4::datamanagement::VertexMarker &marker, Particle &localParticle)
 
template<typename Particle >
void swift2::kernels::legacy::hydro_reset_acceleration (Particle *localParticle)
 Reset acceleration fields of a particle.
 
template<typename Particle >
bool swift2::kernels::legacy::resetAccelerationUpdateParticlePredicate (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 
template<typename Particle >
void swift2::kernels::legacy::resetAcceleration (const peano4::datamanagement::VertexMarker &marker, Particle &localParticle)
 
template<typename Particle >
void swift2::kernels::legacy::hydro_end_force (Particle *localParticle)
 Finishes the force calculation.
 
template<typename Particle >
bool swift2::kernels::legacy::endHydroForceCalculationUpdateParticlePredicate (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 
template<typename Particle >
void swift2::kernels::legacy::endHydroForceCalculation (const peano4::datamanagement::VertexMarker &marker, Particle &localParticle)
 
template<typename Particle >
void swift2::kernels::legacy::force_kernel (Particle *localParticle, const Particle *activeParticle)
 The actual force kernel, which interacts a local particle and an active particle, and updates the local particle.
 
template<typename Particle >
bool swift2::kernels::legacy::forceKernelUpdateParticlePredicate (const peano4::datamanagement::CellMarker &marker, const bool &localParticleIsContainedInCell, const Particle &localParticle)
 
template<typename Particle >
bool swift2::kernels::legacy::forceKernelEvaluatePairInteractionPredicate (const peano4::datamanagement::CellMarker &marker, const Particle &localParticle, const Particle &activeParticle)
 
template<typename Particle >
void swift2::kernels::legacy::forceKernel (const peano4::datamanagement::CellMarker &marker, Particle &localParticle, const Particle &activeParticle)
 Generic force kernel implementation.
 
template<typename Particle >
void swift2::kernels::legacy::predict_hyrdro (Particle *particle)
 Predict hydro terms (SWIFT) Relevant for inactive particles when using local-timestepping, but always used.
 
template<typename Particle >
bool swift2::kernels::legacy::predictHydroUpdateParticlePredicate (const peano4::datamanagement::VertexMarker &marker, const Particle &localParticle)
 
template<typename Particle >
void swift2::kernels::legacy::predictHydro (const peano4::datamanagement::VertexMarker &marker, Particle &localParticle)
 
template<typename Particle >
bool swift2::kernels::legacy::forceKernelDistanceCheck (Particle *__restrict__ localParticle, const Particle *__restrict__ activeParticle)
 Check distance between two particles.