|
Peano
|
Namespaces | |
| namespace | initialvalues |
| Analytical initial conditions for the Euler equations. | |
Functions | |
| 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. | |
| 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. | |
| void | source (const double *const Q, const double *const ccz4Fields, const double gamma, double *const S) |
| Volumetric source of the Euler equations. | |
| void exagrype::euler::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.
Overwrites all five entries of F. The caller may modify the result afterwards, e.g. scale it by the lapse of a spacetime.
| Q | The five conserved quantities. |
| ccz4Fields | The 58 entries of first-order CCZ4 in this volume (exagrype.api.FOCCZ4Solver.Unknowns), i.e. the auxiliary variables through which the spacetime enters. The Euler equations do not use them yet; the argument is the hook through which the coupling does. |
| normal | Axis along which the flux is evaluated (0, 1 or 2). |
| gamma | Adiabatic index. |
| F | Flux, five entries. |
| double exagrype::euler::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.
This is the modulus of the fluid velocity along the axis plus the speed of sound.
| Q | The five conserved quantities. |
| ccz4Fields | The 58 entries of first-order CCZ4 in this volume (exagrype.api.FOCCZ4Solver.Unknowns), i.e. the auxiliary variables through which the spacetime enters. The Euler equations do not use them yet; the argument is the hook through which the coupling does. |
| normal | Axis along which the eigenvalue is evaluated (0, 1 or 2). |
| gamma | Adiabatic index. |
| double exagrype::euler::pressure | ( | const double *const | Q, |
| const double | gamma ) |
Pressure of an ideal gas.
The five conserved quantities are ordered density, the three momentum components and the total energy (exagrype.api.euler.Euler.Unknowns), and the pressure is \( p = (\gamma-1) ( E - |j|^2 / (2 \rho) ) \).
| Q | The five conserved quantities. |
| gamma | Adiabatic index. |
Referenced by exagrype::euler::initialvalues::smoothWave().

| void exagrype::euler::source | ( | const double *const | Q, |
| const double *const | ccz4Fields, | ||
| const double | gamma, | ||
| double *const | S ) |
Volumetric source of the Euler equations.
The source is zero at the moment. It accepts the solution and the auxiliary variables already, so that a coupling can fill it without changing the interface.
| Q | The five conserved quantities. |
| ccz4Fields | The 58 entries of first-order CCZ4 in this volume (exagrype.api.FOCCZ4Solver.Unknowns), i.e. the auxiliary variables through which the spacetime enters. The Euler equations do not use them yet; the argument is the hook through which the coupling does. |
| gamma | Adiabatic index. |
| S | Source, five entries (output). |