47template <
int Dim,
class Counts>
49 const Vector& u, std::span<const Index> cells,
59template <
int Dim,
class Counts>
61 std::span<const Index> marked,
66 std::span<const Index>,
70 std::span<const Index>,
79 std::span<const Index>,
82 std::span<const Index>,
86 std::span<const Index>,
90 std::span<const Index>,
Definition dof_map.hpp:51
Definition axisymmetric_estimator.hpp:39
std::vector< Real > coefficient_decay(const fespace::EntityDofMap< Dim, Counts > &dofs, const Vector &u, std::span< const Index > cells, const SmoothnessOptions &options={})
template HpDecision hp_decide< 3, fespace::NedelecCounts >(const fespace::NedelecDofMap< 3 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &)
template std::vector< Real > coefficient_decay< 2, fespace::H1Counts >(const fespace::DofMap< 2 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &)
template std::vector< Real > coefficient_decay< 2, fespace::NedelecCounts >(const fespace::NedelecDofMap< 2 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &)
template HpDecision hp_decide< 3, fespace::H1Counts >(const fespace::DofMap< 3 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &)
template std::vector< Real > coefficient_decay< 3, fespace::H1Counts >(const fespace::DofMap< 3 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &)
template std::vector< Real > coefficient_decay< 3, fespace::NedelecCounts >(const fespace::NedelecDofMap< 3 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &)
template HpDecision hp_decide< 2, fespace::NedelecCounts >(const fespace::NedelecDofMap< 2 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &)
HpDecision hp_decide(const fespace::EntityDofMap< Dim, Counts > &dofs, const Vector &u, std::span< const Index > marked, const SmoothnessOptions &options={})
template HpDecision hp_decide< 2, fespace::H1Counts >(const fespace::DofMap< 2 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &)
double Real
Definition types.hpp:15
Eigen::Matrix< Complex, Eigen::Dynamic, 1 > Vector
Definition types.hpp:20
Marked cells split by the smoothness indicator.
Definition smoothness.hpp:53
std::vector< Index > p_marked
Definition smoothness.hpp:55
std::vector< Real > decay
σ of every marked cell, in the order of marked
Definition smoothness.hpp:56
std::vector< Index > h_marked
Definition smoothness.hpp:54
Definition smoothness.hpp:21
Real threshold_scale
Definition smoothness.hpp:30
int min_decision_order
Definition smoothness.hpp:33
Real smooth_threshold
Definition smoothness.hpp:29
int extra_order
Quadrature degree 2p + extra_order (+2 on curved cells) for the coefficients.
Definition smoothness.hpp:23
Real floor
Definition smoothness.hpp:36
Real fit_from
Definition smoothness.hpp:40