46 Float skin_depth = -one / std::imag(k);
47 if (std::isfinite(skin_depth) && settings_.threshold_skin_depths >
float_eps)
48 if (
min_dist > std::max(settings_.threshold_skin_depths * skin_depth, 2 *
src_tri.longest_edge_length()))
52 settings_.threshold_wvl_singularity,
56 settings_.threshold_dist_singularity,
57 src_tri.longest_edge_length() * 5
60 settings_.threshold_length_line_int,
70 src_line_.set_compute_terms(base::compute_g_terms_, base::compute_grad_g_terms_);
75 src_sthgf_.set_compute_terms(base::compute_g_terms_, base::compute_grad_g_terms_);
80 src_shgf_.set_compute_terms(base::compute_g_terms_, base::compute_grad_g_terms_);
85 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.