|
hp-FEM
Adaptive hp-FEM suite for nano-optics
|
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 |
How points are sampled.
| 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.
| 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).
| SampledQuantity hpfem::physics::SamplingOptions::quantity = SampledQuantity::kElectric |
| bool hpfem::physics::SamplingOptions::scattered = false |
the scattered instead of the total field