Octopus
mixing_preconditioner.F90
Go to the documentation of this file.
1!! Copyright (C) 2024 A. Buccheri
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
22 use comm_oct_m
23 use debug_oct_m
25 use global_oct_m
26 use iso_c_binding
27 use, intrinsic :: iso_fortran_env
30 use math_oct_m
31 use mesh_oct_m
36 implicit none
37
38 private
39 public :: dkerker_preconditioner, &
41
42contains
43
44#include "undef.F90"
45#include "real.F90"
46
47#include "mixing_preconditioner_inc.F90"
48
49#include "undef.F90"
50#include "complex.F90"
51
52#include "mixing_preconditioner_inc.F90"
53
55
56!! Local Variables:
57!! mode: f90
58!! coding: utf-8
59!! End:
This module calculates the derivatives (gradients, Laplacians, etc.) of a function.
This module is intended to contain "only mathematical" functions and procedures.
Definition: math.F90:117
This module defines various routines, operating on mesh functions.
This module defines the meshes, which are used in Octopus.
Definition: mesh.F90:120
subroutine, public dkerker_preconditioner(der, q_0, delta_f, f_out)
Kerker preconditioner for the mixing operator in real space.
subroutine, public zkerker_preconditioner(der, q_0, delta_f, f_out)
Kerker preconditioner for the mixing operator in real space.
This module is intended to contain "only mathematical" functions and procedures.
Definition: solvers.F90:117