Peano
Loading...
Searching...
No Matches
EulerKernels.h
Go to the documentation of this file.
1// This file is part of the ExaGRyPE project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5#include "tarch/tarch.h"
7
8namespace exagrype {
9 namespace euler {
10
22 #if defined(SharedOMP)
23 #pragma omp declare simd
24 #endif
25 double pressure(const double* const Q, const double gamma);
26
42 #if defined(SharedOMP)
43 #pragma omp declare simd
44 #endif
45 void flux(
46 const double* const Q,
47 const double* const ccz4Fields,
48 const int normal,
49 const double gamma,
50 double* const F
51 );
52
68 #if defined(SharedOMP)
69 #pragma omp declare simd
70 #endif
72 const double* const Q,
73 const double* const ccz4Fields,
74 const int normal,
75 const double gamma
76 );
77
93 #if defined(SharedOMP)
94 #pragma omp declare simd
95 #endif
96 void source(
97 const double* const Q,
98 const double* const ccz4Fields,
99 const double gamma,
100 double* const S
101 );
102
103 } // namespace euler
104} // namespace exagrype
double maxEigenvalue(const double *const Q, const double *const ccz4Fields, const int normal, const double gamma)
Maximum eigenvalue of the flux Jacobian along one coordinate axis.
double pressure(const double *const Q, const double gamma)
Pressure of an ideal gas.
void flux(const double *const Q, const double *const ccz4Fields, const int normal, const double gamma, double *const F)
Flux of the Euler equations along one coordinate axis.
void source(const double *const Q, const double *const ccz4Fields, const double gamma, double *const S)
Volumetric source of the Euler equations.
This file is part of the ExaGRyPE project.
Definition __init__.py:1