Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Attributes | List of all members
shammodels::gsph::RiemannConfig< Tvec >::Iterative Struct Reference

van Leer (1997) iterative Riemann solver More...

#include <shammodels/gsph/include/shammodels/gsph/config/RiemannConfig.hpp>

Public Attributes

Tscal tol = Tscal{1.0e-6}
 Convergence tolerance.
 
u32 max_iter = 20
 Maximum iterations.
 

Detailed Description

template<class Tvec>
struct shammodels::gsph::RiemannConfig< Tvec >::Iterative

van Leer (1997) iterative Riemann solver

Uses Newton-Raphson iteration to solve for the exact p* and v*. Robust and accurate for most cases. Reference: van Leer, B. (1997) "Towards the ultimate conservative difference scheme"

Definition at line 65 of file RiemannConfig.hpp.

Member Data Documentation

◆ max_iter

template<class Tvec >
u32 shammodels::gsph::RiemannConfig< Tvec >::Iterative::max_iter = 20

Maximum iterations.

Definition at line 67 of file RiemannConfig.hpp.

◆ tol

template<class Tvec >
Tscal shammodels::gsph::RiemannConfig< Tvec >::Iterative::tol = Tscal{1.0e-6}

Convergence tolerance.

Definition at line 66 of file RiemannConfig.hpp.


The documentation for this struct was generated from the following file: