escript  Revision_
LapackInverseHelper.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2009-2018 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
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 
26 class LapackInverseHelper
27 {
28 public:
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 
paso::N
static dim_t N
Definition: SparseMatrix_saveHB.cpp:48
ERRINVERT
#define ERRINVERT
Definition: LapackInverseHelper.cpp:37
SUCCESS
#define SUCCESS
Definition: LapackInverseHelper.cpp:34
escript::LapackInverseHelper::work
double * work
Definition: LapackInverseHelper.h:57
escript::LapackInverseHelper::N
int N
Definition: LapackInverseHelper.h:58
LapackInverseHelper.h
ERRFACTORISE
#define ERRFACTORISE
Definition: LapackInverseHelper.cpp:36
escript::LapackInverseHelper::invert
int invert(double *matrix)
Definition: LapackInverseHelper.cpp:80
escript::LapackInverseHelper::~LapackInverseHelper
~LapackInverseHelper()
Definition: LapackInverseHelper.cpp:67
escript
Definition: AbstractContinuousDomain.cpp:22
escript::LapackInverseHelper::lwork
int lwork
Definition: LapackInverseHelper.h:59
escript::LapackInverseHelper::piv
int * piv
Definition: LapackInverseHelper.h:56
NEEDLAPACK
#define NEEDLAPACK
Definition: LapackInverseHelper.cpp:35
escript::LapackInverseHelper::LapackInverseHelper
LapackInverseHelper(int N)
Definition: LapackInverseHelper.cpp:39