Report Typos and Errors
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
interpolation
hermite_interpolation
sll_m_hermite_aligned_interpolation_2d.F90
Go to the documentation of this file.
1
module
sll_m_hermite_aligned_interpolation_2d
2
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
#include "sll_assert.h"
4
#include "sll_memory.h"
5
#include "sll_working_precision.h"
6
7
implicit none
8
9
public
:: &
10
sll_f_new_hermite_aligned_interpolation_2d
, &
11
sll_t_hermite_aligned_interpolation_2d
12
13
private
14
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
16
type
::
sll_t_hermite_aligned_interpolation_2d
17
sll_real64 :: eta_min(2)
18
sll_real64 :: eta_max(2)
19
20
end type
sll_t_hermite_aligned_interpolation_2d
21
22
contains
23
24
function
sll_f_new_hermite_aligned_interpolation_2d
() &
25
result(interp)
26
27
type
(
sll_t_hermite_aligned_interpolation_2d
),
pointer
:: interp
28
sll_int32 :: ierr
29
30
sll_allocate(interp, ierr)
31
call
initialize_hermite_aligned_interpolation_2d
(interp)
32
33
end function
sll_f_new_hermite_aligned_interpolation_2d
34
35
subroutine
initialize_hermite_aligned_interpolation_2d
(interp)
36
type
(
sll_t_hermite_aligned_interpolation_2d
) :: interp
37
! sll_int32 :: r1
38
! sll_int32 :: s1
39
! sll_int32 :: r2
40
! sll_int32 :: s2
41
! sll_int32 :: num_cells_x1
42
! sll_int32 :: num_cells_x2
43
return
44
sll_assert(interp%eta_max(1) >= interp%eta_min(1))
45
sll_assert(interp%eta_max(2) >= interp%eta_min(2))
46
47
end subroutine
initialize_hermite_aligned_interpolation_2d
48
49
end module
sll_m_hermite_aligned_interpolation_2d
sll_m_hermite_aligned_interpolation_2d
Definition:
sll_m_hermite_aligned_interpolation_2d.F90:1
sll_m_hermite_aligned_interpolation_2d::sll_f_new_hermite_aligned_interpolation_2d
type(sll_t_hermite_aligned_interpolation_2d) function, pointer, public sll_f_new_hermite_aligned_interpolation_2d()
Definition:
sll_m_hermite_aligned_interpolation_2d.F90:26
sll_m_hermite_aligned_interpolation_2d::initialize_hermite_aligned_interpolation_2d
subroutine initialize_hermite_aligned_interpolation_2d(interp)
Definition:
sll_m_hermite_aligned_interpolation_2d.F90:36
sll_m_hermite_aligned_interpolation_2d::sll_t_hermite_aligned_interpolation_2d
Definition:
sll_m_hermite_aligned_interpolation_2d.F90:16
Report Typos and Errors
Generated on Mon Oct 23 2023 19:15:40 for Semi-Lagrangian Library by
1.9.1