Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
fs_limiters.h File Reference

Definitions of the limiter functions used in the field solver. More...

#include <cstdlib>
#include <algorithm>
#include <limits>
Include dependency graph for fs_limiters.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T>
minmod (const T &a, const T &b)
template<typename T>
minmod (const T &left, const T &cent, const T &rght)
template<typename T>
MClimiter (const T &left, const T &cent, const T &right)
template<typename T>
superbee (const T &left, const T &cent, const T &right)
template<typename T>
vanLeer (const T &left, const T &cent, const T &right)
template<typename T>
limiter (const T &left, const T &cent, const T &rght)

Detailed Description

Definitions of the limiter functions used in the field solver.

Definitions of the limiter functions used in the field solver. The three-point limiter functions are minmod, MC, superbee and vanLeer. Their helper functions are the two-point minmod and the sign function.

Definition in file fs_limiters.h.

Function Documentation

◆ limiter()

template<typename T>
T limiter ( const T & left,
const T & cent,
const T & rght )
inline

Definition at line 85 of file fs_limiters.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MClimiter()

template<typename T>
T MClimiter ( const T & left,
const T & cent,
const T & right )
inline

Definition at line 53 of file fs_limiters.h.

Here is the call graph for this function:

◆ minmod() [1/2]

template<typename T>
T minmod ( const T & a,
const T & b )
inline

Definition at line 38 of file fs_limiters.h.

Here is the caller graph for this function:

◆ minmod() [2/2]

template<typename T>
T minmod ( const T & left,
const T & cent,
const T & rght )
inline

Definition at line 46 of file fs_limiters.h.

Here is the call graph for this function:

◆ superbee()

template<typename T>
T superbee ( const T & left,
const T & cent,
const T & right )
inline

Definition at line 65 of file fs_limiters.h.

Here is the call graph for this function:

◆ vanLeer()

template<typename T>
T vanLeer ( const T & left,
const T & cent,
const T & right )
inline

Definition at line 75 of file fs_limiters.h.

Here is the caller graph for this function: