version 0.6.0
mod_interpolation_weno_smoothness_indicator Module Reference

Interpolation WENO Smoothness indicator computation.

Functions/Subroutines

double precision function compute_polynomial_smoothness_indicator (x, derivatives, a, b, start_from_n)
 Compute the smoothness indicator of the polynomial given its derivatives, at position x and in the interval [a,b] starting from a given derivative.
 
pure double precision function compute_polynomial_smoothness_indicator_point (x, derivatives, a, b, start_from_n)
 Compute the smoothness indicator of the polynomial given its derivatives, at position x and in the interval [a,b] starting from a given derivative.
 
double precision function compute_polynomial_smoothness_indicator_levelset (derivatives, a, b)
 Compute the smoothness indicator of the polynomial for levelset functions given its derivatives, at position x and in the interval [a,b].
 
double precision function compute_polynomial_smoothness_indicator_2d3d (x, steps_x, steps_y, steps_z, values, a, b, start_from_n)
 Compute the smoothness indicator of the polynomial for 2D or 3D interpolants given its derivatives, at position x and in the interval [a,b] starting from a given derivative. More...
 

Function/Subroutine Documentation

◆ compute_polynomial_smoothness_indicator_2d3d()

double precision function mod_interpolation_weno_smoothness_indicator::compute_polynomial_smoothness_indicator_2d3d ( double precision, dimension(:), intent(in)  x,
double precision, dimension(:), intent(in)  steps_x,
double precision, dimension(:), intent(in)  steps_y,
double precision, dimension(:), intent(in)  steps_z,
double precision, dimension(:,:,:), intent(in)  values,
double precision, dimension(:), intent(in)  a,
double precision, dimension(:), intent(in)  b,
integer, intent(in)  start_from_n 
)
Note
For now, compute a 2nd order approximation at midpoint
The values are the ones of the substencil