TheBoussinesqModel
3.2.1
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
Pages
preconditioned_conjugate_gradient.h
Go to the documentation of this file.
1
2
/* MATH2 CONTAINS ALGEBRAIC ROUTINES FOR GEOtop AND OTHER MODELS
3
MATH2 Version 0.9375 KMackenzie
4
5
file preconditioned_conjugate_gradient.h
6
7
Copyright, 2009 Stefano Endrizzi, Emanuele Cordano, Matteo Dall'Amico and Riccardo Rigon
8
9
This file is part of MATH2.
10
MATH2 is free software: you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation, either version 3 of the License, or
13
(at your option) any later version.
14
15
MATH2 is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program. If not, see <http://www.gnu.org/licenses/>.
22
*/
30
typedef
int (*
t_Matrix
) (
DOUBLEVECTOR
*x,
DOUBLEVECTOR
*y);
31
typedef
double (*
t_Matrix_element
)(
long
i,
DOUBLEVECTOR
*eta);
32
33
34
int
get_diagonal
(
DOUBLEVECTOR
*diagonal,
t_Matrix_element
Matrix);
35
36
long
jacobi_preconditioned_conjugate_gradient_search
(
long
kkm,
double
epsilon,
DOUBLEVECTOR
*x,
DOUBLEVECTOR
*b,
t_Matrix_element
funz);
MATH2
preconditioned_conjugate_gradient.h
Generated on Wed Jun 5 2013 10:08:45 for TheBoussinesqModel by
1.8.4