Reconstruction Scheme: first derivative with a centered scheme at order 3 (at the fixed +1/2 position). This scheme is compatible with non uniform grids. This scheme is fourth order with a uniform grid.
More...
|
type(t_rec_fast_scheme_o3d1_centered), target | rec_fast_scheme_o3d1_centered |
|
- Note
- The scheme is defined for points [-1:+2]
-
The fixed position is at the end of the 0's cell. This is the usual position for reconstruction schemes.
◆ t_rec_fast_scheme_o3d1_centered_compute_weights()
subroutine mod_rec_fast_scheme_o3d1_centered::t_rec_fast_scheme_o3d1_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 ) |
- 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_o4 is between [0:3]!