MUDA
Loading...
Searching...
No Matches
linear_system_solve_reorder.h
1namespace muda
2{
3enum class LinearSystemReorderMethod
4{
5 None = 0,
6 Symrcm = 1,
7 Symamd = 2,
8 Csrmetisnd = 3,
9};
11{
12 LinearSystemReorderMethod m_reorder_method = LinearSystemReorderMethod::None;
13
14 public:
15 LinearSystemReorderMethod reorder_method() const
16 {
17 return m_reorder_method;
18 }
19 void reoder_method(LinearSystemReorderMethod method)
20 {
21 m_reorder_method = method;
22 }
23 int reorder_method_int() const
24 {
25 return static_cast<int>(m_reorder_method);
26 }
27};
28} // namespace muda
Definition linear_system_solve_reorder.h:11