Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Private Member Functions | Private Attributes | List of all members
sll_t_mapping_3d Type Reference

type collecting functions for analytical coordinate mapping More...

Collaboration diagram for sll_t_mapping_3d:

Private Member Functions

procedure get_x1
 Calculate x1(xi1,xi2,xi3) More...
 
procedure get_x2
 Calculate x2(xi1,xi2,xi3) More...
 
procedure get_x3
 Calculate x3(xi1,xi2,xi3) More...
 
procedure get_x
 Calculate x(xi1,xi2,xi3) More...
 
procedure get_xi
 Calculate xi(x1,x2,x3) More...
 
procedure jacobian
 Calculate the determinant of the jacobian matrix. More...
 
procedure jacobian_matrix
 Calculate the jacobian matrix of the mapping. More...
 
procedure jacobian_matrix_transposed
 Calculate the transposed jacobian matrix of the mapping. More...
 
procedure jacobian_matrix_inverse
 Calculate the inverse of the jacobian matrix of the mapping. More...
 
procedure jacobian_matrix_inverse_transposed
 Calculate transposed inverse of the jacobian matrix of the mapping. More...
 
procedure metric
 Calculate the metric of the mapping. More...
 
procedure metric_inverse
 Calculate the inverse metric of the mapping. More...
 
procedure metric_single
 Calculate one entry of the metric of the mapping. More...
 
procedure metric_inverse_single
 Calculate one entry of the inverse metric of the mapping. More...
 
procedure metric_single_jacobian
 Calculate one entry of the metric of the mapping divided by the jacobian. More...
 
procedure metric_inverse_single_jacobian
 Calculate one entry of the inverse metric of the mapping multiplied by the jacobian. More...
 
procedure init
 Initialize the mapping class. More...
 
procedure init_from_file
 Initialize the mapping class with parameters read from nml-file. More...
 
procedure free
 Free mapping class. More...
 

Private Attributes

type(matrix_element), dimension(:,:), pointer j_matrix
 jacobi matrix More...
 
procedure(sll_i_eval_function), pointer, nopass jacob
 determinant of the jacobi matrix More...
 
procedure(sll_i_eval_function), pointer, nopass x1_func
 coordinate transformation function More...
 
procedure(sll_i_eval_function), pointer, nopass x2_func
 coordinate transformation function More...
 
procedure(sll_i_eval_function), pointer, nopass x3_func
 coordinate transformation function More...
 
procedure(sll_i_eval_function), pointer, nopass xi1_func
 coordinate transformation function More...
 
procedure(sll_i_eval_function), pointer, nopass xi2_func
 coordinate transformation function More...
 
procedure(sll_i_eval_function), pointer, nopass xi3_func
 coordinate transformation function More...
 
real(kind=f64), dimension(:), pointer params
 transformation parameters More...
 
logical flag = .false.
 flag is true if entries of the Jacobian matrix and its determinant are given analytically More...
 
logical flag2d = .false.
 logical flag for mappings mixing the first two logical coordiantes More...
 
logical flag3d = .false.
 logical flag for mappings mixing all three logical coordinates More...
 
logical singular = .false.
 logical for singular mapping More...
 
logical inverse = .false.
 logical for analytical inverse of the chosen mapping More...
 
type(sll_t_spline_pp_3dspline_3d
 3d pp-spline More...
 
real(kind=f64), dimension(:,:), allocatable x1_func_dofs_pp
 coefficient for spline mapping More...
 
real(kind=f64), dimension(:,:), allocatable x2_func_dofs_pp
 coefficient for spline mapping More...
 
real(kind=f64), dimension(:,:), allocatable x3_func_dofs_pp
 coefficient for spline mapping More...
 
integer(kind=i32), dimension(3) n_cells
 number of cells (and grid points) More...
 
integer(kind=i32), dimension(3) deg
 spline deg More...
 
real(kind=f64) volume = 1._f64
 volume of physical domain More...
 
real(kind=f64), dimension(3) lx = 1._f64
 length of physical domain More...
 

Detailed Description

type collecting functions for analytical coordinate mapping

Definition at line 68 of file sll_m_mapping_3d.F90.

Member Function/Subroutine Documentation

◆ free()

procedure free
private

Free mapping class.

Definition at line 135 of file sll_m_mapping_3d.F90.

◆ get_x()

procedure get_x
private

Calculate x(xi1,xi2,xi3)

Definition at line 105 of file sll_m_mapping_3d.F90.

◆ get_x1()

procedure get_x1
private

Calculate x1(xi1,xi2,xi3)

Definition at line 99 of file sll_m_mapping_3d.F90.

◆ get_x2()

procedure get_x2
private

Calculate x2(xi1,xi2,xi3)

Definition at line 101 of file sll_m_mapping_3d.F90.

◆ get_x3()

procedure get_x3
private

Calculate x3(xi1,xi2,xi3)

Definition at line 103 of file sll_m_mapping_3d.F90.

◆ get_xi()

procedure get_xi
private

Calculate xi(x1,x2,x3)

Definition at line 107 of file sll_m_mapping_3d.F90.

◆ init()

procedure init
private

Initialize the mapping class.

Definition at line 131 of file sll_m_mapping_3d.F90.

◆ init_from_file()

procedure init_from_file
private

Initialize the mapping class with parameters read from nml-file.

Definition at line 133 of file sll_m_mapping_3d.F90.

◆ jacobian()

procedure jacobian
private

Calculate the determinant of the jacobian matrix.

Definition at line 109 of file sll_m_mapping_3d.F90.

◆ jacobian_matrix()

procedure jacobian_matrix
private

Calculate the jacobian matrix of the mapping.

Definition at line 111 of file sll_m_mapping_3d.F90.

◆ jacobian_matrix_inverse()

procedure jacobian_matrix_inverse
private

Calculate the inverse of the jacobian matrix of the mapping.

Definition at line 115 of file sll_m_mapping_3d.F90.

◆ jacobian_matrix_inverse_transposed()

procedure jacobian_matrix_inverse_transposed
private

Calculate transposed inverse of the jacobian matrix of the mapping.

Definition at line 117 of file sll_m_mapping_3d.F90.

◆ jacobian_matrix_transposed()

procedure jacobian_matrix_transposed
private

Calculate the transposed jacobian matrix of the mapping.

Definition at line 113 of file sll_m_mapping_3d.F90.

◆ metric()

procedure metric
private

Calculate the metric of the mapping.

Definition at line 119 of file sll_m_mapping_3d.F90.

◆ metric_inverse()

procedure metric_inverse
private

Calculate the inverse metric of the mapping.

Definition at line 121 of file sll_m_mapping_3d.F90.

◆ metric_inverse_single()

procedure metric_inverse_single
private

Calculate one entry of the inverse metric of the mapping.

Definition at line 125 of file sll_m_mapping_3d.F90.

◆ metric_inverse_single_jacobian()

procedure metric_inverse_single_jacobian
private

Calculate one entry of the inverse metric of the mapping multiplied by the jacobian.

Definition at line 129 of file sll_m_mapping_3d.F90.

◆ metric_single()

procedure metric_single
private

Calculate one entry of the metric of the mapping.

Definition at line 123 of file sll_m_mapping_3d.F90.

◆ metric_single_jacobian()

procedure metric_single_jacobian
private

Calculate one entry of the metric of the mapping divided by the jacobian.

Definition at line 127 of file sll_m_mapping_3d.F90.

Member Data Documentation

◆ deg

integer(kind=i32), dimension(3) deg
private

spline deg

Definition at line 93 of file sll_m_mapping_3d.F90.

◆ flag

logical flag = .false.
private

flag is true if entries of the Jacobian matrix and its determinant are given analytically

Definition at line 80 of file sll_m_mapping_3d.F90.

◆ flag2d

logical flag2d = .false.
private

logical flag for mappings mixing the first two logical coordiantes

Definition at line 81 of file sll_m_mapping_3d.F90.

◆ flag3d

logical flag3d = .false.
private

logical flag for mappings mixing all three logical coordinates

Definition at line 82 of file sll_m_mapping_3d.F90.

◆ inverse

logical inverse = .false.
private

logical for analytical inverse of the chosen mapping

Definition at line 84 of file sll_m_mapping_3d.F90.

◆ j_matrix

type(matrix_element), dimension(:,:), pointer j_matrix
private

jacobi matrix

Definition at line 70 of file sll_m_mapping_3d.F90.

◆ jacob

procedure(sll_i_eval_function), pointer, nopass jacob
private

determinant of the jacobi matrix

Definition at line 71 of file sll_m_mapping_3d.F90.

◆ lx

real(kind=f64), dimension(3) lx = 1._f64
private

length of physical domain

Definition at line 95 of file sll_m_mapping_3d.F90.

◆ n_cells

integer(kind=i32), dimension(3) n_cells
private

number of cells (and grid points)

Definition at line 92 of file sll_m_mapping_3d.F90.

◆ params

real(kind=f64), dimension(:), pointer params
private

transformation parameters

Definition at line 78 of file sll_m_mapping_3d.F90.

◆ singular

logical singular = .false.
private

logical for singular mapping

Definition at line 83 of file sll_m_mapping_3d.F90.

◆ spline_3d

type(sll_t_spline_pp_3d) spline_3d
private

3d pp-spline

Definition at line 86 of file sll_m_mapping_3d.F90.

◆ volume

real(kind=f64) volume = 1._f64
private

volume of physical domain

Definition at line 94 of file sll_m_mapping_3d.F90.

◆ x1_func

procedure(sll_i_eval_function), pointer, nopass x1_func
private

coordinate transformation function

Definition at line 72 of file sll_m_mapping_3d.F90.

◆ x1_func_dofs_pp

real(kind=f64), dimension(:,:), allocatable x1_func_dofs_pp
private

coefficient for spline mapping

Definition at line 88 of file sll_m_mapping_3d.F90.

◆ x2_func

procedure(sll_i_eval_function), pointer, nopass x2_func
private

coordinate transformation function

Definition at line 73 of file sll_m_mapping_3d.F90.

◆ x2_func_dofs_pp

real(kind=f64), dimension(:,:), allocatable x2_func_dofs_pp
private

coefficient for spline mapping

Definition at line 89 of file sll_m_mapping_3d.F90.

◆ x3_func

procedure(sll_i_eval_function), pointer, nopass x3_func
private

coordinate transformation function

Definition at line 74 of file sll_m_mapping_3d.F90.

◆ x3_func_dofs_pp

real(kind=f64), dimension(:,:), allocatable x3_func_dofs_pp
private

coefficient for spline mapping

Definition at line 90 of file sll_m_mapping_3d.F90.

◆ xi1_func

procedure(sll_i_eval_function), pointer, nopass xi1_func
private

coordinate transformation function

Definition at line 75 of file sll_m_mapping_3d.F90.

◆ xi2_func

procedure(sll_i_eval_function), pointer, nopass xi2_func
private

coordinate transformation function

Definition at line 76 of file sll_m_mapping_3d.F90.

◆ xi3_func

procedure(sll_i_eval_function), pointer, nopass xi3_func
private

coordinate transformation function

Definition at line 77 of file sll_m_mapping_3d.F90.

    Report Typos and Errors