|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <functional>#include <optional>#include <type_traits>#include <Eigen/Core>#include "hpfem/assembly/condensation.hpp"#include "hpfem/assembly/quadrature.hpp"#include "hpfem/core/types.hpp"#include "hpfem/fespace/dof_map.hpp"#include "hpfem/fespace/h1_basis.hpp"#include "hpfem/mesh/geometry.hpp"#include "hpfem/mesh/point_location.hpp"

Go to the source code of this file.
Classes | |
| struct | hpfem::assembly::ScalarForm< Dim > |
| Coefficients of the scalar form; an empty function means zero. More... | |
| struct | hpfem::assembly::ElementContribution |
Element matrix and load vector of one cell in H1Basis function order. More... | |
| struct | hpfem::assembly::AssembledSystem |
| struct | hpfem::assembly::ErrorNorms |
Errors of the discrete function with coefficient vector u_h against (u, ∇u). More... | |
Namespaces | |
| namespace | hpfem |
| namespace | hpfem::assembly |
Typedefs | |
| template<int Dim> | |
| using | hpfem::assembly::ScalarField = std::function< Complex(const Point< Dim > &)> |
| template<int Dim> | |
| using | hpfem::assembly::VectorField = std::function< Eigen::Matrix< Complex, Dim, 1 >(const Point< Dim > &)> |
| template<int Dim> | |
| using | hpfem::assembly::TensorField = std::function< Eigen::Matrix< Complex, Dim, Dim >(const Point< Dim > &)> |
| template<int Dim> | |
| using | hpfem::assembly::ReferenceScalarField = std::function< Complex(const Point< Dim > &xi, const Point< Dim > &x)> |
| template<int Dim> | |
| using | hpfem::assembly::ScalarFormFactory = std::function< ScalarForm< Dim >(Index)> |
Element and global assembly of the scalar form \( a(u,v) = \int_\Omega \alpha\,\nabla u\cdot\nabla v + \beta\,u\,v,\quad \ell(v) = \int_\Omega f\,v \) on the hierarchical H1 space, and error norms against an exact solution. Conventions: docs/theory/scalar-fem.md; test functions are not conjugated (complex symmetric systems, ADR-0002).