Class that implements WENO interpolation.
More...
#include <WENO.h>
|
static double | interp6 (double x, const double v[6], const double eps=std::numeric_limits< double >::epsilon()) |
| Interpolate using 6th order accurate WENO scheme. More...
|
|
static double | interp4 (double x, const double v[4], const double eps=std::numeric_limits< double >::epsilon()) |
| Interpolate using 4th order accurate WENO scheme. More...
|
|
Class that implements WENO interpolation.
◆ interp4()
static double WENO::interp4 |
( |
double |
x, |
|
|
const double |
v[4], |
|
|
const double |
eps = std::numeric_limits<double>::epsilon() |
|
) |
| |
|
inlinestatic |
Interpolate using 4th order accurate WENO scheme.
- Parameters
-
[in] | x | Position between 0 and 1. |
[in] | v | Values on positions of -1, 0, 1, 2. |
[in] | eps | Very small number to avoid division by zero. |
◆ interp6()
static double WENO::interp6 |
( |
double |
x, |
|
|
const double |
v[6], |
|
|
const double |
eps = std::numeric_limits<double>::epsilon() |
|
) |
| |
|
inlinestatic |
Interpolate using 6th order accurate WENO scheme.
- Parameters
-
[in] | x | Position between 0 and 1. |
[in] | v | Values on positions of -2, -1, 0, 1, 2, 3. |
[in] | eps | Very small number to avoid division by zero. |
The documentation for this class was generated from the following file: