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

How points are sampled. More...

#include <field_sampling.hpp>

Public Attributes

SampledQuantity quantity = SampledQuantity::kElectric
 
bool scattered = false
 
bool bloch_wrap = true
 
int interface_side = 0
 

Detailed Description

How points are sampled.

Member Data Documentation

◆ bloch_wrap

bool hpfem::physics::SamplingOptions::bloch_wrap = true

Points outside the mesh along a Bloch-periodic direction of the setup are mapped back into the cell, \( E(x) = E(x - n a)\,e^{i n k\cdot a} \) with the phase of the pair.

◆ interface_side

int hpfem::physics::SamplingOptions::interface_side = 0

+1 / -1: a point on a facet is evaluated in the cell on the upper / lower side along the last coordinate (the stack normal), 0: in the first cell found (lowest cell id).

◆ quantity

SampledQuantity hpfem::physics::SamplingOptions::quantity = SampledQuantity::kElectric

◆ scattered

bool hpfem::physics::SamplingOptions::scattered = false

the scattered instead of the total field


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