|
dune-assembler 2.12
|
Loading...
Searching...
No Matches
istlmatrixbackend.hh
Go to the documentation of this file.
81static decltype(auto) indexInRange(const Dune::StaticIntegralRange<T, to, from>& range, const I& i, F&& f)
105decltype(auto) hybridFlatMatrixEntryAccess(Matrix&& matrix, const RowIndex& i, const ColIndex& j, F&& f)
122static decltype(auto) hybridRecursiveMatrixEntryAccess(Matrix& matrix, const RowIndex& iii, const ColIndex& jjj, F&& f)
131 return std::make_tuple(multiIndex[Dune::Indices::_0], shiftedDynamicMultiIndex<1>(multiIndex)) ;
142 return hybridFlatMatrixEntryAccess(matrix, i, j, [&,ii=ii,jj=jj](auto&& matrix_ij) -> decltype(auto) {
222 void operator() (Dune::BCRSMatrix<Dune::FieldMatrix<T, n, m>, A>& matrix, const RowIndex& ii, const ColIndex& jj) const
230 void operator() (Dune::BCRSMatrix<Dune::DiagonalMatrix<T, n>, A>& matrix, const RowIndex& ii, const ColIndex& jj) const
239 void operator() (Dune::BCRSMatrix<Dune::ScaledIdentityMatrix<T, n>, A>& matrix, const RowIndex& ii, const ColIndex& jj) const
248 void operator() (Dune::DiagonalMatrix<F, n>& matrix, const RowIndex& ii, const ColIndex& jj) const
256 void operator() (Dune::ScaledIdentityMatrix<F, n>& matrix, const RowIndex& ii, const ColIndex& jj) const
278 return Impl::hybridRecursiveMatrixEntryAccess(matrix_, row, col, ConvertToRef<const value_type>());
294 Impl::hybridRecursiveMatrixEntryAccess(matrix_, rowLocalView.index(i), colLocalView.index(j), AccumulateValue(localMatrix[i][j]));
373 : public Impl::MatrixPatternBackendMixIn<ISTLMatrixPatternBackend<MultiTypeBlockMatrix<Row0,Rows...>>>
448 : public Impl::MatrixPatternBackendMixIn<ISTLMatrixPatternBackend<Dune::Matrix<Dune::BCRSMatrix<T, InnerA>, OuterA>>>
Definition localboundaryintersectionmatrixassembler.hh:9
Col col
OperatorHierarchy::ParallelMatrixHierarchy::ConstIterator matrix
void add(const Vertex &vertex)
static constexpr IntegralRange< T > range(T from, T to) noexcept
constexpr void forEach(Range &&range, F &&f)
static constexpr size_type M()
size_type rowIndex() const
virtual void operator()()=0
constexpr index_constant< 0 > _0
constexpr index_constant< 1 > _1
void setSize(size_type rows, size_type cols)
typename Imp::BlockTraits< T >::field_type field_type
size_type M() const
size_type N() const
Definition istlmatrixbackend.hh:159
Definition istlmatrixbackend.hh:163
PatternBuilder patternBuilder()
Definition istlmatrixbackend.hh:270
ISTLMatrixBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:266
typename PatternBuilder::LocalPattern LocalPattern
Definition istlmatrixbackend.hh:170
typename Matrix::field_type value_type
Definition istlmatrixbackend.hh:166
void scatter(const RowLocalView &rowLocalView, const ColLocalView &colLocalView, const LocalMatrix &localMatrix, const LocalPattern &localPattern)
Definition istlmatrixbackend.hh:288
void resize(const RowBasis &rowBasis, const ColBasis &colBasis)
Definition istlmatrixbackend.hh:326
void forEachEntry(F &&f) const
Traverse entries in the pattern.
Definition istlmatrixbackend.hh:352
ISTLMatrixPatternBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:321
void setupMatrix()
Definition istlmatrixbackend.hh:337
typename Base::LocalPattern LocalPattern
Definition istlmatrixbackend.hh:319
void add(const RowIndex &rowIndex, const ColIndex &colIndex)
Definition istlmatrixbackend.hh:332
void forEachEntry(F &&f) const
Traverse entries in the pattern.
Definition istlmatrixbackend.hh:422
void setupMatrix()
Definition istlmatrixbackend.hh:403
ISTLMatrixPatternBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:385
void add(const RowIndex &rowIndex, const ColIndex &colIndex)
Definition istlmatrixbackend.hh:398
typename Base::LocalPattern LocalPattern
Definition istlmatrixbackend.hh:383
void resize(const RowBasis &rowBasis, const ColBasis &colBasis)
Definition istlmatrixbackend.hh:390
ISTLMatrixPatternBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:457
void resize(const RowBasis &rowBasis, const ColBasis &colBasis)
Definition istlmatrixbackend.hh:462
void setupMatrix()
Definition istlmatrixbackend.hh:480
typename Base::LocalPattern LocalPattern
Definition istlmatrixbackend.hh:455
void add(const RowIndex &rowIndex, const ColIndex &colIndex)
Definition istlmatrixbackend.hh:475
void forEachEntry(F &&f) const
Traverse entries in the pattern.
Definition istlmatrixbackend.hh:502
T make_tuple(T... args)
T visit(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8