One-dimensional solvers¶
-
class Euler1DCore : public std::enable_shared_from_this<Euler1DCore>¶
- #include <Euler1DCore.hpp>
One-dimensional Euler solver core using the CESE method.
It holds the NVAR (3) conserved variables (density, momentum, and total energy) in the so0 array of shape (ncoord, NVAR) and their spatial derivatives in so1, and marches them in space-time. Accessors derive density, velocity, pressure, temperature, internal energy, and entropy from the conserved variables.
-
struct Euler1DKernel¶
- #include <Euler1DCore.hpp>
Per-element computation kernel for the one-dimensional Euler solver.
It caches one solution element state (the conserved variables u, their spatial derivative ux, and the local geometry) and derives the Jacobian, flux, and space-time derivatives used to integrate the conservation element flux.