27 virtual ~BaseInserter();
34 Integer
getId()
const;
43 void setMatrixValues(ValueT* matrix_values, Integer block_size = 1);
51 Integer m_current_size;
53#if defined(WIN32) or defined(__clang__)
54 ValueT* __restrict m_values;
56 ValueT __restrict__* m_values;
61 UniqueArray<Integer> m_n;
62 UniqueArray<Integer> m_row_index;
63 UniqueArray<Integer> m_col_index;
80 void reserve(Integer capacity);
81 void addMatrixEntries(
82 ConstArrayView<Integer> row_index, ConstArrayView<Integer> col_index);
83 void addMatrixEntries(ConstArrayView<Integer> row_indexes,
84 const UniqueArray<ConstArrayView<Integer>>& col_indexes);
85 void addMatrixEntries(ConstArrayView<Integer> row_indexes,
86 UniqueArray2<Integer> col_indexes, ConstArrayView<Integer> stencil_lids,
88 void addMatrixEntries(
const Integer row_index, ConstArrayView<Integer> col_index);
89 void addMatrixEntry(Integer row_index, Integer col_index);
102 void setData(ConstArrayView<ValueT> values);
103 void setData(ValueT values);
104 void addData(ConstArrayView<ValueT> values);
105 void addData(ConstArrayView<ValueT> values, ValueT factor);
106 void addData(ValueT values);
107 void addMultiData(ValueT value);
108 void addBlockData(ConstArrayView<ValueT> values);
109 void addBlockData(ConstArrayView<ValueT> values, ValueT factor);
110 void addMultiData(ConstArrayView<ValueT> values, Integer size);
111 void addMultiData(ConstArrayView<ValueT> values, ValueT factor, Integer size);
112 Filler& operator++();