0.6.0
Loading...
Searching...
No Matches

Reconstruction Schemes with houc at order 3 (at the fixed +1/2 position). This scheme is compatible with non uniform grids. More...

Functions/Subroutines

subroutine t_int_fast_scheme_o4_centered_compute_weights (stencil, nx, dx, shift, preweights)
 Compute the weights associated to the scheme at each cell in [1:nx].
 
double precision function t_int_fast_scheme_o4_centered_apply_fast (self, values, preweights)
 Apply the corresponding scheme.
 

Variables

type(t_int_fast_scheme_o4_centered), target int_fast_scheme_o4_centered
 

Detailed Description

Reconstruction Schemes with houc at order 3 (at the fixed +1/2 position). This scheme is compatible with non uniform grids.

Note
The fixed position is at the end of the 0's cell (for forward). This is the usual position for reconstruction schemes.

Function/Subroutine Documentation

◆ t_int_fast_scheme_o4_centered_apply_fast()

double precision function mod_int_fast_scheme_o4_centered::t_int_fast_scheme_o4_centered_apply_fast ( class(t_int_fast_scheme_o4_centered), intent(in) self,
double precision, dimension(:), intent(in) values,
class(t_int_grid_preweights), intent(in) preweights )

Apply the corresponding scheme.

Parameters
[in]selfThe scheme
[in]valuesThe discrete (mean) values of the function
[in]preweightsThe precomputed weights (
See also
t_int_grid_preweights)
Precondition
The scheme has already been initialized

◆ t_int_fast_scheme_o4_centered_compute_weights()

subroutine mod_int_fast_scheme_o4_centered::t_int_fast_scheme_o4_centered_compute_weights ( class(t_stencil_1d), intent(in) stencil,
integer, intent(in) nx,
double precision, dimension(:), intent(in) dx,
integer, intent(in) shift,
class(t_int_grid_preweights), dimension(:), intent(inout) preweights )

Compute the weights associated to the scheme at each cell in [1:nx].

Warning
as we cannot access to values outside [1:nx], the weights are in fact computed in the computable stencil around the cell.