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 | Variables
sll_m_bsplines_uniform Module Reference

Description

Derived type for uniform B-splines of arbitrary degree.

Author
Yaman Güçlü - IPP Garching
Edoardo Zoni - IPP Garching

Derived types and interfaces

type  sll_t_bsplines_uniform
 Abstract type, B-splines. More...
 

Functions/Subroutines

subroutine s_bsplines_uniform__init (self, degree, periodic, xmin, xmax, ncells)
 Initialize uniform B-splines object. More...
 
subroutine s_bsplines_uniform__free (self)
 Free storage. More...
 

Variables

integer, parameter wp = f64
 Working precision. More...
 
integer index
 
real(wp), dimension(1:32), parameter inv = [(1.0_wp/real(index, wp), index=1, 32)]
 

Function/Subroutine Documentation

◆ s_bsplines_uniform__free()

subroutine sll_m_bsplines_uniform::s_bsplines_uniform__free ( class(sll_t_bsplines_uniform), intent(inout)  self)
private

Free storage.

Parameters
[in,out]selfuniform B-splines

Definition at line 112 of file sll_m_bsplines_uniform.F90.

◆ s_bsplines_uniform__init()

subroutine sll_m_bsplines_uniform::s_bsplines_uniform__init ( class(sll_t_bsplines_uniform), intent(out)  self,
integer, intent(in)  degree,
logical, intent(in)  periodic,
real(wp), intent(in)  xmin,
real(wp), intent(in)  xmax,
integer, intent(in)  ncells 
)
private

Initialize uniform B-splines object.

Parameters
[out]selfuniform B-splines
[in]degreespline degree
[in]periodic.true. if domain is periodic, .false. otherwise
[in]xminleft boundary of x domain
[in]xmaxright boundary of x domain
[in]ncellsnumber of grid cells in domain

Definition at line 86 of file sll_m_bsplines_uniform.F90.

Variable Documentation

◆ index

integer index
private

Definition at line 42 of file sll_m_bsplines_uniform.F90.

◆ inv

real(wp), dimension(1:32), parameter inv = [(1.0_wp/real(index, wp), index=1, 32)]
private

Definition at line 43 of file sll_m_bsplines_uniform.F90.

◆ wp

integer, parameter wp = f64
private

Working precision.

Definition at line 23 of file sll_m_bsplines_uniform.F90.

    Report Typos and Errors