45 Float skin_depth = -one / std::imag(k);
46 if (std::isfinite(skin_depth) && settings_.threshold_skin_depths >
float_eps)
47 if (
min_dist > std::max(settings_.threshold_skin_depths * skin_depth, 2 *
src_tri.longest_edge_length()))
51 settings_.threshold_wvl_singularity,
55 settings_.threshold_dist_singularity,
56 src_tri.longest_edge_length() * 5
59 settings_.threshold_length_line_int,
69 src_line_.set_compute_terms(base::compute_g_terms_, base::compute_grad_g_terms_);
74 src_sthgf_.set_compute_terms(base::compute_g_terms_, base::compute_grad_g_terms_);
79 src_shgf_.set_compute_terms(base::compute_g_terms_, base::compute_grad_g_terms_);
84 src_hgf_.set_compute_terms(base::compute_g_terms_, base::compute_grad_g_terms_);
SrcResult integrate(const Complex k, const Triangle< 2 > &src_tri, ConstEigRef< EigMatNX< Float, 3 > > r_obs) override
Computes the integral over the source triangle.