Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Derived types and interfaces | Functions/Subroutines
sll_m_finite_difference_interpolator_1d Module Reference

Description

Finite differences implementation of sll_c_interpolator_1d.

This is an experimental type meant to solve the following problem: We are used to fields coming with their own means of interpolation. The standard interpolator, represented by the base class, is general in that it can return interpolated values along a continuous coordinate. In other words, given discrete data on nodes, the general interpolator can give the illusion of having a continuous function defined on the same domain as the discrete data.

However, sometimes the interpolation services needed are very basic. If we are only interested in having the derivatives on the nodes of an array, this is a service provided by the basic interpolator, hence we can

Derived types and interfaces

type  sll_finite_difference_interpolator_1d
 Finite differences implementation of 1d interpolator. More...
 

Functions/Subroutines

subroutine initialize_finite_difference_1d_interp (interpolator, num_points, delta)
 
subroutine finite_difference_1d_interp_derivatives (interpolator, num_pts, vals_to_interpolate, output)
 

Function/Subroutine Documentation

◆ finite_difference_1d_interp_derivatives()

subroutine sll_m_finite_difference_interpolator_1d::finite_difference_1d_interp_derivatives ( class(sll_finite_difference_interpolator_1d), intent(in)  interpolator,
integer(kind=i32), intent(in)  num_pts,
real(kind=f64), dimension(:), pointer  vals_to_interpolate,
real(kind=f64), dimension(:), pointer  output 
)
private

Definition at line 65 of file sll_m_finite_difference_interpolator_1d.F90.

◆ initialize_finite_difference_1d_interp()

subroutine sll_m_finite_difference_interpolator_1d::initialize_finite_difference_1d_interp ( class(sll_finite_difference_interpolator_1d), intent(inout)  interpolator,
integer(kind=i32), intent(in)  num_points,
real(kind=f64), intent(in)  delta 
)
private

Definition at line 52 of file sll_m_finite_difference_interpolator_1d.F90.

    Report Typos and Errors