Peano
Variants.h
Go to the documentation of this file.
1 #pragma once
2 
39 #include "tarch/la/Vector.h"
40 
41 namespace variant1 {
42  extern tarch::logging::Log _log;
43  void runBenchmarks(
44  int numberOfCells,
45  double timeStamp,
46  double timeStepSize,
47  const tarch::la::Vector<DIMENSIONS, double> cellCenter,
48  const tarch::la::Vector<DIMENSIONS, double> cellSize
49  );
50 } // namespace variant1
51 
52 namespace variant2 {
53  extern tarch::logging::Log _log;
54  void runBenchmarks(
55  int numberOfCells,
56  double timeStamp,
57  double timeStepSize,
58  const tarch::la::Vector<DIMENSIONS, double> cellCenter,
59  const tarch::la::Vector<DIMENSIONS, double> cellSize
60  );
61 } // namespace variant2
62 
63 namespace variant3 {
64  extern tarch::logging::Log _log;
65  void runBenchmarks(
66  int numberOfCells,
67  double timeStamp,
68  double timeStepSize,
69  const tarch::la::Vector<DIMENSIONS, double> cellCenter,
70  const tarch::la::Vector<DIMENSIONS, double> cellSize
71  );
72 } // namespace variant3
73 
74 namespace variant4 {
75  extern tarch::logging::Log _log;
76  void runBenchmarks(
77  int numberOfCells,
78  double timeStamp,
79  double timeStepSize,
80  const tarch::la::Vector<DIMENSIONS, double> cellCenter,
81  const tarch::la::Vector<DIMENSIONS, double> cellSize
82  );
83 } // namespace variant4
84 
85 namespace variant5 {
86  extern tarch::logging::Log _log;
87  void runBenchmarks(
88  int numberOfCells,
89  double timeStamp,
90  double timeStepSize,
91  const tarch::la::Vector<DIMENSIONS, double> cellCenter,
92  const tarch::la::Vector<DIMENSIONS, double> cellSize
93  );
94 } // namespace variant5
95 
96 namespace variant6 {
97  extern tarch::logging::Log _log;
98  void runBenchmarks(
99  int numberOfCells,
100  double timeStamp,
101  double timeStepSize,
102  const tarch::la::Vector<DIMENSIONS, double> cellCenter,
103  const tarch::la::Vector<DIMENSIONS, double> cellSize
104  );
105 } // namespace variant6
constexpr double timeStamp
const tarch::la::Vector< DIMENSIONS, double > cellCenter
const tarch::la::Vector< DIMENSIONS, double > cellSize
constexpr double timeStepSize
There are a total of six variants based on different assumptions.
Definition: Variants.h:41
tarch::logging::Log _log
This is variant 1 of the fused kernels.
void runBenchmarks(int numberOfCells, double timeStamp, double timeStepSize, const tarch::la::Vector< DIMENSIONS, double > cellCenter, const tarch::la::Vector< DIMENSIONS, double > cellSize)
Definition: Variant1.cpp:224
void runBenchmarks(int numberOfCells, double timeStamp, double timeStepSize, const tarch::la::Vector< DIMENSIONS, double > cellCenter, const tarch::la::Vector< DIMENSIONS, double > cellSize)
Definition: Variant2.cpp:229
tarch::logging::Log _log
This is variant 2 of the fused kernels.
void runBenchmarks(int numberOfCells, double timeStamp, double timeStepSize, const tarch::la::Vector< DIMENSIONS, double > cellCenter, const tarch::la::Vector< DIMENSIONS, double > cellSize)
Definition: Variant3.cpp:225
tarch::logging::Log _log
This is variant 3 of the fused kernels.
tarch::logging::Log _log
This is variant 4 of the fused kernels.
void runBenchmarks(int numberOfCells, double timeStamp, double timeStepSize, const tarch::la::Vector< DIMENSIONS, double > cellCenter, const tarch::la::Vector< DIMENSIONS, double > cellSize)
Definition: Variant4.cpp:223
tarch::logging::Log _log
This is variant 5 of the fused kernels.
void runBenchmarks(int numberOfCells, double timeStamp, double timeStepSize, const tarch::la::Vector< DIMENSIONS, double > cellCenter, const tarch::la::Vector< DIMENSIONS, double > cellSize)
Definition: Variant5.cpp:225
tarch::logging::Log _log
This is variant 6 of the fused kernels.
void runBenchmarks(int numberOfCells, double timeStamp, double timeStepSize, const tarch::la::Vector< DIMENSIONS, double > cellCenter, const tarch::la::Vector< DIMENSIONS, double > cellSize)
Definition: Variant6.cpp:231