|
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
233 void operator() (Dune::BCRSMatrix<Dune::DiagonalMatrix<T, n>, A>& matrix, const RowIndex& ii, const ColIndex& jj) const
247 void operator() (Dune::BCRSMatrix<Dune::ScaledIdentityMatrix<T, n>, A>& matrix, const RowIndex& ii, const ColIndex& jj) const
261 void operator() (Dune::DiagonalMatrix<F, n>& matrix, const RowIndex& ii, const ColIndex& jj) const
274 void operator() (Dune::ScaledIdentityMatrix<F, n>& matrix, const RowIndex& ii, const ColIndex& jj) const
301 return Impl::hybridRecursiveMatrixEntryAccess(matrix_, row, col, ConvertToRef<const value_type>());
317 Impl::hybridRecursiveMatrixEntryAccess(matrix_, rowLocalView.index(i), colLocalView.index(j), AccumulateValue(localMatrix[i][j]));
396 : public Impl::MatrixPatternBackendMixIn<ISTLMatrixPatternBackend<MultiTypeBlockMatrix<Row0,Rows...>>>
471 : 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
const FieldVector< K, n > & diagonal() 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:293
ISTLMatrixBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:289
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:311
void resize(const RowBasis &rowBasis, const ColBasis &colBasis)
Definition istlmatrixbackend.hh:349
void forEachEntry(F &&f) const
Traverse entries in the pattern.
Definition istlmatrixbackend.hh:375
ISTLMatrixPatternBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:344
void setupMatrix()
Definition istlmatrixbackend.hh:360
typename Base::LocalPattern LocalPattern
Definition istlmatrixbackend.hh:342
void add(const RowIndex &rowIndex, const ColIndex &colIndex)
Definition istlmatrixbackend.hh:355
void forEachEntry(F &&f) const
Traverse entries in the pattern.
Definition istlmatrixbackend.hh:445
void setupMatrix()
Definition istlmatrixbackend.hh:426
ISTLMatrixPatternBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:408
void add(const RowIndex &rowIndex, const ColIndex &colIndex)
Definition istlmatrixbackend.hh:421
typename Base::LocalPattern LocalPattern
Definition istlmatrixbackend.hh:406
void resize(const RowBasis &rowBasis, const ColBasis &colBasis)
Definition istlmatrixbackend.hh:413
ISTLMatrixPatternBackend(Matrix &matrix)
Definition istlmatrixbackend.hh:480
void resize(const RowBasis &rowBasis, const ColBasis &colBasis)
Definition istlmatrixbackend.hh:485
void setupMatrix()
Definition istlmatrixbackend.hh:503
typename Base::LocalPattern LocalPattern
Definition istlmatrixbackend.hh:478
void add(const RowIndex &rowIndex, const ColIndex &colIndex)
Definition istlmatrixbackend.hh:498
void forEachEntry(F &&f) const
Traverse entries in the pattern.
Definition istlmatrixbackend.hh:525
T make_tuple(T... args)
T visit(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8