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
sll_m_poisson_3d_periodic Module Reference

Description

3D poisson solver with periodic boundary conditions

Derived types and interfaces

type  sll_t_poisson_3d_periodic
 Structure to solve Poisson equation on 3d domain. Mesh is cartesian and all boundary conditions are periodic. Numerical method is FFT based. More...
 

Functions/Subroutines

subroutine, public sll_s_poisson_3d_periodic_init (self, nx, ny, nz, Lx, Ly, Lz)
 Allocate a structure to solve Poisson equation on 3d cartesian mesh with periodic boundary conditions. More...
 
subroutine, public sll_s_poisson_3d_periodic_solve (self, rho, phi)
 Compute the potential from 3d Poisson solver. More...
 
subroutine, public sll_s_poisson_3d_periodic_free (self)
 Delete the 3d poisson solver object. More...
 

Function/Subroutine Documentation

◆ sll_s_poisson_3d_periodic_free()

subroutine, public sll_m_poisson_3d_periodic::sll_s_poisson_3d_periodic_free ( type(sll_t_poisson_3d_periodic self)

Delete the 3d poisson solver object.

Parameters
selfPoisson solver object

Definition at line 149 of file sll_m_poisson_3d_periodic.F90.

Here is the call graph for this function:

◆ sll_s_poisson_3d_periodic_init()

subroutine, public sll_m_poisson_3d_periodic::sll_s_poisson_3d_periodic_init ( type(sll_t_poisson_3d_periodic self,
integer(kind=i32)  nx,
integer(kind=i32)  ny,
integer(kind=i32)  nz,
real(kind=f64)  Lx,
real(kind=f64)  Ly,
real(kind=f64)  Lz 
)

Allocate a structure to solve Poisson equation on 3d cartesian mesh with periodic boundary conditions.

Returns
Parameters
nxnumber of points in x
nynumber of points in y
nznumber of points in z
lxLength along x
lyLength along y
lzLength along z
selfPoisson solver type

Definition at line 54 of file sll_m_poisson_3d_periodic.F90.

Here is the call graph for this function:

◆ sll_s_poisson_3d_periodic_solve()

subroutine, public sll_m_poisson_3d_periodic::sll_s_poisson_3d_periodic_solve ( type(sll_t_poisson_3d_periodic self,
real(kind=f64), dimension(:, :, :)  rho,
real(kind=f64), dimension(:, :, :)  phi 
)

Compute the potential from 3d Poisson solver.

Parameters
selfSolver structure
rhocharge density
phiElectric potential

Definition at line 82 of file sll_m_poisson_3d_periodic.F90.

Here is the call graph for this function:
    Report Typos and Errors