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-2017 by Centre for Geoscience Computing (GeoComp)
14 * Development from 2019 by School of Earth and Environmental Sciences
15 **
16 *****************************************************************************/
17 
18 #ifndef LAPACKINVERSEHELPER_H
19 #define LAPACKINVERSEHELPER_H
20 
21 namespace escript
22 {
23 
28 {
29 public:
32  int invert(double* matrix);
33 private:
34  int* piv;
35  double* work;
36  int N;
37  int lwork;
38 };
39 
40 } // end of escript namespace
41 
42 #endif
43 
paso::N
static dim_t N
Definition: SparseMatrix_saveHB.cpp:38
ERRINVERT
#define ERRINVERT
Definition: LapackInverseHelper.cpp:39
SUCCESS
#define SUCCESS
Definition: LapackInverseHelper.cpp:36
escript::LapackInverseHelper
Definition: LapackInverseHelper.h:28
escript::LapackInverseHelper::work
double * work
Definition: LapackInverseHelper.h:35
escript::LapackInverseHelper::N
int N
Definition: LapackInverseHelper.h:36
LapackInverseHelper.h
ERRFACTORISE
#define ERRFACTORISE
Definition: LapackInverseHelper.cpp:38
escript::LapackInverseHelper::invert
int invert(double *matrix)
Definition: LapackInverseHelper.cpp:82
escript::LapackInverseHelper::~LapackInverseHelper
~LapackInverseHelper()
Definition: LapackInverseHelper.cpp:69
escript
Definition: AbstractContinuousDomain.cpp:23
escript::LapackInverseHelper::lwork
int lwork
Definition: LapackInverseHelper.h:37
escript::LapackInverseHelper::piv
int * piv
Definition: LapackInverseHelper.h:34
NEEDLAPACK
#define NEEDLAPACK
Definition: LapackInverseHelper.cpp:37
escript::LapackInverseHelper::LapackInverseHelper
LapackInverseHelper(int N)
Definition: LapackInverseHelper.cpp:41