BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
strumpacktools.hpp
Go to the documentation of this file.
1
#include "
typedefs.hpp
"
2
3
#include "
cl_SolverDistMatrix.hpp
"
4
5
#ifdef BELFEM_STRUMPACK
6
#ifdef BELFEM_GCC
7
#pragma GCC diagnostic push
8
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
9
#elif BELFEM_CLANG
10
#pragma clang diagnostic push
11
#pragma clang diagnostic ignored "-Wunknown-pragmas"
12
#endif
13
14
#include <StrumpackSparseSolver.hpp>
15
#include <StrumpackSparseSolverMPIDist.hpp>
16
17
namespace
belfem
18
{
19
namespace
sparse
20
{
21
typedef
strumpack::SPOptions< real >
StrumpackOptions
;
22
typedef
strumpack::ReturnCode
StrumpackReturnCode
;
23
24
typedef
DistMatrixCSR< int_t >
StrumpackCSR ;
25
typedef
DistMatrixAIJ< int_t >
StrumpackAIJ ;
26
}
27
}
28
29
#ifdef BELFEM_GCC
30
#pragma GCC diagnostic pop
31
#elif BELFEM_CLANG
32
#pragma clang diagnostic pop
33
#endif
34
#else
35
namespace
belfem
36
{
37
namespace
sparse
38
{
39
typedef
int
StrumpackOptions
;
40
typedef
int
StrumpackReturnCode
;
41
}
42
}
43
#endif
44
45
#include "
cl_SolverParameters.hpp
"
46
47
namespace
belfem
48
{
49
namespace
sparse
50
{
51
string
52
strumpack_message
(
const
StrumpackReturnCode
aCode ) ;
53
54
void
55
set_strumpack_options
(
const
SolverParameters & aParams,
56
StrumpackOptions
& aOpts,
57
const
index_t
aNumRows );
58
}
59
}
cl_SolverDistMatrix.hpp
cl_SolverParameters.hpp
belfem::sparse::DistMatrixAIJ
Definition
cl_SolverDistMatrix.hpp:324
belfem::sparse::DistMatrixCSR
Definition
cl_SolverDistMatrix.hpp:147
belfem::sparse
Definition
cl_SolverDistMatrix.cpp:21
belfem::sparse::StrumpackOptions
int StrumpackOptions
Definition
strumpacktools.hpp:39
belfem::sparse::StrumpackReturnCode
int StrumpackReturnCode
Definition
strumpacktools.hpp:40
belfem::sparse::strumpack_message
string strumpack_message(StrumpackReturnCode aCode)
Definition
strumpacktools.cpp:18
belfem::sparse::set_strumpack_options
void set_strumpack_options(const SolverParameters &aParams, StrumpackOptions &aOpts, const index_t aNumRows)
Definition
strumpacktools.cpp:37
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::index_t
uint32_t index_t
Definition
typedefs.hpp:52
typedefs.hpp
src
sparse
strumpacktools.hpp
Generated by
1.18.0