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

Assembles the pencil once and solves the Bloch eigenproblem per wave vector. More...

#include <band_structure.hpp>

Public Member Functions

 BandStructure (const fespace::NedelecDofMap< Dim > &dofs, const fespace::DofMap< Dim > &h1, BandStructureSetup< Dim > setup)
 
const BandStructureSetup< Dim > & setup () const noexcept
 
const fespace::NedelecDofMap< Dim > & dofs () const noexcept
 
const fespace::DofMap< Dim > & h1 () const noexcept
 
const SparseMatrix & stiffness () const noexcept
 Relative stiffness matrix S, \( (\mu_r^{-1}\nabla\times u, \nabla\times v) \), full size.
 
const SparseMatrix & mass () const noexcept
 Relative mass matrix M, \( (\varepsilon_r u, v) \), full size.
 
assembly::MaxwellForm< Dim > form_of_cell (Index cell) const
 
fespace::Constraints constraints (const Point< Dim > &wave_vector) const
 
Real lattice_constant () const
 Lattice constant: the length of the first lattice vector.
 
Bands< Dim > bands (const Point< Dim > &wave_vector) const
 Bands at the wave vector k (phases \( e^{ik\cdot a} \) per lattice vector).
 
std::vector< Bands< Dim > > path (const std::vector< Point< Dim > > &corners, int segments) const
 

Detailed Description

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

Assembles the pencil once and solves the Bloch eigenproblem per wave vector.

Constructor & Destructor Documentation

◆ BandStructure()

template<int Dim>
hpfem::physics::BandStructure< Dim >::BandStructure ( const fespace::NedelecDofMap< Dim > &  dofs,
const fespace::DofMap< Dim > &  h1,
BandStructureSetup< Dim >  setup 
)
Exceptions
InvalidArgumentfor lossy materials, an empty lattice or mismatched maps.

Member Function Documentation

◆ bands()

template<int Dim>
Bands< Dim > hpfem::physics::BandStructure< Dim >::bands ( const Point< Dim > &  wave_vector) const

Bands at the wave vector k (phases \( e^{ik\cdot a} \) per lattice vector).

◆ constraints()

template<int Dim>
fespace::Constraints hpfem::physics::BandStructure< Dim >::constraints ( const Point< Dim > &  wave_vector) const

Bloch constraints of the Nédélec space at the wave vector k (phases \( e^{ik\cdot a_j} \) per lattice vector); their prolongation P reduces the pencil.

◆ dofs()

template<int Dim>
const fespace::NedelecDofMap< Dim > & hpfem::physics::BandStructure< Dim >::dofs ( ) const
inlinenoexcept

◆ form_of_cell()

template<int Dim>
assembly::MaxwellForm< Dim > hpfem::physics::BandStructure< Dim >::form_of_cell ( Index  cell) const

The forms of cell c (the relative \( \mu_r^{-1} \) and \( \varepsilon_r \) of its material) as assembled into S and M.

◆ h1()

template<int Dim>
const fespace::DofMap< Dim > & hpfem::physics::BandStructure< Dim >::h1 ( ) const
inlinenoexcept

◆ lattice_constant()

template<int Dim>
Real hpfem::physics::BandStructure< Dim >::lattice_constant ( ) const

Lattice constant: the length of the first lattice vector.

◆ mass()

template<int Dim>
const SparseMatrix & hpfem::physics::BandStructure< Dim >::mass ( ) const
inlinenoexcept

Relative mass matrix M, \( (\varepsilon_r u, v) \), full size.

◆ path()

template<int Dim>
std::vector< Bands< Dim > > hpfem::physics::BandStructure< Dim >::path ( const std::vector< Point< Dim > > &  corners,
int  segments 
) const

Bands along a polyline of wave vectors with segments steps between consecutive corners (the corners included), e.g. Γ–X–M–Γ.

◆ setup()

template<int Dim>
const BandStructureSetup< Dim > & hpfem::physics::BandStructure< Dim >::setup ( ) const
inlinenoexcept

◆ stiffness()

template<int Dim>
const SparseMatrix & hpfem::physics::BandStructure< Dim >::stiffness ( ) const
inlinenoexcept

Relative stiffness matrix S, \( (\mu_r^{-1}\nabla\times u, \nabla\times v) \), full size.


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