SPH
Compare.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "quantities/Storage.h"
4 
6 
7 namespace Post {
8 
16 Outcome compareParticles(const Storage& test, const Storage& ref, const Float eps = 1.e-6_f);
17 
29  const Storage& ref,
30  const Float fraction,
31  const Float maxDeviation,
32  const Float eps = 1.e-6_f);
33 
34 } // namespace Post
35 
NAMESPACE_SPH_BEGIN
Definition: BarnesHut.cpp:13
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
Definition: Globals.h:13
#define NAMESPACE_SPH_END
Definition: Object.h:12
Container for storing particle quantities and materials.
Container storing all quantities used within the simulations.
Definition: Storage.h:230
Definition: Analysis.h:21
Outcome compareLargeSpheres(const Storage &test, const Storage &ref, const Float fraction, const Float maxDeviation, const Float eps=1.e-6_f)
Compares the positions, velocities and radii of the largest particles in given states.
Definition: Compare.cpp:101
Outcome compareParticles(const Storage &test, const Storage &ref, const Float eps=1.e-6_f)
Compares particle positions and state quantities of two storages.
Definition: Compare.cpp:9