#include <dg_elements.h>
Inheritance diagram for oomph::MinModLimiter:Public Member Functions | |
| MinModLimiter (const double &m=0.0, const bool &muscl=false) | |
| 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. More... | |
| 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... | |
Public Member Functions inherited from oomph::SlopeLimiter | |
| SlopeLimiter () | |
| Empty constructor. More... | |
| virtual | ~SlopeLimiter () |
| virtual destructor More... | |
Private Attributes | |
| double | M |
| Constant that is used in the modified min-mod function to provide better properties at extrema. More... | |
| bool | MUSCL |
| Boolean flag to indicate a MUSCL or straight min-mod limiter. More... | |
Definition at line 524 of file dg_elements.h.
|
inline |
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.
Definition at line 538 of file dg_elements.h.
|
inlinevirtual |
|
virtual |
The limit function.
Implement the limiter function for the basic MinModlimiter.
Reimplemented from oomph::SlopeLimiter.
Definition at line 757 of file dg_elements.cc.
References oomph::FiniteElement::nnode(), and oomph::FiniteElement::node_pt().
| double oomph::MinModLimiter::minmod | ( | Vector< double > & | args | ) |
The basic minmod function.
Helper minmod function.
Definition at line 708 of file dg_elements.cc.
References i.
| double oomph::MinModLimiter::minmodB | ( | Vector< double > & | args, |
| const double & | h | ||
| ) |
The modified minmod function.
Modified minmod limiter to fix behaviour in smooth regions.
Definition at line 744 of file dg_elements.cc.
|
private |
Constant that is used in the modified min-mod function to provide better properties at extrema.
Definition at line 528 of file dg_elements.h.
|
private |
Boolean flag to indicate a MUSCL or straight min-mod limiter.
Definition at line 531 of file dg_elements.h.