hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
conical_postprocess.hpp File Reference
#include <functional>
#include <optional>
#include <vector>
#include "hpfem/core/types.hpp"
#include "hpfem/materials/material.hpp"
#include "hpfem/physics/anisotropic_stack.hpp"
#include "hpfem/physics/conical_scattering.hpp"
#include "hpfem/physics/diffraction.hpp"
#include "hpfem/physics/postprocess.hpp"
Include dependency graph for conical_postprocess.hpp:

Go to the source code of this file.

Classes

struct  hpfem::physics::ModeChannel
 
struct  hpfem::physics::ModeResolvedOrder
 A diffraction order resolved into the two modes of the medium on the line. More...
 
class  hpfem::physics::ConicalFarField
 

Namespaces

namespace  hpfem
 
namespace  hpfem::physics
 

Typedefs

using hpfem::physics::ConicalFieldFunction = std::function< ConicalVector(const Point< 2 > &)>
 A physical 3-vector field as a function of the in-plane point.
 

Functions

ConicalVector hpfem::physics::to_literature_frame (const ConicalVector &v)
 Solver frame → literature frame, \( (v_x, v_y, v_z) \mapsto (v_x, -v_z, v_y) \).
 
ConicalVector hpfem::physics::from_literature_frame (const ConicalVector &v)
 The inverse.
 
ConicalVector hpfem::physics::conical_curl_of (const ConicalFieldFunction &field, const Point< 2 > &x, Real beta, Real step)
 
std::vector< ConicalDiffractionOrder > hpfem::physics::conical_diffraction_orders (const ConicalFieldFunction &field, const OrderLine &line, Real k0, Real index_line, Real kt0, Real beta, Real kn_incident, const ConicalFieldFunction &incident={}, int max_order=3, int num_points=0, Real incident_amplitude=1.0)
 
std::vector< ModeResolvedOrder > hpfem::physics::conical_mode_orders (const ConicalFieldFunction &field, const OrderLine &line, Real k0, const materials::Tensor3 &eps_line, Real kt0, Real beta, Real kn_incident, const ConicalFieldFunction &incident={}, int max_order=3, int num_points=0, Real incident_amplitude=1.0)
 
PowerBalance hpfem::physics::conical_power_balance (const ConicalScattering &problem, const ConicalSolution &solution, const Surface< 2 > &reflection, Real period, Real kn_incident, const ConicalFieldFunction &incident_wave, Real incident_amplitude=1.0, const Surface< 2 > *transmission=nullptr, int extra_order=2)
 
CrossSections hpfem::physics::conical_cross_sections (const ConicalScattering &problem, const ConicalSolution &solution, const Surface< 2 > &surface, Real incident_amplitude=1.0, int extra_order=2)
 

Detailed Description

Post-processing of the conical solver (M15 F10 / F11): diffraction orders on any line with complex vector amplitudes, the flux-based power balance, cross-sections of isolated scatterers and the far-field pattern of the 2.5D field, plus the frame conversion to the grating literature. All fields are physical \( (E_x, E_y, E_z) \) of \( E(x,y)e^{i\beta z} \); the solver frame has the period along x, the normal along y and the invariant direction z, the literature frame (BEM / RCWA) the period along x', the invariant direction y' and the normal z': \( (x', y', z') = (x, -z, y) \) (right-handed). Convention exp(-iωt). See docs/theory/maxwell.md#conical-incidence-and-the-e_z-polarisation.