summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/mat_cr.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-04-26 17:48:38 +0200
committer couriersud <couriersud@gmx.org>2020-04-28 21:08:02 +0200
commit420f4909bef170af33e99c881f9e6e807bea8aaf (patch)
tree920910bac5c2dc744eb637633dc0e3daba1657a3 /src/lib/netlist/plib/mat_cr.h
parent4c38dd6f929eca2affa88b1f8ffb95c0fe81879f (diff)
netlist: Fix clang-tidy warnings. (nw)
Diffstat (limited to 'src/lib/netlist/plib/mat_cr.h')
-rw-r--r--src/lib/netlist/plib/mat_cr.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/mat_cr.h b/src/lib/netlist/plib/mat_cr.h
index 11c0444fac5..9dc5cc7b1f5 100644
--- a/src/lib/netlist/plib/mat_cr.h
+++ b/src/lib/netlist/plib/mat_cr.h
@@ -43,11 +43,16 @@ namespace plib
FILL_INFINITY = 9999999
};
+ // FIXME: these should be private
+ // NOLINTNEXTLINE
parray<index_type, N> diag; // diagonal index pointer n
+ // NOLINTNEXTLINE
parray<index_type, Np1> row_idx; // row index pointer n + 1
+ // NOLINTNEXTLINE
parray<index_type, NSQ> col_idx; // column index array nz_num, initially (n * n)
+ // NOLINTNEXTLINE
parray<value_type, NSQ> A; // Matrix elements nz_num, initially (n * n)
-
+ // NOLINTNEXTLINE
std::size_t nz_num;
explicit pmatrix_cr_t(std::size_t n)
@@ -237,6 +242,8 @@ namespace plib
}
protected:
+ // FIXME: this should be private
+ // NOLINTNEXTLINE
parray<std::vector<index_type>, N > nzbd; // Support for gaussian elimination
private:
//parray<C, N < 0 ? -N * (N-1) / 2 : N * (N+1) / 2 > nzbd; // Support for gaussian elimination