Peano
Loading...
Searching...
No Matches
Statistics.cpph
Go to the documentation of this file.
2
3template <typename Particle>
6 Particle& particle
7) {
8 Particle::getSpecies().setVelocity(
9 tarch::la::norm2(particle.getV()),
10 tarch::la::norm2(particle.getV()),
11 particle.getSearchRadius(),
12 particle.getSearchRadius()
13 );
14}
void reduceVelocityAndSearchRadius(const peano4::datamanagement::VertexMarker &marker, Particle &localParticle)
Scalar norm2(const Vector< Size, Scalar > &vector)
Computes the 2-norm of the vector, i.e.
Vertex marker to provide information about selected vertex.