BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
strumpacktools.hpp
Go to the documentation of this file.
1#include "typedefs.hpp"
2
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
17namespace 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
35namespace belfem
36{
37 namespace sparse
38 {
39 typedef int StrumpackOptions ;
40 typedef int StrumpackReturnCode ;
41 }
42}
43#endif
44
46
47namespace belfem
48{
49 namespace sparse
50 {
51 string
53
54 void
55 set_strumpack_options( const SolverParameters & aParams,
56 StrumpackOptions & aOpts,
57 const index_t aNumRows );
58 }
59}
Definition cl_SolverDistMatrix.hpp:324
Definition cl_SolverDistMatrix.hpp:147
Definition cl_SolverDistMatrix.cpp:21
int StrumpackOptions
Definition strumpacktools.hpp:39
int StrumpackReturnCode
Definition strumpacktools.hpp:40
string strumpack_message(StrumpackReturnCode aCode)
Definition strumpacktools.cpp:18
void set_strumpack_options(const SolverParameters &aParams, StrumpackOptions &aOpts, const index_t aNumRows)
Definition strumpacktools.cpp:37
USER GUIDES:
Definition cl_Capacitor.cpp:16
uint32_t index_t
Definition typedefs.hpp:52