Go to the documentation of this file.
7 #ifndef INCLUDE_JET_PDE_H_
8 #define INCLUDE_JET_PDE_H_
38 T
upwind1(T* D0, T dx,
bool isDirectionPositive);
64 std::array<T, 2>
eno3(T* D0, T dx);
77 T
eno3(T* D0, T dx,
bool isDirectionPositive);
92 std::array<T, 2>
weno5(T* v, T h, T eps = 1.0e-8);
103 template <
typename T>
104 T
weno5(T* v, T h,
bool is_velocity_positive, T eps = 1.0e-8);
108 #include "detail/pde-inl.h"
110 #endif // INCLUDE_JET_PDE_H_
std::array< T, 2 > eno3(T *D0, T dx)
3rd-order ENO. D0[3] is the origin.
std::array< T, 2 > weno5(T *v, T h, T eps=1.0e-8)
5th-order Weno. D0[3] is the origin.
Definition: advection_solver2.h:18
std::array< T, 2 > upwind1(T *D0, T dx)
1-st order upwind differencing. D0[1] is the origin.
T cd2(T *D0, T dx)
2nd-order central differencing. D0[1] is the origin.