|
dune-assembler 2.12
|
Loading...
Searching...
No Matches
defaultglobalassembler.hh
Go to the documentation of this file.
41template <Concepts::GlobalBasis RowBasis, Concepts::GlobalBasis ColBasis = RowBasis, class Executor = SequentialExecutor>
102 static_assert(threadSafeViews, "Trying to use Assembler with parallel Executor, but grid view is not viewThreadSafe.");
151 FlatArray<LocalMatrix,2,2> localMatrices{LocalMatrix(get<0>(localViews).maxSize(), get<1>(localViews).maxSize())};
154 FlatArray<LocalPattern,2,2> localPattern{LocalPattern(get<0>(localViews).maxSize(), get<1>(localViews).maxSize())};
176 isLocalInteriorIntersectionMatrixAssembler<LocalAssembler> || (isLocalBoundaryIntersectionMatrixAssembler<LocalAssembler> && hasBoundaryIntersections))
240 matrix.scatter(get<0>(localViews),get<1>(outsideLocalViews), localMatrices[0][1], localPattern[0][1]);
241 matrix.scatter(get<0>(outsideLocalViews),get<1>(localViews), localMatrices[1][0], localPattern[1][0]);
242 matrix.scatter(get<0>(outsideLocalViews),get<1>(outsideLocalViews), localMatrices[1][1], localPattern[1][1]);
269 FlatArray<LocalPattern,2,2> localPattern{LocalPattern(get<0>(localViews).maxSize(), get<1>(localViews).maxSize())};
356 template <Concepts::LocalVectorAssembler<typename RowBasis::LocalView> LocalAssembler, class Vector>
Definition localboundaryintersectionmatrixassembler.hh:9
MCMGLayout mcmgElementLayout()
const GridView & gridView() const
A global assembler for assembling matrices and vectors.
Definition defaultglobalassembler.hh:43
Assembler(const RowBasis &rowBasis, const ColBasis &colBasis)
Construct global assembler.
Definition defaultglobalassembler.hh:116
static constexpr bool isLocalInteriorIntersectionVectorAssembler
Definition defaultglobalassembler.hh:60
void assembleVectorEntries(LocalAssembler &la, Vector &vector)
Definition defaultglobalassembler.hh:357
Assembler(const RowBasis &rowBasis)
Construct global assembler.
Definition defaultglobalassembler.hh:130
typename ColBasis::LocalView ColLocalView
Definition defaultglobalassembler.hh:45
typename RowBasis::LocalView RowLocalView
Definition defaultglobalassembler.hh:44
static constexpr bool isLocalInteriorIntersectionMatrixAssembler
Definition defaultglobalassembler.hh:56
static constexpr bool isLocalBoundaryIntersectionVectorAssembler
Definition defaultglobalassembler.hh:68
Assembler(const RowBasis &rowBasis, const ColBasis &colBasis, Executor executor)
Construct global assembler.
Definition defaultglobalassembler.hh:92
static constexpr bool isLocalElementMatrixAssembler
Definition defaultglobalassembler.hh:48
void assembleMatrixPattern(LocalAssembler &la, MatrixPattern &matrixPattern)
Definition defaultglobalassembler.hh:257
static constexpr bool isLocalElementVectorAssembler
Definition defaultglobalassembler.hh:52
void assembleMatrixEntries(LocalAssembler &la, Matrix &matrix)
Definition defaultglobalassembler.hh:138
static constexpr bool isLocalBoundaryIntersectionMatrixAssembler
Definition defaultglobalassembler.hh:64
A pair of local views constructed from a pair of global bases.
Definition localviewpair.hh:24
Definition assemblerconcepts.hh:37
Definition assemblerconcepts.hh:48
Definition assemblerconcepts.hh:69
Definition assemblerconcepts.hh:79
Definition assemblerconcepts.hh:118
Definition assemblerconcepts.hh:129
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8