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_mapping_3d.F90 File Reference
#include "sll_assert.h"
#include "sll_memory.h"
#include "sll_errors.h"
#include "sll_working_precision.h"
Include dependency graph for sll_m_mapping_3d.F90:

Go to the source code of this file.

Data Types

interface  sll_i_eval_function
 abstract interface for mapping functions More...
 
type  matrix_element
 
type  sll_t_mapping_3d
 type collecting functions for analytical coordinate mapping More...
 

Modules

module  sll_m_mapping_3d
 Module interfaces for coordinate transformation.
 

Functions/Subroutines

real(kind=f64) function get_x1 (self, xi)
 Compute x1. More...
 
real(kind=f64) function get_x2 (self, xi)
 Compute x2. More...
 
real(kind=f64) function get_x3 (self, xi)
 Compute x3. More...
 
real(kind=f64) function, dimension(3) get_x (self, xi)
 Compute all three components of X. More...
 
real(kind=f64) function, dimension(3) get_xi (self, x)
 Compute the logical coordinate vector Xi. More...
 
real(kind=f64) function jacobian (self, xi)
 Compute the determinant of the Jacobi matrix. More...
 
real(kind=f64) function, dimension(3, 3) jacobian_matrix (self, xi)
 Compute the entries of the Jacobi matrix. More...
 
real(kind=f64) function, dimension(3, 3) jacobian_matrix_transposed (self, xi)
 Compute the entries of the transposed Jacobi matrix. More...
 
real(kind=f64) function, dimension(3, 3) jacobian_matrix_inverse (self, xi)
 Compute the entries of the inverse Jacobi matrix. More...
 
real(kind=f64) function, dimension(3, 3) jacobian_matrix_inverse_transposed (self, xi)
 Compute the entries of the transposed inverse Jacobi matrix. More...
 
real(kind=f64) function, dimension(3, 3) metric (self, xi)
 Compute the entries of the metric. More...
 
real(kind=f64) function metric_single (self, xi, component1, component2)
 Compute a single entriy of the metric. More...
 
real(kind=f64) function, dimension(3, 3) metric_inverse (self, xi)
 Compute the entries of the inverse metric. More...
 
real(kind=f64) function metric_inverse_single (self, xi, component1, component2)
 Compute a single entriy of the inverse metric. More...
 
real(kind=f64) function metric_single_jacobian (self, xi, component1, component2)
 Compute a single entriy of the metric divided by the jacobian. More...
 
real(kind=f64) function metric_inverse_single_jacobian (self, xi, component1, component2)
 Compute a single entriy of the inverse metric multiplied by the jacobian. More...
 
subroutine init (self, params, x1_func, x2_func, x3_func, jac11, jac12, jac13, jac21, jac22, jac23, jac31, jac32, jac33, jacob, xi1_func, xi2_func, xi3_func, flag2d, flag3d, n_cells, deg, Lx, volume)
 Initialize the coordinate transformation. More...
 
subroutine init_from_file (self, filename)
 Initialize the coordinate transformation from nml file. More...
 
subroutine free (self)
 Finalize the coordinate transformation. More...
 
subroutine calculate_interpolation_matrix_1d (n_cells, deg, xk, spline, matrix)
 Helper function for spline mapping. More...
 
subroutine calculate_interpolation_matrix_1d_periodic (n_cells, deg, spline, matrix)
 Helper function for spline mapping. More...
 
subroutine convert_x_to_xbox (self, position, xi, box)
 Helper function to compute xbox. More...
 
    Report Typos and Errors