|
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>
114 static_assert(threadSafeViews, "Trying to use Assembler with parallel Executor, but grid view is not viewThreadSafe.");
163 FlatArray<LocalMatrix,2,2> localMatrices{LocalMatrix(get<0>(localViews).maxSize(), get<1>(localViews).maxSize())};
166 FlatArray<LocalPattern,2,2> localPattern{LocalPattern(get<0>(localViews).maxSize(), get<1>(localViews).maxSize())};
188 isLocalInteriorIntersectionMatrixAssembler<LocalAssembler> || (isLocalBoundaryIntersectionMatrixAssembler<LocalAssembler> && hasBoundaryIntersections))
252 matrix.scatter(get<0>(localViews),get<1>(outsideLocalViews), localMatrices[0][1], localPattern[0][1]);
253 matrix.scatter(get<0>(outsideLocalViews),get<1>(localViews), localMatrices[1][0], localPattern[1][0]);
254 matrix.scatter(get<0>(outsideLocalViews),get<1>(outsideLocalViews), localMatrices[1][1], localPattern[1][1]);
299 FlatArray<LocalMatrix,2,2> localMatrices{LocalMatrix(get<0>(localViews).maxSize(), get<1>(localViews).maxSize())};
302 FlatArray<LocalPattern,2,2> localPattern{LocalPattern(get<0>(localViews).maxSize(), get<1>(localViews).maxSize())};
459 matrix.scatter(get<0>(localViews),get<1>(outsideLocalViews), localMatrices[0][1], localPattern[0][1]);
460 matrix.scatter(get<0>(outsideLocalViews),get<1>(localViews), localMatrices[1][0], localPattern[1][0]);
461 matrix.scatter(get<0>(outsideLocalViews),get<1>(outsideLocalViews), localMatrices[1][1], localPattern[1][1]);
493 FlatArray<LocalPattern,2,2> localPattern{LocalPattern(get<0>(localViews).maxSize(), get<1>(localViews).maxSize())};
580 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
static constexpr bool isLocalBoundaryIntersectionSystemAssembler
Definition defaultglobalassembler.hh:80
Assembler(const RowBasis &rowBasis, const ColBasis &colBasis)
Construct global assembler.
Definition defaultglobalassembler.hh:128
static constexpr bool isLocalInteriorIntersectionVectorAssembler
Definition defaultglobalassembler.hh:64
void assembleVectorEntries(LocalAssembler &la, Vector &vector)
Definition defaultglobalassembler.hh:581
void assembleSystemEntries(LocalAssembler &la, Matrix &matrix, Vector &vector)
Construct matrix and vector entries in a single loop.
Definition defaultglobalassembler.hh:286
Assembler(const RowBasis &rowBasis)
Construct global assembler.
Definition defaultglobalassembler.hh:142
typename ColBasis::LocalView ColLocalView
Definition defaultglobalassembler.hh:45
typename RowBasis::LocalView RowLocalView
Definition defaultglobalassembler.hh:44
static constexpr bool isLocalInteriorIntersectionMatrixAssembler
Definition defaultglobalassembler.hh:60
static constexpr bool isLocalBoundaryIntersectionVectorAssembler
Definition defaultglobalassembler.hh:76
static constexpr bool isLocalInteriorIntersectionSystemAssembler
Definition defaultglobalassembler.hh:68
Assembler(const RowBasis &rowBasis, const ColBasis &colBasis, Executor executor)
Construct global assembler.
Definition defaultglobalassembler.hh:104
static constexpr bool isLocalElementMatrixAssembler
Definition defaultglobalassembler.hh:48
void assembleMatrixPattern(LocalAssembler &la, MatrixPattern &matrixPattern)
Definition defaultglobalassembler.hh:481
static constexpr bool isLocalElementSystemAssembler
Definition defaultglobalassembler.hh:56
static constexpr bool isLocalElementVectorAssembler
Definition defaultglobalassembler.hh:52
void assembleMatrixEntries(LocalAssembler &la, Matrix &matrix)
Definition defaultglobalassembler.hh:150
static constexpr bool isLocalBoundaryIntersectionMatrixAssembler
Definition defaultglobalassembler.hh:72
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:57
Definition assemblerconcepts.hh:69
Definition assemblerconcepts.hh:79
Definition assemblerconcepts.hh:88
Definition assemblerconcepts.hh:118
Definition assemblerconcepts.hh:129
Definition assemblerconcepts.hh:139
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8