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_fft3d_derivative |
sll_t_fft3d_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_3d_sparse_grid_fft (this, interpolator) |
Create Poisson solver object with Fourier spectral method on 3d sparse grid. More... | |
subroutine | solve_potential (this, interpolator, rho, phi) |
Solve for potential. More... | |
subroutine | solve_for_electric_field (this, interpolator, rho, ex, ey, ez) |
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 coefficient into the sparse grid data structure (recursive part) More... | |
|
private |
Helper function to compute the Fourier coefficients for the derivative operation.
Definition at line 168 of file sll_m_poisson_3d_sparse_grid_fft.F90.
|
private |
Helper function to insert the real Fourier coefficient into the sparse grid data structure.
Definition at line 189 of file sll_m_poisson_3d_sparse_grid_fft.F90.
|
private |
Helper function to insert the real Fourier coefficient into the sparse grid data structure (recursive part)
Definition at line 209 of file sll_m_poisson_3d_sparse_grid_fft.F90.
|
private |
Create Poisson solver object with Fourier spectral method on 3d sparse grid.
[in,out] | this | Poisson solver object |
[in] | interpolator | Underlying sparse grid |
Definition at line 47 of file sll_m_poisson_3d_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 136 of file sll_m_poisson_3d_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 equation |
Definition at line 118 of file sll_m_poisson_3d_sparse_grid_fft.F90.