version 0.6.0

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

Functions/Subroutines

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

Variables

type(t_rec_fast_scheme_o2_upwind_backward), target rec_fast_scheme_o2_upwind_backward
 
type(t_rec_fast_scheme_o2_upwind_forward), target rec_fast_scheme_o2_upwind_forward
 

Detailed Description

Note
The scheme is defined for points [-1:0]
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_rec_fast_scheme_o2_upwind_apply_fast()

double precision function mod_rec_fast_scheme_o2_upwind::t_rec_fast_scheme_o2_upwind_apply_fast ( class(t_rec_fast_scheme_o2_upwind), intent(in)  self,
double precision, dimension(:), intent(in)  values,
class(t_int_grid_preweights), intent(in)  preweights 
)
Parameters
[in]valuesThe discrete (mean) values of the function
Precondition
The scheme has already been initialized

◆ t_rec_fast_scheme_o2_upwind_backward_compute_weights()

subroutine mod_rec_fast_scheme_o2_upwind::t_rec_fast_scheme_o2_upwind_backward_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 
)
Warning
as we cannot access to values outside [1:nx], the weights are in fact computed in the computable stencil around the cell.
rec_scheme_o2 is between [0:1]!

◆ t_rec_fast_scheme_o2_upwind_forward_compute_weights()

subroutine mod_rec_fast_scheme_o2_upwind::t_rec_fast_scheme_o2_upwind_forward_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 
)
Warning
as we cannot access to values outside [1:nx], the weights are in fact computed in the computable stencil around the cell.
rec_scheme_o2 is between [0:1]!