GetFEM
5.5
gmm_precond.h
Go to the documentation of this file.
1
/* -*- c++ -*- (enables emacs c++ mode) */
2
/*===========================================================================
3
4
Copyright (C) 2004-2026 Yves Renard
5
6
This file is a part of GetFEM
7
8
GetFEM is free software; you can redistribute it and/or modify it
9
under the terms of the GNU Lesser General Public License as published
10
by the Free Software Foundation; either version 3 of the License, or
11
(at your option) any later version along with the GCC Runtime Library
12
Exception either version 3.1 or (at your option) any later version.
13
This program is distributed in the hope that it will be useful, but
14
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16
License and GCC Runtime Library Exception for more details.
17
You should have received a copy of the GNU Lesser General Public License
18
along with this program. If not, see https://www.gnu.org/licenses/.
19
20
As a special exception, you may use this file as it is a part of a free
21
software library without restriction. Specifically, if other files
22
instantiate templates or use macros or inline functions from this file,
23
or you compile this file and link it with other files to produce an
24
executable, this file does not by itself cause the resulting executable
25
to be covered by the GNU Lesser General Public License. This exception
26
does not however invalidate any other reasons why the executable file
27
might be covered by the GNU Lesser General Public License.
28
29
===========================================================================*/
30
#ifndef GMM_PRECOND_H
31
#define GMM_PRECOND_H
32
33
#include "
gmm_kernel.h
"
34
35
/** @file gmm_precond.h
36
@author Yves Renard <
[email protected]
>
37
@date March 29, 2004.
38
@brief gmm preconditioners.
39
*/
40
41
/* Preconditioner concept : */
42
/* */
43
/* A the matrix, P the preconditioner PA well conditioned. */
44
/* PRECOND preconditioner type. */
45
/* mult(P, v, w) : w <- P v */
46
/* transposed_mult(P, v, w) : w <- transposed(P) v */
47
/* left_mult(P, v, w) : see qmr solver */
48
/* right_mult(P, v, w) : see qmr solver */
49
/* transposed_left_mult(P, v, w) : see qmr solver */
50
/* transposed_right_mult(P, v, w) : see qmr solver */
51
/* */
52
/* PRECOND P() : empty preconditioner. */
53
/* PRECOND P(A, ...) : preconditioner for the matrix A, with optional */
54
/* parameters */
55
/* PRECOND(...) : empty precondtioner with parameters set. */
56
/* P.build_with(A) : build a precondtioner for A. */
57
/* */
58
/* *********************************************************************** */
59
60
61
62
63
#endif
64
gmm_kernel.h
Include the base gmm files.
src
gmm
gmm_precond.h
Generated by
1.9.1