hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Classes | Namespaces
conical_sweep.hpp File Reference
#include <memory>
#include <optional>
#include <vector>
#include "hpfem/assembly/conical_forms.hpp"
#include "hpfem/core/types.hpp"
#include "hpfem/fespace/dof_map.hpp"
#include "hpfem/physics/conical_scattering.hpp"
#include "hpfem/solvers/linear_solver.hpp"
Include dependency graph for conical_sweep.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hpfem::physics::SweepTimings
 Accumulated wall-clock seconds of the sweep's phases (all points) and the point count. More...
 
class  hpfem::physics::ConicalSweep
 The affine operator of a conical scattering problem for sweeps. More...
 

Namespaces

namespace  hpfem
 
namespace  hpfem::physics
 

Detailed Description

Frequency and angle sweeps of the conical solver with an affine operator (M15 F8). The system of ConicalScattering is \( A(\omega, \beta) = S(\beta) - k_0^2 M(\varepsilon) \) with \( S(\beta) = S_0 + \beta S_1 + \beta^2 S_2 \) (the gradient kernel of the conical forms is quadratic in β) and \( M = \sum_g \varepsilon_g M_g \) over the groups of cells that share a material. ConicalSweep assembles \( S_0, S_1, S_2 \) and the unit-permittivity masses \( M_g \) of the cells outside the PML once, stored as value arrays over one fixed union pattern; a point of the sweep then costs a few vector operations for the combination, the assembly of the PML cells (their stretch depends on ω) and of the source cells (the load), a value-only constraint reduction through a precomputed scatter map onto the fixed reduced pattern, and a numerical refactorisation on the symbolic analysis of the first point (solvers::LinearSolver::refactorize). Results agree with ConicalScattering::solve to rounding. Bloch phases off the unit circle (a complex k_x, the array scanning of ADR-0013) reduce with the test space of the constraints, \( Q^H A P \), as ConicalScattering does. See docs/theory/solvers.md#parameter-sweeps.