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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6651 - (hide annotations)
Wed Feb 7 02:12:08 2018 UTC (22 months ago) by jfenwick
File MIME type: text/plain
File size: 1822 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 4869 /****************************************************************************/
19 jgs 150
20 caltinay 4869 /* Paso finite element solver library */
21 jgs 150
22 caltinay 4869 /****************************************************************************/
23 jgs 150
24     /* Copyrights by ACcESS Australia, 2003,2004,2005 */
25 jfenwick 2608 /* Author: Lutz Gross, l.gross@uq.edu.au */
26 jgs 150
27 caltinay 4869 /****************************************************************************/
28 jgs 150
29 caltinay 4869 #ifndef __PASO_H__
30     #define __PASO_H__
31 jgs 150
32 caltinay 5998 #include <escript/index.h>
33 caltinay 5946 #include <escript/DataTypes.h>
34 caltinay 5997 #include <escript/EsysMPI.h>
35 caltinay 5946
36 caltinay 4869 #include <boost/enable_shared_from_this.hpp>
37     #include <boost/shared_ptr.hpp>
38    
39 caltinay 5946 namespace paso {
40    
41 caltinay 5962 // return codes used by the solvers
42     enum SolverResult {
43     NoError = 0,
44     MaxIterReached,
45     InputError,
46     MemoryError,
47     Breakdown,
48     NegativeNormError,
49     Divergence
50     };
51    
52 caltinay 5948 using escript::DataTypes::dim_t;
53     using escript::DataTypes::index_t;
54 caltinay 5946 using escript::DataTypes::real_t;
55 caltinay 6581 using escript::DataTypes::cplx_t;
56 caltinay 5946
57     }
58    
59 caltinay 4869 #define PASO_DLL_API
60    
61 gross 3312 #define MATRIX_FORMAT_DEFAULT 1
62     #define MATRIX_FORMAT_CSC 2
63     #define MATRIX_FORMAT_BLK1 4
64     #define MATRIX_FORMAT_OFFSET1 8
65     #define MATRIX_FORMAT_DIAGONAL_BLOCK 32
66    
67 gross 3120 #define PASO_ONE (double)(1.0)
68     #define PASO_ZERO (double)(0.0)
69 jgs 150
70 caltinay 4869 #endif // __PASO_H__
71    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26