Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
sll_m_ellipt_2d_fem_sps_weak_form.F90
Go to the documentation of this file.
2 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 
5 
6  implicit none
7 
9 
10  private
11 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
12 
13  ! Working precision
14  integer, parameter :: wp = f64
15 
17 
18  contains
19 
20  ! Deferred procedures
21 ! procedure(i_sub_element_mat), deferred :: element_mat
22  procedure(i_sub_element_rhs), deferred :: element_rhs
23 
25 
26  ! Interfaces for deferred procedures
27  abstract interface
28 
29 ! subroutine i_sub_element_mat( &
30 ! self , &
31 ! test_values_and_derivs_eta1 , &
32 ! test_values_and_derivs_eta2 , &
33 ! trial_values_and_derivs_eta1, &
34 ! trial_values_and_derivs_eta2, &
35 ! int_volume , &
36 ! inv_metric , &
37 ! Aij, &
38 ! Mij )
39 ! import sll_c_ellipt_2d_fem_sps_weak_form, wp
40 ! class(sll_c_ellipt_2d_fem_sps_weak_form), intent(in ) :: self
41 ! real(wp) , intent(in ) :: test_values_and_derivs_eta1 (:,:)
42 ! real(wp) , intent(in ) :: test_values_and_derivs_eta2 (:,:)
43 ! real(wp) , intent(in ) :: trial_values_and_derivs_eta1(:,:)
44 ! real(wp) , intent(in ) :: trial_values_and_derivs_eta2(:,:)
45 ! real(wp) , intent(in ) :: int_volume(:,:)
46 ! real(wp) , intent(in ) :: inv_metric(:,:,:,:)
47 ! real(wp) , intent( out) :: Aij
48 ! real(wp) , intent( out) :: Mij
49 ! end subroutine i_sub_element_mat
50 
51  subroutine i_sub_element_rhs( &
52  self, &
53  test_values_and_derivs_eta1, &
54  test_values_and_derivs_eta2, &
55  data_2d_rhs, &
56  int_volume, &
57  bi)
59  class(sll_c_ellipt_2d_fem_sps_weak_form), intent(in) :: self
60  real(wp), intent(in) :: test_values_and_derivs_eta1(:, :)
61  real(wp), intent(in) :: test_values_and_derivs_eta2(:, :)
62  real(wp), intent(in) :: data_2d_rhs(:, :)
63  real(wp), intent(in) :: int_volume(:, :)
64  real(wp), intent(out) :: bi
65  end subroutine i_sub_element_rhs
66 
67  end interface
68 
Module to select the kind parameter.
integer, parameter, public f64
f64 is the kind type for 64-bit reals (double precision)
    Report Typos and Errors