BELFEM
0.9.3
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
strumpacktools.hpp
Go to the documentation of this file.
1
/*
2
* BELFEM -- The Berkeley Lab Finite Element Framework
3
* Copyright (c) 2026, The Regents of the University of California,
4
* through Lawrence Berkeley National Laboratory (subject to receipt of any required
5
* approvals from the U.S. Dept. of Energy). All rights reserved.
6
*
7
* Developers: Christian Messe, Gregory Giard
8
*
9
* See the top-level LICENSE file for the complete license and disclaimer.
10
*/
11
12
#include "
typedefs.hpp
"
13
14
#include "
cl_SolverDistMatrix.hpp
"
15
16
#ifdef BELFEM_STRUMPACK
17
#ifdef BELFEM_GCC
18
#pragma GCC diagnostic push
19
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
20
#elif BELFEM_CLANG
21
#pragma clang diagnostic push
22
#pragma clang diagnostic ignored "-Wunknown-pragmas"
23
#endif
24
25
#include <StrumpackSparseSolver.hpp>
26
#include <StrumpackSparseSolverMPIDist.hpp>
27
28
namespace
belfem
29
{
30
namespace
sparse
31
{
32
typedef
strumpack::SPOptions< real >
StrumpackOptions
;
33
typedef
strumpack::ReturnCode
StrumpackReturnCode
;
34
35
typedef
DistMatrixCSR< int_t >
StrumpackCSR ;
36
typedef
DistMatrixAIJ< int_t >
StrumpackAIJ ;
37
}
38
}
39
40
#ifdef BELFEM_GCC
41
#pragma GCC diagnostic pop
42
#elif BELFEM_CLANG
43
#pragma clang diagnostic pop
44
#endif
45
#else
46
namespace
belfem
47
{
48
namespace
sparse
49
{
50
typedef
int
StrumpackOptions
;
51
typedef
int
StrumpackReturnCode
;
52
}
53
}
54
#endif
55
56
#include "
cl_SolverParameters.hpp
"
57
58
namespace
belfem
59
{
60
namespace
sparse
61
{
62
string
63
strumpack_message
(
const
StrumpackReturnCode
aCode ) ;
64
65
void
66
set_strumpack_options
(
const
SolverParameters & aParams,
67
StrumpackOptions
& aOpts,
68
const
index_t
aNumRows );
69
}
70
}
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:50
belfem::sparse::StrumpackReturnCode
int StrumpackReturnCode
Definition
strumpacktools.hpp:51
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