The \(\Lambda_{4,2}\) interpolation kernel.
|
subroutine | int_point_lambda_4_2_init () |
| Init all the schemes.
|
|
subroutine | t_int_point_lambda_4_2_1d_init (self) |
|
subroutine | t_int_point_lambda_4_2_1d_compute_stencil (self, coordinates, derivative, control_volumes) |
| Compute the stencil values. Lagrange interpolation at order 4 (ie. linear interpolation)
|
|
subroutine | t_int_point_lambda_4_2_2d_init (self) |
|
subroutine | t_int_point_lambda_4_2_3d_init (self, spatial_dimension) |
|
double precision function | lambda_4_2 (x) |
| The \(\Lambda_4,2\) approximation Gnuplot version: LAMBDA_4_2_1(x) = + 1.0 + 0.0*x - 5.0/4*x**2 - 35.0/12.0*x**3 + 21.0/4*x**4 - 25.0/12*x**5 LAMBDA_4_2_2(x) = - 4.0 + 75.0/4*x - 245.0/8*x**2 + 545.0/24.0*x**3 - 63.0/8*x**4 + 25.0/24*x**5 LAMBDA_4_2_3(x) = + 18.0 - 153.0/4*x + 255.0/8*x**2 - 313.0/24.0*x**3 + 21.0/8*x**4 - 5.0/24*x**5 LAMBDA_4_2(x) = (abs(x)<1.0)?LAMBDA_4_2_1(abs(x)):(abs(x)<2.0)?LAMBDA_4_2_2(abs(x)):(abs(x)<3.0)?LAMBDA_4_2_3(abs(x)):0.0 set xrange [-5:5] ; plot LAMBDA_4_2(x)
|
|
◆ t_int_point_lambda_4_2_1d_compute_stencil()
subroutine mod_int_point_lambda_4_2::t_int_point_lambda_4_2_1d_compute_stencil |
( |
class(t_int_point_lambda_4_2_1d), intent(inout) | self, |
|
|
double precision, dimension(:), intent(in) | coordinates, |
|
|
integer, intent(in), optional | derivative, |
|
|
double precision, dimension(:), intent(in), optional | control_volumes ) |
- Precondition
- The interpolant has been placed (
- See also
- 'place' subroutine)