Shiokaze Framework
A research-oriented fluid solver for computer graphics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WENO Class Reference

Class that implements WENO interpolation. More...

#include <WENO.h>

Static Public Member Functions

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...
 

Detailed Description

Class that implements WENO interpolation.

Member Function Documentation

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]xPosition between 0 and 1.
[in]vValues on positions of -1, 0, 1, 2.
[in]epsVery small number to avoid division by zero.
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]xPosition between 0 and 1.
[in]vValues on positions of -2, -1, 0, 1, 2, 3.
[in]epsVery small number to avoid division by zero.

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