Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
chemistry_benchmark.h
Go to the documentation of this file.
1
14#ifndef CHEMISTRY_BENCHMARK_H
15#define CHEMISTRY_BENCHMARK_H
16
17#include <cstddef>
18#include <cstdint>
19#include <string>
20#include <vector>
21
22#include <toml.hpp>
23
26 double dt = 0.0;
27 double seconds = 0.0;
29 double mean_substeps = 0.0;
30 double max_substeps = 0.0;
31 std::string histogram; // cells per bin of sub-steps, e.g. "1:960 65-128:64"
32};
33
35 std::string mechanism;
38 size_t shared_bytes = 0;
40 std::vector<ChemistryBenchmarkStep> steps;
41};
42
50ChemistryBenchmark run_chemistry_benchmark(const toml::value & input);
51
52#endif // CHEMISTRY_BENCHMARK_H
ChemistryBenchmark run_chemistry_benchmark(const toml::value &input)
The [benchmark] mode of MallardReactor: states sampled along the trajectory of [reactor] (fresh,...
Definition chemistry_benchmark.cpp:40
KOKKOS_INLINE_FUNCTION rtype dot(const rtype *a, const rtype *b)
Compute the dot product of two arrays.
Definition common_math.h:32
The timed calls of one splitting step dt (the best one's time, the last one's sub-steps).
Definition chemistry_benchmark.h:25
double max_substeps
Definition chemistry_benchmark.h:30
double mean_substeps
Definition chemistry_benchmark.h:29
double dt
Definition chemistry_benchmark.h:26
std::string histogram
Definition chemistry_benchmark.h:31
uint64_t active
Definition chemistry_benchmark.h:28
double seconds
Definition chemistry_benchmark.h:27
Definition chemistry_benchmark.h:34
uint32_t lanes
Definition chemistry_benchmark.h:37
uint32_t species
Definition chemistry_benchmark.h:36
uint32_t threads
Definition chemistry_benchmark.h:37
uint32_t igniting
Definition chemistry_benchmark.h:39
std::string mechanism
Definition chemistry_benchmark.h:35
uint32_t reactions
Definition chemistry_benchmark.h:36
size_t shared_bytes
Definition chemistry_benchmark.h:38
uint32_t cells
Definition chemistry_benchmark.h:39
std::vector< ChemistryBenchmarkStep > steps
Definition chemistry_benchmark.h:40