![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
istlmatrixbackend.hh
Go to the documentation of this file.
11#warning This header is deprecated and will be removed after 2.11. Use the ISTLMatrixBackend from dune-assembler instead.
67 const_cast<V&>(v)(std::declval<RowMultiIndex>(), std::declval<ColMultiIndex>()) = v(std::declval<RowMultiIndex>(), std::declval<ColMultiIndex>())
86 typename std::enable_if< Dune::models<Dune::Functions::Imp::Concept::HasDynamicIndexAccess<I>, C>(), int>::type = 0>
94 typename std::enable_if< not Dune::models<Dune::Functions::Imp::Concept::HasDynamicIndexAccess<I>, C>(), int>::type = 0>
122 // Whenenver a SingleRowMatrix or SingleColumnMatrix is encountered, a zero row- or column-index
127 static decltype(auto) visitMatrixEntryRecursive(Matrix& matrix, const RowIndex& iii, const ColIndex& jjj, F&& f)
133 auto splitIndex = [] (auto&& multiIndex) { return std::make_tuple(multiIndex[_0], shiftedDynamicMultiIndex<1>(multiIndex)) ;};
184[[deprecated("This class is deprecated and will be removed after 2.11. Use the ISTLMatrixBackend from dune-assembler instead.")]]
285[[deprecated("This function is deprecated and will be removed after 2.11. Use the ISTLMatrixBackend from dune-assembler instead.")]]
298[[deprecated("This function is deprecated and will be removed after 2.11. Use the ISTLMatrixBackend from dune-assembler instead.")]]
331[[deprecated("This function is deprecated and will be removed after 2.11. Use the ISTLMatrixBackend from dune-assembler instead.")]]
367[[deprecated("This function is deprecated and will be removed after 2.11. Use the ISTLMatrixBackend from dune-assembler instead.")]]
Col col
auto hybridIndexAccess(C &&c, const I &i, F &&f) -> decltype(f(c[i]))
constexpr decltype(auto) switchCases(const Cases &cases, const Value &value, Branches &&branches, ElseBranch &&elseBranch)
#define DUNE_NO_DEPRECATED_END
#define DUNE_NO_DEPRECATED_BEGIN
static constexpr size_type M()
virtual void operator()()=0
constexpr index_constant< 0 > _0
Definition dunefunctionsboundaryfunctionalassembler.hh:29
decltype(auto) toMatrixBackend(M &m)
Return a MatrixBackend for given matrix.
Definition istlmatrixbackend.hh:368
decltype(auto) toConstMatrixBackend(M &m)
Return a ConstMatrixBackend for given matrix.
Definition istlmatrixbackend.hh:332
auto istlMatrixBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:286
Definition istlmatrixbackend.hh:38
Definition istlmatrixbackend.hh:45
auto require(const V &v) -> decltype(v(std::declval< RowMultiIndex >(), std::declval< ColMultiIndex >()))
typename RowBasis::MultiIndex RowMultiIndex
Definition istlmatrixbackend.hh:46
typename ColBasis::MultiIndex ColMultiIndex
Definition istlmatrixbackend.hh:47
Definition istlmatrixbackend.hh:60
typename ColBasis::MultiIndex ColMultiIndex
Definition istlmatrixbackend.hh:62
typename RowBasis::MultiIndex RowMultiIndex
Definition istlmatrixbackend.hh:61
auto require(const V &v) -> decltype(const_cast< V & >(v).patternBuilder(), const_cast< V & >(v)(std::declval< RowMultiIndex >(), std::declval< ColMultiIndex >())=v(std::declval< RowMultiIndex >(), std::declval< ColMultiIndex >()))
Definition istlmatrixbackend.hh:186
const Entry & operator()(const RowMultiIndex &row, const ColMultiIndex &col) const
Definition istlmatrixbackend.hh:237
Matrix & matrix()
Mutable access to wrapped matrix.
Definition istlmatrixbackend.hh:259
Entry & operator()(const RowMultiIndex &row, const ColMultiIndex &col)
Definition istlmatrixbackend.hh:243
ISTLMatrixBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:227
MatrixBuilder< Matrix > patternBuilder()
Definition istlmatrixbackend.hh:231
const Matrix & matrix() const
Const access to wrapped matrix.
Definition istlmatrixbackend.hh:251
void assign(const Value &value)
Assign value to wrapped matrix.
Definition istlmatrixbackend.hh:268
T forward(T... args)
T make_tuple(T... args)
