|
| template<int Dim, class Counts > |
| std::vector< Real > | hpfem::adaptivity::coefficient_decay (const fespace::EntityDofMap< Dim, Counts > &dofs, const Vector &u, std::span< const Index > cells, const SmoothnessOptions &options={}) |
| |
| template<int Dim, class Counts > |
| HpDecision | hpfem::adaptivity::hp_decide (const fespace::EntityDofMap< Dim, Counts > &dofs, const Vector &u, std::span< const Index > marked, const SmoothnessOptions &options={}) |
| |
| template std::vector< Real > | hpfem::adaptivity::coefficient_decay< 2, fespace::H1Counts > (const fespace::DofMap< 2 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &) |
| |
| template std::vector< Real > | hpfem::adaptivity::coefficient_decay< 3, fespace::H1Counts > (const fespace::DofMap< 3 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &) |
| |
| template std::vector< Real > | hpfem::adaptivity::coefficient_decay< 2, fespace::NedelecCounts > (const fespace::NedelecDofMap< 2 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &) |
| |
| template std::vector< Real > | hpfem::adaptivity::coefficient_decay< 3, fespace::NedelecCounts > (const fespace::NedelecDofMap< 3 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &) |
| |
| template HpDecision | hpfem::adaptivity::hp_decide< 2, fespace::H1Counts > (const fespace::DofMap< 2 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &) |
| |
| template HpDecision | hpfem::adaptivity::hp_decide< 3, fespace::H1Counts > (const fespace::DofMap< 3 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &) |
| |
| template HpDecision | hpfem::adaptivity::hp_decide< 2, fespace::NedelecCounts > (const fespace::NedelecDofMap< 2 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &) |
| |
| template HpDecision | hpfem::adaptivity::hp_decide< 3, fespace::NedelecCounts > (const fespace::NedelecDofMap< 3 > &, const Vector &, std::span< const Index >, const SmoothnessOptions &) |
| |
The DECIDE step of the hp loop: a smoothness indicator per cell from the decay of the coefficients of the discrete field in the L2-orthonormal Dubiner basis of the cell (Mavriplis 1994; Houston & Süli 2005). With \( a_n^2 = \sum_{|\alpha| = n} |c_\alpha|^2 \) summed over the field components, the least-squares fit \( \log a_n \approx C - \sigma n
\) over the degrees \( n = 0 \dots p_K \) gives the decay rate \( \sigma_K \): an analytic function has exponentially decaying coefficients (large σ), a singularity makes them decay algebraically (small σ). Cells with \( \sigma_K \ge \) smooth_threshold are p-refined, the others h-refined; the threshold decreases with p (see the options). See docs/theory/hp-adaptivity.md#hp-decision.