/[escript]/trunk/paso/src/Solver.h
ViewVC logotype

Annotation of /trunk/paso/src/Solver.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6939 - (hide annotations)
Mon Jan 20 03:37:18 2020 UTC (5 weeks, 4 days ago) by uqaeller
File MIME type: text/plain
File size: 2215 byte(s)
Updated the copyright header.


1 ksteube 1312
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 uqaeller 6939 * Copyright (c) 2003-2020 by The University of Queensland
5 jfenwick 3981 * http://www.uq.edu.au
6 ksteube 1811 *
7     * Primary Business: Queensland, Australia
8 jfenwick 6112 * Licensed under the Apache License, version 2.0
9     * http://www.apache.org/licenses/LICENSE-2.0
10 ksteube 1811 *
11 jfenwick 3981 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 jfenwick 4657 * Development 2012-2013 by School of Earth Sciences
13 uqaeller 6939 * Development from 2014-2017 by Centre for Geoscience Computing (GeoComp)
14     * Development from 2019 by School of Earth and Environmental Sciences
15     **
16 jfenwick 3981 *****************************************************************************/
17 dhawcroft 631
18 ksteube 1811
19 caltinay 4856 #ifndef __PASO_SOLVER_H__
20     #define __PASO_SOLVER_H__
21 jgs 150
22 caltinay 6001 #include "Paso.h"
23     #include "Functions.h"
24     #include "performance.h"
25 gross 700 #include "SystemMatrix.h"
26 jgs 150
27 caltinay 4856 namespace paso {
28    
29 jfenwick 1974 #define TOLERANCE_FOR_SCALARS (double)(0.)
30 artak 1787
31 caltinay 4869 void solve_free(SystemMatrix* A);
32    
33 caltinay 5996 SolverResult Solver(SystemMatrix_ptr, double*, double*, Options*, Performance*);
34 caltinay 3594
35 caltinay 4856 void Solver_free(SystemMatrix*);
36 caltinay 3594
37 caltinay 5962 SolverResult Solver_BiCGStab(SystemMatrix_ptr A, double* B, double* X,
38     dim_t* iter, double* tolerance, Performance* pp);
39 gross 3094
40 caltinay 5962 SolverResult Solver_PCG(SystemMatrix_ptr A, double* B, double* X, dim_t* iter,
41     double* tolerance, Performance* pp);
42 gross 3094
43 caltinay 5962 SolverResult Solver_TFQMR(SystemMatrix_ptr A, double* B, double* X, dim_t* iter,
44     double* tolerance, Performance* pp);
45 caltinay 4836
46 caltinay 5962 SolverResult Solver_MINRES(SystemMatrix_ptr A, double* B, double* X,
47     dim_t* iter, double* tolerance, Performance* pp);
48 caltinay 3594
49 caltinay 5962 SolverResult Solver_GMRES(SystemMatrix_ptr A, double* r, double* x,
50     dim_t* num_iter, double* tolerance,
51     dim_t length_of_recursion, dim_t restart,
52     Performance* pp);
53 caltinay 4856
54 caltinay 5962 SolverResult Solver_GMRES2(Function* F, const double* f0, const double* x0,
55     double* x, dim_t* iter, double* tolerance,
56     Performance* pp);
57 caltinay 4856
58 caltinay 5962 SolverResult Solver_NewtonGMRES(Function* F, double* x, Options* options,
59     Performance* pp);
60 caltinay 4856
61     } // namespace paso
62    
63     #endif // __PASO_SOLVER_H__
64    

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26