Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
ComputeFluxUtilities.hpp File Reference
Include dependency graph for ComputeFluxUtilities.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  shammodels
 namespace for models
namespace  shammodels::basegodunov
 namespace for the basegodunov model
namespace  shammodels::basegodunov::modules
 namespace for the basegodunov model modules

Typedefs

using shammodels::basegodunov::modules::RiemannSolverMode = shammodels::basegodunov::RiemannSolverMode
using shammodels::basegodunov::modules::DustRiemannSolverMode = shammodels::basegodunov::DustRiemannSolverMode
using shammodels::basegodunov::modules::Direction = shammodels::basegodunov::modules::Direction

Functions

template<class Tvec, Direction dir>
constexpr Tvec shammodels::basegodunov::modules::dir_normal ()
 Unit normal vector of a face pointing in the given direction.
template<shammath::FluidStateAdiabaticSpec FSpec, RiemannSolverMode mode, Direction dir>
constexpr FSpec::Tcons shammodels::basegodunov::modules::riemann_flux (const FSpec &fspec, const typename FSpec::Tprim &prim_l, const typename FSpec::Tprim &prim_r)
 Dispatch to the gas Riemann solver selected by mode, for a face with unit normal along dir. The fluid state spec is supplied by the caller (see NodeComputeFlux.cpp) rather than constructed here.
template<shammath::DustFluidStateSpec FSpec, DustRiemannSolverMode mode, Direction dir>
constexpr FSpec::Tcons shammodels::basegodunov::modules::riemann_dust_flux (const FSpec &fspec, const typename FSpec::Tprim &prim_l, const typename FSpec::Tprim &prim_r)
 Dispatch to the dust Riemann solver selected by mode, for a face with unit normal along dir. The dust fluid state spec is supplied by the caller (see NodeComputeFlux.cpp) rather than constructed here.

Detailed Description