![]() |
|
#include <dg_elements.h>
Public Member Functions | |
MinModLimiter (const double &m=0.0, const bool &muscl=false) | |
virtual | ~MinModLimiter () |
Empty destructor. More... | |
double | minmod (Vector< double > &args) |
The basic minmod function. More... | |
double | minmodB (Vector< double > &args, const double &h) |
The modified minmod function. More... | |
void | limit (const unsigned &i, const Vector< DGElement * > &required_element_pt) |
The limit function. More... | |
![]() | |
SlopeLimiter () | |
Empty constructor. More... | |
virtual | ~SlopeLimiter () |
virtual destructor More... | |
Private Attributes | |
double | M |
bool | MUSCL |
Boolean flag to indicate a MUSCL or straight min-mod limiter. More... | |
Constructor takes a value for the modification parameter M (default to zero — classic min mod) and a flag to indicate whether we use MUSCL limiting or not — default false
|
virtual |
The limit function.
Implement the limiter function for the basic MinModlimiter.
Reimplemented from oomph::SlopeLimiter.
References boost::multiprecision::fabs(), i, minmod(), minmodB(), MUSCL, n, Global_Parameters::u_r(), Eigen::value, plotDoE::x, and Global::x0.
The basic minmod function.
Helper minmod function.
References compute_granudrum_aor::args, boost::multiprecision::fabs(), i, min, and SYCL::sign().
The modified minmod function.
Modified minmod limiter to fix behaviour in smooth regions.
References compute_granudrum_aor::args, boost::multiprecision::fabs(), and minmod().
Referenced by limit().
|
private |
Constant that is used in the modified min-mod function to provide better properties at extrema
|
private |
Boolean flag to indicate a MUSCL or straight min-mod limiter.
Referenced by limit().