/[escript]/branches/subworld2/escriptcore/src/LapackInverseHelper.h
ViewVC logotype

Contents of /branches/subworld2/escriptcore/src/LapackInverseHelper.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5504 - (show annotations)
Wed Mar 4 22:58:13 2015 UTC (4 years, 1 month ago) by jfenwick
File MIME type: text/plain
File size: 983 byte(s)
Again with a more up to date copy


1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2009-2015 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 2012-2013 by School of Earth Sciences
13 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16
17 #ifndef LAPACKINVERSEHELPER_H
18 #define LAPACKINVERSEHELPER_H
19
20 namespace escript
21 {
22
23 /**
24 Stores the memory required by different lapack implementations for matrix inverse
25 */
26 class LapackInverseHelper
27 {
28 public:
29 LapackInverseHelper(int N);
30 ~LapackInverseHelper();
31 int invert(double* matrix);
32 private:
33 int* piv;
34 double* work;
35 int N;
36 int lwork;
37 };
38
39 } // end of escript namespace
40
41 #endif
42

  ViewVC Help
Powered by ViewVC 1.1.26