/[escript]/trunk/escript/src/LapackInverseHelper.h
ViewVC logotype

Contents of /trunk/escript/src/LapackInverseHelper.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3981 - (show annotations)
Fri Sep 21 02:47:54 2012 UTC (6 years, 11 months ago) by jfenwick
File MIME type: text/plain
File size: 913 byte(s)
First pass of updating copyright notices
1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2009-2012 by University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Open Software License version 3.0
9 * http://www.opensource.org/licenses/osl-3.0.php
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development since 2012 by School of Earth Sciences
13 *
14 *****************************************************************************/
15
16 #ifndef LAPACKINVERSEHELPER_H
17 #define LAPACKINVERSEHELPER_H
18
19 namespace escript
20 {
21
22 /**
23 Stores the memory required by different lapack implementations for matrix inverse
24 */
25 class LapackInverseHelper
26 {
27 public:
28 LapackInverseHelper(int N);
29 ~LapackInverseHelper();
30 int invert(double* matrix);
31 private:
32 int* piv;
33 double* work;
34 int N;
35 int lwork;
36 };
37
38 } // end of escript namespace
39
40 #endif

  ViewVC Help
Powered by ViewVC 1.1.26