hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
Public Attributes | List of all members
hpfem::physics::BandStructureSetup< Dim > Struct Template Reference

#include <band_structure.hpp>

Collaboration diagram for hpfem::physics::BandStructureSetup< Dim >:
Collaboration graph
[legend]

Public Attributes

materials::MaterialMap materials
 lossless, by cell tag
 
std::vector< assembly::PeriodicPair< Dim > > lattice
 master/slave tags and lattice vectors
 
std::vector< mesh::Tag > pec_tags
 optional metallic walls
 
Index num_bands = 6
 
Real shift = -1.0
 σ of the shift-invert in units of (2π / a)² (negative: below band 0)
 
Index krylov_dimension = 0
 
Real tolerance = 1e-10
 
int max_iterations = 200
 
solvers::DirectSolverBackend solver = solvers::DirectSolverBackend::kAuto
 
int extra_quadrature_order = 2
 
bool keep_modes = false
 

Detailed Description

template<int Dim>
struct hpfem::physics::BandStructureSetup< Dim >

Description of a band-structure problem: the lattice (one periodic pair per lattice vector with phase 1, the phases are set per k), the materials and the number of bands.

Member Data Documentation

◆ extra_quadrature_order

template<int Dim>
int hpfem::physics::BandStructureSetup< Dim >::extra_quadrature_order = 2

◆ keep_modes

template<int Dim>
bool hpfem::physics::BandStructureSetup< Dim >::keep_modes = false

Keep the eigenvectors in Bands::modes (needed by the band derivatives of band_sensitivity.hpp); off by default, since a long path would hold one dense num_dofs × num_bands block per wave vector.

◆ krylov_dimension

template<int Dim>
Index hpfem::physics::BandStructureSetup< Dim >::krylov_dimension = 0

◆ lattice

template<int Dim>
std::vector<assembly::PeriodicPair<Dim> > hpfem::physics::BandStructureSetup< Dim >::lattice

master/slave tags and lattice vectors

◆ materials

template<int Dim>
materials::MaterialMap hpfem::physics::BandStructureSetup< Dim >::materials

lossless, by cell tag

◆ max_iterations

template<int Dim>
int hpfem::physics::BandStructureSetup< Dim >::max_iterations = 200

◆ num_bands

template<int Dim>
Index hpfem::physics::BandStructureSetup< Dim >::num_bands = 6

◆ pec_tags

template<int Dim>
std::vector<mesh::Tag> hpfem::physics::BandStructureSetup< Dim >::pec_tags

optional metallic walls

◆ shift

template<int Dim>
Real hpfem::physics::BandStructureSetup< Dim >::shift = -1.0

σ of the shift-invert in units of (2π / a)² (negative: below band 0)

◆ solver

◆ tolerance

template<int Dim>
Real hpfem::physics::BandStructureSetup< Dim >::tolerance = 1e-10

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