|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
Runs the optical–thermal feedback loop on a Nédélec and an H1 space of the same mesh. More...
#include <thermo_optical.hpp>
Public Member Functions | |
| ThermoOptical (const fespace::NedelecDofMap< Dim > &optical_dofs, const fespace::DofMap< Dim > &thermal_dofs, ThermoOpticalSetup< Dim > setup) | |
| const ThermoOpticalSetup< Dim > & | setup () const noexcept |
| materials::MaterialMap | materials_at (const Vector &temperature) const |
| Vector | total_field (const ScatteringSolution< Dim > &solution) const |
| ThermoOpticalState< Dim > | solve () const |
Runs the optical–thermal feedback loop on a Nédélec and an H1 space of the same mesh.
| hpfem::physics::ThermoOptical< Dim >::ThermoOptical | ( | const fespace::NedelecDofMap< Dim > & | optical_dofs, |
| const fespace::DofMap< Dim > & | thermal_dofs, | ||
| ThermoOpticalSetup< Dim > | setup | ||
| ) |
| InvalidArgument | if the maps live on different meshes, or for a non-positive tolerance or relaxation. |
| materials::MaterialMap hpfem::physics::ThermoOptical< Dim >::materials_at | ( | const Vector & | temperature | ) | const |
Materials with the permittivities of the given temperature field (cell overrides for every cell whose tag has a thermo-optic coefficient).
|
inlinenoexcept |
| ThermoOpticalState< Dim > hpfem::physics::ThermoOptical< Dim >::solve | ( | ) | const |
Iterates until the temperature change falls below the tolerance or the iteration limit is reached (converged tells which).
| Vector hpfem::physics::ThermoOptical< Dim >::total_field | ( | const ScatteringSolution< Dim > & | solution | ) | const |
Coefficients of the total field of a solution on the optical map (the scattered field plus the interpolated incident field, or the total field itself).