|
dune-assembler 2.12
|
A global assembler for assembling matrices and vectors. More...
#include <dune/assembler/defaultglobalassembler.hh>
Public Types | |
| using | RowLocalView = typename RowBasis::LocalView |
| using | ColLocalView = typename ColBasis::LocalView |
Public Member Functions | |
| Assembler (const RowBasis &rowBasis, const ColBasis &colBasis, Executor executor) | |
| Construct global assembler. | |
| Assembler (const RowBasis &rowBasis, const ColBasis &colBasis) | |
| Construct global assembler. | |
| Assembler (const RowBasis &rowBasis) | |
| Construct global assembler. | |
| template<Concepts::LocalMatrixAssembler< RowLocalView, ColLocalView > LocalAssembler, class Matrix > | |
| void | assembleMatrixEntries (LocalAssembler &la, Matrix &matrix) |
| template<Concepts::LocalMatrixAssembler< RowLocalView, ColLocalView > LocalAssembler, class Matrix , class Vector > | |
| void | assembleSystemEntries (LocalAssembler &la, Matrix &matrix, Vector &vector) |
| Construct matrix and vector entries in a single loop. | |
| template<Concepts::LocalMatrixAssembler< RowLocalView, ColLocalView > LocalAssembler, class MatrixPattern > | |
| void | assembleMatrixPattern (LocalAssembler &la, MatrixPattern &matrixPattern) |
| template<Concepts::LocalVectorAssembler< typename RowBasis::LocalView > LocalAssembler, class Vector > | |
| void | assembleVectorEntries (LocalAssembler &la, Vector &vector) |
Static Public Attributes | |
| template<class LA > | |
| static constexpr bool | isLocalElementMatrixAssembler |
| template<class LA > | |
| static constexpr bool | isLocalElementVectorAssembler |
| template<class LA > | |
| static constexpr bool | isLocalElementSystemAssembler |
| template<class LA > | |
| static constexpr bool | isLocalInteriorIntersectionMatrixAssembler |
| template<class LA > | |
| static constexpr bool | isLocalInteriorIntersectionVectorAssembler |
| template<class LA > | |
| static constexpr bool | isLocalInteriorIntersectionSystemAssembler |
| template<class LA > | |
| static constexpr bool | isLocalBoundaryIntersectionMatrixAssembler |
| template<class LA > | |
| static constexpr bool | isLocalBoundaryIntersectionVectorAssembler |
| template<class LA > | |
| static constexpr bool | isLocalBoundaryIntersectionSystemAssembler |
Detailed Description
struct Dune::Assembler::Assembler< RowBasis, ColBasis, Executor >
A global assembler for assembling matrices and vectors.
- Template Parameters
-
RowBasis Type of global basis the rows are associated to ColBasis Type of global basis the columns are associated to (defaults to RowBasis) Executor Type of the executor to be used for element loops (defaults to SequentialExecutor)
Using std::reference_wrapper<E> as Executor, where E is the actual exeucutor implementation, is supported.
- Note
- Using anything else than SequentialExecutor as Executor is experimental and the interface for an Executor may change without a warning or deprecation.
Member Typedef Documentation
◆ ColLocalView
| using Dune::Assembler::Assembler< RowBasis, ColBasis, Executor >::ColLocalView = typename ColBasis::LocalView |
◆ RowLocalView
| using Dune::Assembler::Assembler< RowBasis, ColBasis, Executor >::RowLocalView = typename RowBasis::LocalView |
Constructor & Destructor Documentation
◆ Assembler() [1/3]
|
inline |
Construct global assembler.
- Parameters
-
rowBasis Global basis the rows are associated to ColBasis Global basis the columns are associated to executor The executor to be used for element loops (will be stored by value)
Passing std::cref(e) as executor, where e is the actual exeucutor implementation, is supported.
- Note
- Using anything else than SequentialExecutor as Executor is experimental and the interface for an Executor may change without a warning or deprecation.
◆ Assembler() [2/3]
|
inline |
Construct global assembler.
- Parameters
-
rowBasis Global basis the rows are associated to ColBasis Global basis the columns are associated to
- Note
- This uses a default constructed Executor which is fine for the default Executor type SequentialExecutor.
◆ Assembler() [3/3]
|
inline |
Construct global assembler.
- Parameters
-
rowBasis Global basis the rows and columns are associated to
- Note
- This uses the same basis for rows and columns and a default constructed Executor which is fine for the default Executor type SequentialExecutor.
Member Function Documentation
◆ assembleMatrixEntries()
|
inline |
◆ assembleMatrixPattern()
|
inline |
◆ assembleSystemEntries()
|
inline |
Construct matrix and vector entries in a single loop.
Calling this method has the same effect as calling
but it does so with a single loop over all elements. On every element, the method assembleElement is called, which computes the local matrix and vector entries together. This is useful for situations where computing the matrix and the vector shares many calculations, which would have to be done twice if the matrix and vector entries were to be computed in separate methods.
- Parameters
-
la The local assembler object matrix The global matrix object to assemble into vector The global vector object to assemble into
◆ assembleVectorEntries()
|
inline |
Member Data Documentation
◆ isLocalBoundaryIntersectionMatrixAssembler
|
staticconstexpr |
◆ isLocalBoundaryIntersectionSystemAssembler
|
staticconstexpr |
◆ isLocalBoundaryIntersectionVectorAssembler
|
staticconstexpr |
◆ isLocalElementMatrixAssembler
|
staticconstexpr |
◆ isLocalElementSystemAssembler
|
staticconstexpr |
◆ isLocalElementVectorAssembler
|
staticconstexpr |
◆ isLocalInteriorIntersectionMatrixAssembler
|
staticconstexpr |
◆ isLocalInteriorIntersectionSystemAssembler
|
staticconstexpr |
◆ isLocalInteriorIntersectionVectorAssembler
|
staticconstexpr |
The documentation for this struct was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8