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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6651 - (hide annotations)
Wed Feb 7 02:12:08 2018 UTC (20 months ago) by jfenwick
File MIME type: text/plain
File size: 2139 byte(s)
Make everyone sad by touching all the files

Copyright dates update

1 ksteube 1312
2 jfenwick 3981 /*****************************************************************************
3 ksteube 1811 *
4 jfenwick 6651 * Copyright (c) 2003-2018 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     * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 jfenwick 3981 *
15     *****************************************************************************/
16 dhawcroft 631
17 ksteube 1811
18 caltinay 4856 #ifndef __PASO_SOLVER_H__
19     #define __PASO_SOLVER_H__
20 jgs 150
21 caltinay 6001 #include "Paso.h"
22     #include "Functions.h"
23     #include "performance.h"
24 gross 700 #include "SystemMatrix.h"
25 jgs 150
26 caltinay 4856 namespace paso {
27    
28 jfenwick 1974 #define TOLERANCE_FOR_SCALARS (double)(0.)
29 artak 1787
30 caltinay 4869 void solve_free(SystemMatrix* A);
31    
32 caltinay 5996 SolverResult Solver(SystemMatrix_ptr, double*, double*, Options*, Performance*);
33 caltinay 3594
34 caltinay 4856 void Solver_free(SystemMatrix*);
35 caltinay 3594
36 caltinay 5962 SolverResult Solver_BiCGStab(SystemMatrix_ptr A, double* B, double* X,
37     dim_t* iter, double* tolerance, Performance* pp);
38 gross 3094
39 caltinay 5962 SolverResult Solver_PCG(SystemMatrix_ptr A, double* B, double* X, dim_t* iter,
40     double* tolerance, Performance* pp);
41 gross 3094
42 caltinay 5962 SolverResult Solver_TFQMR(SystemMatrix_ptr A, double* B, double* X, dim_t* iter,
43     double* tolerance, Performance* pp);
44 caltinay 4836
45 caltinay 5962 SolverResult Solver_MINRES(SystemMatrix_ptr A, double* B, double* X,
46     dim_t* iter, double* tolerance, Performance* pp);
47 caltinay 3594
48 caltinay 5962 SolverResult Solver_GMRES(SystemMatrix_ptr A, double* r, double* x,
49     dim_t* num_iter, double* tolerance,
50     dim_t length_of_recursion, dim_t restart,
51     Performance* pp);
52 caltinay 4856
53 caltinay 5962 SolverResult Solver_GMRES2(Function* F, const double* f0, const double* x0,
54     double* x, dim_t* iter, double* tolerance,
55     Performance* pp);
56 caltinay 4856
57 caltinay 5962 SolverResult Solver_NewtonGMRES(Function* F, double* x, Options* options,
58     Performance* pp);
59 caltinay 4856
60     } // namespace paso
61    
62     #endif // __PASO_SOLVER_H__
63    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26