Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Data Types | Modules | Functions/Subroutines
sll_m_sparse_grid_2d.F90 File Reference
#include "sll_memory.h"
#include "sll_working_precision.h"
Include dependency graph for sll_m_sparse_grid_2d.F90:

Go to the source code of this file.

Data Types

type  sll_t_sparse_grid_2d
 Sparse grid object for 2d with interpolation routines. More...
 

Modules

module  sll_m_sparse_grid_2d
 Implementation of a 2D sparse grid with interpolation routines.
 

Functions/Subroutines

subroutine interpolate_array_disp_sgfft (interpolator, dim, displacment_in, data_in, data_out)
 Compute value at displaced grid points using trigonometric interpolation (based on SG FFT) More...
 
subroutine initialize_sg2d (interpolator, levels, order, interpolation, interpolation_type, eta_min, eta_max, boundary, modified)
 Initialize a 2d sparse grid object. More...
 
subroutine set_hierarchy_info (interpolator, counter, cdim, lvecin, kvecin, novecin)
 Helfer function for initialization. Setting all the information needed for node counter of the sparse grid along dimension cdim. More...
 
subroutine set_hierarchy_info_boundary (interpolator, counter, cdim, lvecin, kvecin, novecin)
 Same as set_hierarchy_info but for points on the boundary along dimension cdim. More...
 
real(kind=f64) function interpolate_value_sg (interpolator, data, eta)
 Value at eta interpolated from the hierarchical surplus data using standard sparse grid interpolation. More...
 
real(kind=f64) function interpolate_from_hierarchical_surplus (interpolator, data, eta)
 Implementation of interpolate_value_sg for periodic sparse grid. More...
 
real(kind=f64) function interpolate_from_hierarchical_surplus_boundary (interpolator, data, eta)
 Implementation of interpolate_value_sg for sparse grid with boundary. More...
 
subroutine interpolate_const_disp (interpolator, dorder, displacement, data_in, data_out, hiera)
 Interpolation function for interpolation at (constantly) displaced grid points; displacement only in dimension dim. It is another implementation of the base-class function "interpolate_disp". The advantage is that we can not revisit nodes as we do in the recursive dimension-independently-programmed version. More...
 
subroutine interpolate_disp_nconst_in_1d (interpolator, displacement, dorder, data_in, data_out)
 Functionality: Interpolates the function values for a displacement on in dimension (periodic b.c. i.e. dimension 1 or 2) where the displacement is allowed to be non-constant in one other dimension (Dirichlet b.c. i.e. dimension 3 or 3). More...
 
subroutine interpolate_disp_linnconst_in_1d (interpolator, displacement, dorder, data_in, data_out)
 As interpolate_disp_nconst_in_1d but displacement dependent on displacement*coordinate(dorder(2)) More...
 
subroutine fg_to_sg (interpolator, fg_values, sg_values)
 Set sparse grid values from fg vector. More...
 
integer(kind=i32) function, dimension(2) fg_index (interpolator, sg_index)
 Compute the index of a sparse grid node on level "level" with index "index_on_level" on full grid with of max_level. More...
 
subroutine tohierarchical (interpolator, data_in, data_out)
 Compute Fourier coefficient on sparse grid. More...
 
subroutine todehi (interpolator, data_array)
 
subroutine tohira (interpolator, data_array)
 
subroutine tonodal (interpolator, data_in, data_out)
 
subroutine displace (interpolator, dim, displacement, data)
 Compute the Fourier coefficients of at displaced grid points from Fourier coefficients. More...
 
subroutine spfft (interpolator, data_in, data_out)
 Fourier transform on sparse grid. More...
 
subroutine ispfft (interpolator, data_in, data_out)
 Inverse Fourier transform. More...
 
subroutine filter_highest (interpolator, data)
 
subroutine filter (interpolator, data)
 
subroutine linear_filter (interpolator, data, hs, width)
 
    Report Typos and Errors