|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <cstddef>#include <span>#include <vector>#include <Eigen/SparseCore>#include "hpfem/core/types.hpp"

Go to the source code of this file.
Classes | |
| class | hpfem::assembly::SparseAssembler |
Namespaces | |
| namespace | hpfem |
| namespace | hpfem::assembly |
Functions | |
| void | hpfem::assembly::scatter (Vector &global, std::span< const Index > dofs, const Vector &local) |
Adds the element vector local to global at the positions dofs. | |
| Vector | hpfem::assembly::gather (const Vector &global, std::span< const Index > dofs) |
Gathers global at the positions dofs into a dense vector. | |
Accumulation of element contributions into a global sparse matrix (COO → CSR) and scatter of element vectors. See docs/theory/scalar-fem.md#assembly.