Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Implementation of a 3D pseudospectral Poisson solver on sparse grid.
<DETAILED_DESCRIPTION>
Derived types and interfaces | |
type | sll_t_fft_derivative |
sll_t_fft_derivative is the Poisson solver object to solve Poisson's problem in 2d with pseudospectral on a sparse grid More... | |
Functions/Subroutines | |
subroutine | new_poisson_2d_sparse_grid_fft (this, interpolator) |
Create Poisson solver object with Fourier spectral method on 2d sparse grid. More... | |
subroutine | solve_potential (this, interpolator, rho, phi) |
Solve for potential. More... | |
subroutine | solve_for_electric_field (this, interpolator, rho, ex, ey) |
Compute the electric fields from rho. More... | |
subroutine | derivative_coeffs_1d (interpolator, dim, max_level, index, size_factor, data1d, data) |
Helper function to compute the Fourier coefficients for the derivative operation. More... | |
subroutine | insert_fourier_real (sparsegrid, dim, max_level, index, data_in, data_out) |
Helper function to insert the real Fourier coefficient into the sparse grid data structure. More... | |
recursive subroutine | insert_recursive_fourier_real (sparsegrid, index_sg, ind, level, max_level, dim, data_in, data_out) |
Helper function to insert the real Fourier coefficients into the sparse grid data structure (recursive part) More... | |
|
private |
Helper function to compute the Fourier coefficients for the derivative operation.
Definition at line 137 of file sll_m_poisson_2d_sparse_grid_fft.F90.
|
private |
Helper function to insert the real Fourier coefficient into the sparse grid data structure.
Definition at line 159 of file sll_m_poisson_2d_sparse_grid_fft.F90.
|
private |
Helper function to insert the real Fourier coefficients into the sparse grid data structure (recursive part)
Definition at line 179 of file sll_m_poisson_2d_sparse_grid_fft.F90.
|
private |
Create Poisson solver object with Fourier spectral method on 2d sparse grid.
[in,out] | this | Poisson solver object |
[in] | interpolator | Underlying sparse grid |
Definition at line 44 of file sll_m_poisson_2d_sparse_grid_fft.F90.
|
private |
Compute the electric fields from rho.
[in,out] | this | Poisson solver object |
[in,out] | interpolator | underlying sparse grid |
Definition at line 113 of file sll_m_poisson_2d_sparse_grid_fft.F90.
|
private |
Solve for potential.
[in,out] | this | Poisson solver object |
[in,out] | interpolator | Underlying sparse grid. |
[in,out] | rho | Right-hand-side for Poisson's problem |
Definition at line 94 of file sll_m_poisson_2d_sparse_grid_fft.F90.