49 std::vector<Complex>
kz;
59 static_assert(Dim == 2 || Dim == 3);
69 [[nodiscard]]
int num_layers() const noexcept {
return static_cast<int>(layers_.size()); }
93 Real amplitude = 1.0,
Real azimuth = 0.0)
const;
97 std::vector<Layer> layers_;
99 std::vector<Real> interfaces_;
Definition material.hpp:31
Definition layer_stack.hpp:57
const materials::Material & material_at(const Point< Dim > &x) const
Definition layer_stack.hpp:78
Real interface(int i) const
Coordinate of interface i, i = 0 (top) … num_layers() (bottom); descending.
int region(Real z) const noexcept
int num_layers() const noexcept
Definition layer_stack.hpp:69
LayerStack(materials::Material incidence_medium, std::vector< Layer > layers, materials::Material substrate, Real top=0.0)
LayeredPlaneWave< Dim > plane_wave(Real k0, Real angle, Polarisation pol=Polarisation::kP, Real amplitude=1.0, Real azimuth=0.0) const
const materials::Material & material(int region) const
const materials::Material & incidence_medium() const
Definition layer_stack.hpp:81
const materials::Material & substrate() const
Definition layer_stack.hpp:82
Real top() const noexcept
Definition layer_stack.hpp:72
Real bottom() const noexcept
Definition layer_stack.hpp:73
Definition absorption.hpp:21
Polarisation
Definition layer_stack.hpp:21
double Real
Definition types.hpp:15
Eigen::Matrix< Real, Dim, 1 > Point
Definition types.hpp:27
std::complex< double > Complex
Definition types.hpp:16
Definition sources.hpp:22
A homogeneous, non-magnetic layer of finite thickness [m].
Definition layer_stack.hpp:24
materials::Material material
Definition layer_stack.hpp:25
Real thickness
Definition layer_stack.hpp:26
Definition layer_stack.hpp:38
Real absorptance
Definition layer_stack.hpp:48
std::vector< Complex > kz
vertical wavenumber per layer, Im ≥ 0
Definition layer_stack.hpp:49
std::vector< Complex > down
Definition layer_stack.hpp:50
Complex transmission
Definition layer_stack.hpp:45
Complex reflection
Definition layer_stack.hpp:44
Real transmittance
Definition layer_stack.hpp:47
IncidentField< Dim > incident_wave
Definition layer_stack.hpp:43
IncidentField< Dim > field
Definition layer_stack.hpp:39
std::vector< Complex > up
Definition layer_stack.hpp:50
Real reflectance
Definition layer_stack.hpp:46