Struct wedge_edge_t

Struct Documentation

struct wedge_edge_t

Wedge edge.

Public Functions

inline auto e() const noexcept

Edge direction.

inline std::optional<pqvec3_t> diffraction_point(const pqvec3_t &src, const pqvec3_t &dst) const noexcept

Returns point on wedge that satisfies Fermat’s principle, if such a point exists.

inline std::optional<pqvec3_t> diffraction_point(const pqvec3_t &src, const dir3_t &wo) const noexcept

Returns point on wedge that satisfies Fermat’s principle, if such a point exists.

inline UTD_ret_t UTD(const Wavenumber auto k, const dir3_t &wi, const dir3_t &wo, const length_t ro) const noexcept

The UTD wedge diffraction function. Does NOT account for the phase term exp(-i*k*ro).

Public Members

pqvec3_t v

Edge mid point.

length_t l

Edge length.

dir3_t nff

Front-face normal and tangent direction pointing into the wedge.

dir3_t tff
dir3_t nbf

Back-face normal.

angle_t alpha

Wedge opening angle.

f_t eta

Refractive-index.

ads::tuid_t ads_edge_idx