◆ solve_e_fields_poisson_2d_periodic_fft()
subroutine solve_e_fields_poisson_2d_periodic_fft |
( |
type(sll_t_poisson_2d_periodic_fft), intent(inout) |
self, |
|
|
real(kind=f64), dimension(:, :), intent(out) |
e_x, |
|
|
real(kind=f64), dimension(:, :), intent(out) |
e_y, |
|
|
real(kind=f64), dimension(:, :), intent(in) |
rho, |
|
|
real(kind=f64), optional |
nrj |
|
) |
| |
|
private |
sll_o_solve Poisson equation on 2D mesh with periodic boundary conditions. return electric fields.
- Parameters
-
[in,out] | self | Self data object |
[in] | rho | Charge density |
[out] | e_x | Electric field x |
[out] | e_y | Electric field y |
| nrj | Energy |
Definition at line 342 of file sll_m_poisson_2d_periodic.F90.
◆ solve_potential_poisson_2d_periodic_fft()
subroutine solve_potential_poisson_2d_periodic_fft |
( |
type(sll_t_poisson_2d_periodic_fft) |
self, |
|
|
real(kind=f64), dimension(:, :), intent(out) |
phi, |
|
|
real(kind=f64), dimension(:, :), intent(in) |
rho |
|
) |
| |
|
private |
sll_o_solve Poisson equation on 2D mesh with periodic boundary conditions. return potential.
- Parameters
-
| self | self data object |
[in] | rho | charge density |
[out] | phi | electric potential |
Definition at line 314 of file sll_m_poisson_2d_periodic.F90.