![]() |
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
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... | |
| 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.
| self | Poisson solver object |
Definition at line 149 of file sll_m_poisson_3d_periodic.F90.
| 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.
| nx | number of points in x |
| ny | number of points in y |
| nz | number of points in z |
| lx | Length along x |
| ly | Length along y |
| lz | Length along z |
| self | Poisson solver type |
Definition at line 54 of file sll_m_poisson_3d_periodic.F90.
| 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.
| self | Solver structure |
| rho | charge density |
| phi | Electric potential |
Definition at line 82 of file sll_m_poisson_3d_periodic.F90.
1.9.1