version 0.6.0
Loading...
Searching...
No Matches

The fast Interpolation/Reconstruction WENO scheme type definition. The efficiency is based on: More...

Functions/Subroutines

subroutine t_int_weno_fast_scheme_init (self)
 Initialize a 1D point interpolant.
 
subroutine t_int_weno_fast_scheme_precompute (self)
 Init the corresponding scheme The WENO3 backward scheme (offcentered) is evaluated in the [x(i);x(i+1)] interval. There are thus 2 points behind and 1 points after.
 
double precision function t_int_weno_fast_scheme_apply_dummy (self, step, steps, values)
 Unused function (present for architecture needs).
 

Detailed Description

  • the fixed position of the interpolation: at the face between index 0 and index 1' cells ;
  • the precomputation of finite differences stencils (that are used to recover interpolants and smoothness_indicator). Those are stored in the t_int_weno_grid_preweights structure.

This definition of the WENO scheme is based on a Finite Volume principle, and is thus a reconstuction, where the mean value of the data is known for a cell, contrary to interpolation based on node values. The difference is subtle and only happens in the associated weights.

Note
The scheme also works (efficiently) with non uniform grids.

Function/Subroutine Documentation

◆ t_int_weno_fast_scheme_apply_dummy()

double precision function type_int_weno_fast_scheme::t_int_weno_fast_scheme_apply_dummy ( class(t_int_weno_fast_scheme), intent(in) self,
double precision, intent(in) step,
double precision, dimension(:), intent(in) steps,
double precision, dimension(:), intent(in) values )
Parameters
[in,out]selfThe element
[in]stepignored for fixed position
[in]stepsThe spatial disc. steps of the intervals \( I_i \) where the mean values are defined
[in]valuesThe discrete (mean) values of the function
Precondition
The scheme has already been initialized

◆ t_int_weno_fast_scheme_init()

subroutine type_int_weno_fast_scheme::t_int_weno_fast_scheme_init ( class(t_int_weno_fast_scheme), intent(inout) self)
See also
t_int_scheme_init

◆ t_int_weno_fast_scheme_precompute()

subroutine type_int_weno_fast_scheme::t_int_weno_fast_scheme_precompute ( class(t_int_weno_fast_scheme), intent(inout) self)
Parameters
[in]selfThe scheme to initialize