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_4d.F90 File Reference
#include "sll_memory.h"
#include "sll_working_precision.h"
Include dependency graph for sll_m_sparse_grid_4d.F90:

Go to the source code of this file.

Data Types

type  sll_t_sparse_grid_4d
 Sparse grid object for 4d with interpolation routines. Note in 4d we have only an implementation of a standard sparse grid with periodic boundary conditions, i.e. modified=0, boundary=0 compared to 2d and 3d). More...
 

Modules

module  sll_m_sparse_grid_4d
 Implementation of a 4D sparse grid with interpolation routines.
 

Functions/Subroutines

real(kind=f64) function interpolate_from_interpolant_value (interpolator, data, eta)
 Compute the value of the sparse grid interpolant at position eta. 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 interpolate4d_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 interpolate_disp_nconst_in_2d (interpolator, displacement, dorder, data_in, data_out)
 As previous function but with displacement displacement*coordinate(dorder(2)) More...
 
real(kind=f64) function interpolate_from_hierarchical_surplus (interpolator, data, eta)
 
subroutine initialize_sg4d (interpolator, levels, order, interpolation, interpolation_type, eta_min, eta_max)
 Initialization function. Set up the hierarchy of the sparse grid. More...
 
subroutine set_hierarchy_info (interpolator, counter, cdim, lvecin, kvecin, novecin)
 For a given sparse grid point fill the hierarchy information (4D specific) More...
 
integer(kind=i32) function, dimension(4) 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...
 
    Report Typos and Errors