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, intrinsic :: iso_fortran_env
29 use math_oct_m
30 use mesh_oct_m
35 implicit none
36
37 private
38 public :: dkerker_preconditioner, &
40
41contains
42
43#include "undef.F90"
44#include "real.F90"
45
46#include "mixing_preconditioner_inc.F90"
47
48#include "undef.F90"
49#include "complex.F90"
50
51#include "mixing_preconditioner_inc.F90"
52
54
55!! Local Variables:
56!! mode: f90
57!! coding: utf-8
58!! 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:115
This module defines various routines, operating on mesh functions.
This module defines the meshes, which are used in Octopus.
Definition: mesh.F90:118
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:115