Octopus
operate_f.F90
Go to the documentation of this file.
1!! Copyright (C) 2012 D. Strubbe
2!!
3!! This program is free software; you can redistribute it and/or modify
4!! it under the terms of the GNU General Public License as published by
5!! the Free Software Foundation; either version 2, or (at your option)
6!! any later version.
7!!
8!! This program is distributed in the hope that it will be useful,
9!! but WITHOUT ANY WARRANTY; without even the implied warranty of
10!! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11!! GNU General Public License for more details.
12!!
13!! You should have received a copy of the GNU General Public License
14!! along with this program; if not, write to the Free Software
15!! Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16!! 02110-1301, USA.
17!!
18
19#include "global.h"
20
21! -----------------------------------------------------------------------
23! -----------------------------------------------------------------------
24module operate_f_oct_m
25
26 use, intrinsic :: iso_fortran_env
27
28 implicit none
29
30 public ! only interfaces in this module
31
32 interface
33 subroutine doperate_ri_vec(opn, w, opnri, opri, rimap_inv, rimap_inv_max, fi, ldfp, fo)
34 import :: real64
35 implicit none
36 integer, intent(in) :: opn
37 real(real64), intent(in) :: w
38 integer, intent(in) :: opnri
39 integer, intent(in) :: opri
40 integer, intent(in) :: rimap_inv
41 integer, intent(in) :: rimap_inv_max
42 real(real64), intent(in) :: fi
43 integer, intent(in) :: ldfp
44 real(real64), intent(inout) :: fo
45 end subroutine doperate_ri_vec
46 end interface
47
48 interface
49 subroutine zoperate_ri_vec(opn, w, opnri, opri, rimap_inv, rimap_inv_max, fi, ldfp, fo)
50 import :: real64
51 implicit none
52 integer, intent(in) :: opn
53 real(real64), intent(in) :: w
54 integer, intent(in) :: opnri
55 integer, intent(in) :: opri
56 integer, intent(in) :: rimap_inv
57 integer, intent(in) :: rimap_inv_max
58 complex(real64), intent(in) :: fi
59 integer, intent(in) :: ldfp
60 complex(real64), intent(inout) :: fo
61 end subroutine zoperate_ri_vec
62 end interface
63
64 interface
65 subroutine dgauss_seidel(opn, w, opnri, opri, rimap_inv, rimap_inv_max, factor, pot, rho)
66 import :: real64
67 implicit none
68 integer, intent(in) :: opn
69 real(real64), intent(in) :: w
70 integer, intent(in) :: opnri
71 integer, intent(in) :: opri
72 integer, intent(in) :: rimap_inv
73 integer, intent(in) :: rimap_inv_max
74 real(real64), intent(in) :: factor
75 real(real64), intent(inout) :: pot
76 real(real64), intent(in) :: rho
77 end subroutine dgauss_seidel
78 end interface
79
80end module operate_f_oct_m
81
82!! Local Variables:
83!! mode: f90
84!! coding: utf-8
85!! End:
This module contains interfaces for routines in operate.c.
Definition: operate_f.F90:117