Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
sll_m_poisson_1d_base.F90
Go to the documentation of this file.
1 
9 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10 #include "sll_working_precision.h"
11 
12  implicit none
13 
14  public :: &
16 
17  private
18 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19 
20  type, abstract :: sll_c_poisson_1d_base
21  contains
24  procedure(signature_compute_phi_from_rho_1d), deferred, pass(poisson) :: &
25  compute_phi_from_rho
28  procedure(signature_compute_e_from_rho_1d), deferred, pass(poisson) :: &
29  compute_e_from_rho
30  end type sll_c_poisson_1d_base
31 
32 #ifndef DOXYGEN_SHOULD_SKIP_THIS
33 
34  abstract interface
35  subroutine signature_compute_phi_from_rho_1d(poisson, phi, rho)
38  class(sll_c_poisson_1d_base) :: poisson
39  sll_real64, dimension(:), intent(in) :: rho
40  sll_real64, dimension(:), intent(out) :: phi
41  end subroutine signature_compute_phi_from_rho_1d
42  end interface
43 
44  abstract interface
45  subroutine signature_compute_e_from_rho_1d(poisson, E, rho)
48  class(sll_c_poisson_1d_base) :: poisson
49  sll_real64, dimension(:), intent(in) :: rho
50  sll_real64, dimension(:), intent(out) :: e
51  end subroutine signature_compute_e_from_rho_1d
52  end interface
53 
54 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
55 
56 end module sll_m_poisson_1d_base
57 
Module interface to solve Poisson equation in 1D.
Module to select the kind parameter.
    Report Typos and Errors