The affine operator of a conical scattering problem for sweeps.
More...
#include <conical_sweep.hpp>
The affine operator of a conical scattering problem for sweeps.
◆ ConicalSweep()
Prepares the sweep from the setup of its first point: the cell groups (by material at this point), the PML cells, the source cells (cells whose permittivity deviates from the background, or all cells with a current) and the solver. Every later point must keep the mesh, the orders, the PEC tags, the periodic pairs (their phases may change), the PML box geometry (its wavenumber may change), the cell-to-group assignment and the formulation; it may change omega, beta, the materials of the groups, the incident field (and its curl) and the Bloch phases.
- Exceptions
-
◆ cached()
| bool hpfem::physics::ConicalSweep::cached |
( |
| ) |
const |
|
inlinenoexcept |
Whether the points run through the pattern cache (false until the first point, and after a point whose PML or constraint structure differed from the cached one).
◆ factorize()
Factorises the system of a point without assembling its load (the PML cells, the cached parts, the reduction and the refactorisation of solve), for loads given afterwards by solve_loads: the dipole responses of the array scanning, whose loads live on the few cells around the emitter (conical_sweep_dipole_power_matrix).
- Exceptions
-
◆ num_groups()
| Index hpfem::physics::ConicalSweep::num_groups |
( |
| ) |
const |
|
inlinenoexcept |
◆ num_pml_cells()
| Index hpfem::physics::ConicalSweep::num_pml_cells |
( |
| ) |
const |
|
inlinenoexcept |
◆ num_source_cells()
| Index hpfem::physics::ConicalSweep::num_source_cells |
( |
| ) |
const |
|
inlinenoexcept |
◆ point()
The problem of the last point (its setup, DoF maps and constraints).
- Exceptions
-
◆ solve()
Solution at a point of the sweep.
- Exceptions
-
| InvalidArgument | if the setup's structure differs from the base (number of free DoFs, groups), Error if the factorisation fails. |
◆ solve_loads()
| Matrix hpfem::physics::ConicalSweep::solve_loads |
( |
const Matrix & |
loads | ) |
|
Solutions of the last point (solve or factorize) for full-size loads over the block DoFs (E_x, E_y | v; one load per column): reduced with the test space, one multi-rhs solve, expanded with the trial space; entries of PEC DoFs are ignored, the solutions are zero there.
- Exceptions
-
| InvalidArgument | before the first point or for a row count other than the number of block DoFs. |
◆ solver()
The solver after the first point (name, details).
◆ timings()
| const SweepTimings & hpfem::physics::ConicalSweep::timings |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following file: