|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
Classes | |
| class | Material |
| class | MaterialMap |
Typedefs | |
| using | Tensor3 = Eigen::Matrix< Complex, 3, 3 > |
| Complex 3×3 tensor in the laboratory frame (x, y, z). | |
Functions | |
| Real | max_real_index (const Material &material) |
| void | throw_in_plane_coupling () |
| template<int Dim> | |
| Eigen::Matrix< Complex, Dim, Dim > | permittivity_tensor (const Material &material) |
| bool | is_lossless (const Material &material) |
| True if the permittivity is real (no loss and no gain), isotropic or tensor. | |
| template<int N> | |
| Real | loss_density (const Material &material, const Eigen::Matrix< Complex, N, 1 > &e) |
| using hpfem::materials::Tensor3 = typedef Eigen::Matrix<Complex, 3, 3> |
Complex 3×3 tensor in the laboratory frame (x, y, z).
|
inline |
True if the permittivity is real (no loss and no gain), isotropic or tensor.
| Real hpfem::materials::loss_density | ( | const Material & | material, |
| const Eigen::Matrix< Complex, N, 1 > & | e | ||
| ) |
Dimensionless loss density \( E^H\,\mathrm{Im}(\varepsilon)\,E \) of the field e with N = 2 (in-plane components, permittivity_tensor<2>) or N = 3 components; the time-averaged Joule heating is \( \tfrac12\omega\varepsilon_0 \) times it. For a symmetric ε the Hermitian part \( (\varepsilon - \varepsilon^H)/2i \) is the real matrix \( \mathrm{Im}\,\varepsilon \), so this is real; it reduces to \( \mathrm{Im}(\varepsilon_r)|E|^2 \) for an isotropic medium.
Largest real part of the principal refractive indices \( \sqrt{\lambda_k\mu_r} \) over the eigenvalues \( \lambda_k \) of the permittivity (the plain Re n for an isotropic medium): the index that sets the shortest wavelength in the medium, e.g. for mesh and PML resolution.
| Eigen::Matrix< Complex, Dim, Dim > hpfem::materials::permittivity_tensor | ( | const Material & | material | ) |
Permittivity tensor seen by the Dim-dimensional in-plane Nédélec space: the full tensor in 3D, the x–y block in 2D (the in-plane fields E_x, E_y with ∂_z = 0).
| AnisotropicUnsupported | in 2D if the tensor couples the plane to z ( \( \varepsilon_{xz} \ne 0 \) or \( \varepsilon_{yz} \ne 0 \)): the in-plane field then drives E_z, which the 2D space does not carry (use the conical solver). |
| void hpfem::materials::throw_in_plane_coupling | ( | ) |
Throws the AnisotropicUnsupported of permittivity_tensor<2> for a tensor that couples the plane to z.