hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Member Functions | List of all members
hpfem::physics::ThermoOptical< Dim > Class Template Reference

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
 

Detailed Description

template<int Dim>
class hpfem::physics::ThermoOptical< Dim >

Runs the optical–thermal feedback loop on a Nédélec and an H1 space of the same mesh.

Constructor & Destructor Documentation

◆ ThermoOptical()

template<int Dim>
hpfem::physics::ThermoOptical< Dim >::ThermoOptical ( const fespace::NedelecDofMap< Dim > &  optical_dofs,
const fespace::DofMap< Dim > &  thermal_dofs,
ThermoOpticalSetup< Dim >  setup 
)
Exceptions
InvalidArgumentif the maps live on different meshes, or for a non-positive tolerance or relaxation.

Member Function Documentation

◆ materials_at()

template<int Dim>
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).

◆ setup()

template<int Dim>
const ThermoOpticalSetup< Dim > & hpfem::physics::ThermoOptical< Dim >::setup ( ) const
inlinenoexcept

◆ solve()

template<int Dim>
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).

◆ total_field()

template<int Dim>
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).


The documentation for this class was generated from the following file: