|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
#include <functional>#include <utility>#include "hpfem/adaptivity/residual_estimator.hpp"#include "hpfem/core/types.hpp"#include "hpfem/fespace/dof_map.hpp"#include "hpfem/physics/conical_scattering.hpp"#include "hpfem/physics/goal_oriented.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | hpfem |
| namespace | hpfem::physics |
Typedefs | |
| using | hpfem::physics::ConicalFunctional = std::function< std::pair< Vector, Vector >(const fespace::NedelecDofMap< 2 > &, const fespace::DofMap< 2 > &)> |
Functions | |
| GoalEstimate | hpfem::physics::conical_dwr_estimate (const ConicalScattering &problem, const ConicalSolution &solution, const ConicalFunctional &functional, const adaptivity::EstimatorOptions &options={}) |
| ConicalFunctional | hpfem::physics::conical_point_functional (const Point< 2 > &x, const ConicalVector &weight) |
| ConicalFunctional | hpfem::physics::conical_order_functional (const Point< 2 > &origin, const Point< 2 > &tangent, Real period, Real kt0, int order, int num_points, const ConicalVector &e) |
Goal-oriented (dual-weighted residual) error estimation for the conical solver (physics/conical_scattering.hpp), the counterpart of physics/goal_oriented.hpp for the coupled system \( (E_x, E_y, v = -iE_z) \): a linear functional \( Q(E) = q_e^\top e +
q_v^\top v \) on the two DoF maps, the adjoint \( a(V, z) = Q(V) \) solved on the maps with every order raised by one (same constraints and PEC facets as the primal problem, Bloch phases conjugated for the test space), the weight \( z - I_pz \) and the cell contributions of adaptivity::conical_weighted_residual, whose sum estimates \( Q(E) - Q(E_h) \). The functionals of this file return the physical field, \( E_z = iv \) (the \( q_v \) weights carry the factor i). Convention exp(-iωt). See docs/theory/error-estimation.md#goal-oriented.