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_triangular_meshes.F90 File Reference

This module defines a triangular mesh. More...

#include "sll_assert.h"
#include "sll_errors.h"
#include "sll_memory.h"
#include "sll_working_precision.h"
Include dependency graph for sll_m_triangular_meshes.F90:

Go to the source code of this file.

Data Types

type  sll_t_triangular_mesh_2d
 2d hexagonal mesh More...
 
interface  sll_o_create
 
interface  sll_o_delete
 
interface  sll_o_display
 
interface  sll_o_new_triangular_mesh_2d
 

Modules

module  sll_m_triangular_meshes
 

Functions/Subroutines

type(sll_t_triangular_mesh_2d) function, pointer new_triangular_mesh_2d_from_file (maafil)
 allocates the memory space for a new 2D triangular mesh on the heap, initializes it with the given arguments and returns a pointer to the object. More...
 
subroutine, public sll_s_triangular_mesh_2d_init_from_file (m, maafil)
 Initialize a new 2D triangular mesh. More...
 
type(sll_t_triangular_mesh_2d) function, pointer new_triangular_mesh_2d_from_hex_mesh (hex_mesh)
 allocates the memory space for a new 2D triangular mesh on the heap, initializes it with the given hexagonal mesh and returns a pointer to the object. More...
 
type(sll_t_triangular_mesh_2d) function, pointer new_triangular_mesh_2d_from_square (nc_eta1, eta1_min, eta1_max, nc_eta2, eta2_min, eta2_max, bc)
 Allocates the memory space for a new 2D triangular mesh on the heap,. More...
 
subroutine, public sll_s_triangular_mesh_2d_init_from_square (m, nc_eta1, eta1_min, eta1_max, nc_eta2, eta2_min, eta2_max, bc)
 Initialize a new 2D triangular mesh. More...
 
subroutine initialize_triangular_mesh_2d (mesh, nc_eta1, eta1_min, eta1_max, nc_eta2, eta2_min, eta2_max, bc)
 
subroutine display_triangular_mesh_2d (mesh)
 Displays mesh information on the terminal. More...
 
real(kind=f64) function global_to_x1 (mesh, i)
 
real(kind=f64) function global_to_x2 (mesh, i)
 
subroutine, public sll_s_write_triangular_mesh_mtv (mesh, mtv_file)
 
subroutine, public sll_s_triangular_mesh_2d_free (mesh)
 
subroutine, public sll_s_read_from_file (mesh, maafil)
 
subroutine get_cell_center (mesh, iel, x1, x2)
 
subroutine, public sll_s_map_to_circle (mesh, num_cells, order)
 Map an hexagonal mesh on circle param[inout] mesh the triangular mesh built fron an hexagonal mesh param[in] num_cells is the num_cells parameter of the hexagonal mesh param[in] order, optional if order=1 we move only points on the boundary. More...
 
subroutine compute_areas (mesh)
 
subroutine poclis (mesh, ncotcu, nuctfr)
 
subroutine, public sll_s_analyze_triangular_mesh (mesh)
 Compute unstructured mesh quantities. More...
 

Detailed Description

This module defines a triangular mesh.

Author
  • Aurore Back
  • Pierre Navaro

    Triangular mesh

Definition in file sll_m_triangular_meshes.F90.

    Report Typos and Errors