SPH
Functions
Finders.cpp File Reference
#include "bench/Session.h"
#include "objects/finders/BruteForceFinder.h"
#include "objects/finders/KdTree.h"
#include "objects/finders/LinkedList.h"
#include "objects/finders/UniformGrid.h"
#include "objects/geometry/Domain.h"
#include "sph/initial/Distribution.h"
#include "thread/Pool.h"
#include "thread/Tbb.h"

Go to the source code of this file.

Functions

template<typename TFinder >
void finderRun (Benchmark::Context &context, TFinder &finder, const Size particleCnt)
 
 BENCHMARK ("Finder run KdTree", "[finders]", Benchmark::Context &context)
 
 BENCHMARK ("Finder run UniformGrid", "[finders]", Benchmark::Context &context)
 
 BENCHMARK ("Finder run BruteForce", "[finders]", Benchmark::Context &context)
 
 BENCHMARK ("Finder build KdTree Sequential", "[finders]", Benchmark::Context &context)
 
 BENCHMARK ("Finder build KdTree ThreadPool", "[finders]", Benchmark::Context &context)
 

Function Documentation

◆ BENCHMARK() [1/5]

BENCHMARK ( "Finder build KdTree Sequential"  ,
""  [finders],
Benchmark::Context &  context 
)

Definition at line 63 of file Finders.cpp.

◆ BENCHMARK() [2/5]

BENCHMARK ( "Finder build KdTree ThreadPool ,
""  [finders],
Benchmark::Context &  context 
)

Definition at line 68 of file Finders.cpp.

◆ BENCHMARK() [3/5]

BENCHMARK ( "Finder run BruteForce"  ,
""  [finders],
Benchmark::Context &  context 
)

Definition at line 41 of file Finders.cpp.

◆ BENCHMARK() [4/5]

BENCHMARK ( "Finder run KdTree ,
""  [finders],
Benchmark::Context &  context 
)

Definition at line 31 of file Finders.cpp.

◆ BENCHMARK() [5/5]

BENCHMARK ( "Finder run UniformGrid"  ,
""  [finders],
Benchmark::Context &  context 
)

Definition at line 36 of file Finders.cpp.

◆ finderRun()

template<typename TFinder >
void finderRun ( Benchmark::Context &  context,
TFinder &  finder,
const Size  particleCnt 
)

Definition at line 14 of file Finders.cpp.