|
Nektar++
|
Public interface for the assemble-scatter operator, which makes element-wise coefficient storage globally consistent, and for its Dirichlet-zeroing and sign-free variants. More...
Go to the source code of this file.
Classes | |
| class | Nektar::MultiRegions::AssmbScatrOp< TData > |
| Base class for the assemble-scatter operator: sums the local contributions to every global degree of freedom and writes the sum back to each contributing local coefficient. More... | |
| class | Nektar::MultiRegions::AssmbScatrZeroDirOp< TData > |
| Assemble-scatter operator that also zeroes the global Dirichlet boundary degrees of freedom. More... | |
| class | Nektar::MultiRegions::AssmbScatrNoSignOp< TData > |
| Assemble-scatter operator that ignores the orientation signs. More... | |
Namespaces | |
| namespace | Nektar |
| namespace | Nektar::MultiRegions |
Public interface for the assemble-scatter operator, which makes element-wise coefficient storage globally consistent, and for its Dirichlet-zeroing and sign-free variants.
A coefficient-space Field stores each element's coefficients separately, so a global degree of freedom shared by several elements (or, in parallel, by several ranks) exists as multiple local copies. Solvers for continuous (C0) discretisations repeatedly need those copies summed and made consistent, which is done in two phases:
AssmbScatrOp is the abstract, execution-space-agnostic interface to this operation. Concrete implementations are provided by detail::AssmbScatrOpImpl (AssmbScatrOpImpl.hpp), built on the kernels in AssmbScatrDeviceKernels.hpp and AssmbScatrSerialAVXKernels.hpp, and are registered with the operator factory by translation units that CMake generates from AssmbScatrFactoryDec.cpp.in. When run in parallel, the implementation additionally exchanges partition- boundary contributions between ranks, overlapping that communication with the assembly of the purely interior degrees of freedom.
AssmbScatrZeroDirOp and AssmbScatrNoSignOp, declared below, are the factory-facing classes of the variants whose result has the global Dirichlet boundary degrees of freedom zeroed, and which sum without the orientation signs; their implementations are registered from the same generated translation units.
Definition in file AssmbScatrOp.hpp.