Home An hp-Adaptive Strategy Based on Locally Predicted Error Reductions
Article Open Access

An hp-Adaptive Strategy Based on Locally Predicted Error Reductions

  • Patrick Bammer ORCID logo EMAIL logo , Andreas Schröder ORCID logo and Thomas P. Wihler ORCID logo
Published/Copyright: May 29, 2025

Abstract

We introduce a new hp-adaptive strategy for self-adjoint elliptic boundary value problems that does not rely on using classical a posteriori error estimators. Instead, our approach is based on a generally applicable prediction strategy for the reduction of the energy error that can be expressed in terms of local modifications of the degrees of freedom in the underlying discrete approximation space. The computations related to the proposed prediction strategy involve low-dimensional linear problems that are computationally inexpensive and highly parallelizable. The mathematical building blocks for this new concept are first developed on an abstract Hilbert space level, before they are employed within the specific context of hp-type finite element discretizations. For this particular framework, we discuss an explicit construction of p-enrichments and hp-refinements by means of an appropriate constraint coefficient technique that can be employed in any dimensions. The applicability and effectiveness of the resulting hp-adaptive strategy is illustrated with some 1- and 2-dimensional numerical examples.

MSC 2020: 65N30; 65N50

1 Introduction

Over the last few decades significant contributions have been made in a posteriori error estimation and automatic (adaptive) mesh refinement techniques for finite element methods (FEM), see, e.g., [1, 6, 14, 29, 30, 31]. A majority of works in the adaptive FEM literature are focused exclusively on local (usually isotropic) refinements of elements (i.e. on so-called h-refinement). In recent years, however, motivated by the pioneering a priori results on spectral and variable-order (so-called hp-version) FEM of Babuška and co-authors, cf. [2, 3, 4, 5, 17, 16], the adaptive selection of locally varying polynomial degrees (i.e. p-refinement) has been taken into account as well. In combination with local mesh adaptivity, such approaches lead to hp-adaptive schemes; see, e.g., the overview article [24] and the references therein, or the monographs [27, 21, 9, 28] for theoretical and practical aspects of hp-FEM. A key advantage of hp-approximations is their ability to approximate local singularities in (otherwise smooth) solutions of partial differential equations at high algebraic or even exponential convergence rates, see, e.g., [27].

While it seems reasonable to generalize classical h-version a posteriori error estimation to the hp-framework, it is well-known that the derivation of effective computable hp-version error bounds involves considerable technical challenges [22, 11]. Furthermore, in addition to flagging elements for refinement (as in h-adaptive FEM), the design of hp-adaptive strategies requires the development of carefully devised decision procedures that allow to choose between various possible hp-refinements of the marked elements; this can be accomplished, for instance, by means of exploiting appropriate smoothness testing strategies [19, 13, 32, 15].

In contrast, the approach proposed in the present paper does neither rely on classical a posteriori error estimators nor on smoothness indicators. Instead, we develop a prediction procedure for an efficient reduction of the (global) energy error that can be represented explicitly in terms of hp-refinements on local discrete spaces. Our methodology is closely related to the energy minimization technique [20], where local problems are employed to compare various elementwise (competitive) p- and hp-refinements with regards to the potential contribution they may provide to the decay of the global error (see also [9] for a related strategy). Inspired by the low-order approach presented in [18], the main novelty in the current paper consists in a new construction of the approximation spaces for the local problems that properly conforms to the weak formulation of the underlying partial differential equation, and thus, provides a mathematically sound structure; this is opposed to [20], where artificial conditions and numerical fluxes along patch boundaries are involved.

More precisely, for the purpose of this work, in order to perform a (local) hp-refinement on an element Q in the mesh (with associated polynomial degree p Q ), we first decompose the numerical solution u h p on the current (global) hp-space into a local part u h p loc (with local support on or around Q), and a remaining (globally supported) part u ~ h p = u h p - u h p loc . Here, our goal is to suitably replace the local part u h p loc on a modified local hp-space that allows for an improved resolution of possible small-scale features of the global solution on Q. To this end, we consider locally supported spaces (spanned by so-called enrichment functions), which either provide a polynomial degree > p Q on Q, or an hp-refinement of Q (involving a small number of subelements of Q and an appropriate polynomial degree distribution on this subelements), thereby giving rise to a p-enrichment or an hp-replacement on Q, respectively. The span of the enrichment functions together with the remaining part of the current solution, u ~ h p , defines the local enrichment or replacement space, on which a potentially refined approximate solution is obtained. Since we explicitly include the remaining part of the current solution in the definition of the local enrichment/replacement space, the new approximate solution represents a global solution that allows to rigorously predict the (global) error reduction resulting from replacing the current solution by the new one. Since the local enrichment/replacement spaces are low-dimensional (in comparison to the full hp-space), we emphasize that the locally predicted (but globally effective) error reduction can be computed at a negligible cost. Our hp-adaptive algorithm passes through all elements of a current mesh (which can be done in parallel), and compares the predicted error reductions for different p-enrichments and hp-refinements in order to find an optimal enrichment on each element. Then, by using an appropriate marking strategy, all those elements, from which the most substantial (global) error reduction can be expected, will be refined.

The paper is structured as follows: In Section 2 we begin by introducing an abstract framework for linear elliptic problems in Hilbert spaces, and derive some general results on (global) error reductions, which are exploited to devise the error prediction strategy (in terms of low-dimensional modifications) in our new hp-adaptive scheme. In Section 3, the abstract setting is applied to hp-FEM, whereby we specify two types of enrichment functions on each element of a given hp-mesh, namely p- and hp-enrichment functions; in particular, we present in detail the explicit construction of such enrichments on individual elements based on a recent constraint coefficients technique, see [26, 7]. Furthermore, the proposed hp-adaptive procedure is outlined in terms of a general algorithm in Section 4, and some numerical experiments for hp-type finite element discretizations in 1D and 2D, which illustrate the effectiveness of our approach, will be presented in Section 5.

Throughout this article, let = { 1 , 2 , } denote the positive integers and set 0 := { 0 } . For any n we write n ¯ and n ¯ 0 for the finite sets { 1 , 2 , , n } and { 0 , 1 , , n } , respectively.

2 Abstract Framework

On a (real) Hilbert space 𝕏 we consider a bounded, symmetric and coercive bilinear form a : 𝕏 × 𝕏 that induces a norm v v 𝕏 := a ( v , v ) 1 2 on 𝕏 . We also introduce a bounded linear form b : 𝕏 . Then, for any closed subspace 𝕎 𝕏 , by the Riesz representation theorem, there is a unique u 𝕎 𝕎 such that the weak formulation

(2.1) a ( u 𝕎 , w ) = b ( w ) for all  w 𝕎

holds true. Equivalently, defining the residual

(2.2) ρ 𝕎 ( v ) := b ( v ) - a ( u 𝕎 , v ) , v 𝕏 ,

we have ρ 𝕎 ( v ) = 0 for all v 𝕎 . Furthermore, in line with the above notation, we signify by u 𝕏 𝕏 the (full space) solution of the weak formulation

(2.3) a ( u 𝕏 , v ) = b ( v ) for all  v 𝕏 .

2.1 Low-Dimensional Enrichments

Consider the special case where the subspace 𝕎 𝕏 introduced above is spanned by finitely many basis functions ϕ 1 , , ϕ N 𝕎 , with N 1 , i.e.

𝕎 = span { ϕ 1 , , ϕ N } , dim ( 𝕎 ) = N < .

Moreover, for an index subset loc N ¯ , we let

(2.4) 𝕎 loc := span { ϕ i : i loc } 𝕎 ;

for instance, in the specific context of hp-discretizations to be discussed later on, the spaces 𝕎 and 𝕎 loc will take the roles of an hp-finite element space and a locally supported subspace, respectively. We can then define a linear projection operator

(2.5) Π loc : 𝕎 𝕎 loc , v = i N ¯ v i ϕ i Π loc v := i loc v i ϕ i ,

which enables a decomposition of the solution u 𝕎 𝕎 of (2.1) into a low dimensional and a remaining part

u 𝕎 loc := Π loc u 𝕎 𝕎 loc , u ~ 𝕎 := u 𝕎 - Π loc u 𝕎 ,

respectively, with

(2.6) u 𝕎 = u 𝕎 loc + u ~ 𝕎 .

We aim to improve the approximation u 𝕎 of the (full space) solution u 𝕏 𝕏 of (2.3) by enriching or replacing the local space 𝕎 loc by a subspace

(2.7) 𝕐 := span { u ~ 𝕎 , ξ 1 , , ξ L } 𝕏

of dimension L + 1 , where

(2.8) 𝝃 := { ξ 1 , , ξ L } 𝕏

is a (small) set of linearly independent elements in 𝕏 . If 𝕎 loc 𝕐 , then we call 𝕐 a local enrichment space, otherwise 𝕐 is a local replacement space; the functions ξ 1 , , ξ L will in both cases be referred to as (local) enrichment functions.

We now introduce the low-dimensional problem

(2.9) u 𝕐 𝕐 : a ( u 𝕐 , v ) = b ( v ) for all  v 𝕐 .

Since dim 𝕐 = L + 1 , there is a unique ϵ and some uniquely determined y 𝝃 span { ξ 1 , , ξ L } such that we can express the solution u 𝕐 of (2.9) in terms of a linear combination

(2.10) u 𝕐 = ( 1 + ϵ ) u ~ 𝕎 + y 𝝃 .

Then, defining the errors

e 𝕎 := u 𝕏 - u 𝕎 , e 𝕐 := u 𝕏 - u 𝕐 ,

we prove the following result for the predicted error reduction Δ e 𝕎 , 𝕐 , given by

Δ e 𝕎 , 𝕐 2 := e 𝕎 𝕏 2 - e 𝕐 𝕏 2 .

For a related result in the specific context of a multilevel solver for linear diffusion models, we mention the work [23].

Proposition 1 (Predicted Error Reduction).

For the predicted error reduction we have the identities

(2.11) Δ e 𝕎 , 𝕐 2 = u 𝕐 - u 𝕎 𝕏 2 - 2 ρ 𝕐 ( u 𝕎 loc ) = ρ 𝕎 ( y 𝝃 ) - ρ 𝕐 ( u 𝕎 loc ) ,

with y 𝛏 span { ξ 1 , , ξ L } from (2.10), the residual ρ W ( ) defined in (2.2), and ρ Y ( ) := b ( ) - a ( u Y , ) .

Proof.

We begin by noting the identity e 𝕐 + ( u 𝕐 - u 𝕎 ) = e 𝕎 , which implies that e 𝕐 + ( u 𝕐 - u 𝕎 ) 𝕏 2 = e 𝕎 𝕏 2 . Thus, using that the bilinear form a ( , ) induces the norm 𝕏 , we deduce that

e 𝕐 𝕏 2 + 2 a ( e 𝕐 , u 𝕐 - u 𝕎 ) + u 𝕐 - u 𝕎 𝕏 2 = e 𝕎 𝕏 2 .

By Galerkin orthogonality, exploiting that u 𝕐 - u ~ 𝕎 𝕐 and u 𝕎 loc 𝕎 , we observe that

a ( e 𝕐 , u 𝕐 - u ~ 𝕎 ) = 0 and a ( e 𝕎 , u 𝕎 loc ) = 0 .

Hence, recalling (2.6) we obtain

a ( e 𝕐 , u 𝕐 - u 𝕎 ) = a ( e 𝕐 , u 𝕐 - u ~ 𝕎 ) - a ( e 𝕐 , u 𝕎 loc ) = - a ( e 𝕐 , u 𝕎 loc ) .

Furthermore, invoking (2.3), it follows that

a ( e 𝕐 , u 𝕐 - u 𝕎 ) = - a ( u 𝕏 , u 𝕎 loc ) + a ( u 𝕐 , u 𝕎 loc ) = - b ( u 𝕎 loc ) + a ( u 𝕐 , u 𝕎 loc ) = - ρ 𝕐 ( u 𝕎 loc ) .

Thus,

e 𝕐 𝕏 2 - 2 ρ 𝕐 ( u 𝕎 loc ) + u 𝕐 - u 𝕎 𝕏 2 = e 𝕎 𝕏 2 ,

which yields the first identity in (2.11). Moreover, recalling (2.6) and (2.10), we have u 𝕐 - u 𝕎 = ϵ u ~ 𝕎 + y 𝝃 - u 𝕎 loc , and since u ~ 𝕎 𝕎 𝕐 , we notice the orthogonality property

a ( u 𝕐 - u 𝕎 , u ~ 𝕎 ) = 0 .

Thus,

u 𝕐 - u 𝕎 𝕏 2 = a ( u 𝕐 - u 𝕎 , u 𝕐 - u 𝕎 )
= a ( u 𝕐 - u 𝕎 , ϵ u ~ 𝕎 + y 𝝃 - u 𝕎 loc )
= a ( u 𝕐 - u 𝕎 , y 𝝃 ) - a ( u 𝕐 - u 𝕎 , u 𝕎 loc ) .

Then, employing (2.9) with the test function y 𝝃 𝕐 , we have

a ( u 𝕐 - u 𝕎 , y 𝝃 ) = b ( y 𝝃 ) - a ( u 𝕎 , y 𝝃 ) = ρ 𝕎 ( y 𝝃 ) .

Similarly, applying (2.1) with the test function u 𝕎 loc 𝕎 , we arrive at

- a ( u 𝕐 - u 𝕎 , u 𝕎 loc ) = - a ( u 𝕐 , u 𝕎 loc ) + b ( u 𝕎 loc ) = ρ 𝕐 ( u 𝕎 loc ) .

Combining the above equalities gives the second identity in (2.11). ∎

Remark 1 (Energy Reduction Property).

If the space 𝕐 is a local enrichment of 𝕎 loc , i.e. if 𝕎 loc 𝕐 , then ρ 𝕐 ( u 𝕎 loc ) = 0 , and the identities (2.11) simplify to

Δ e 𝕎 , 𝕐 2 = u 𝕐 - u 𝕎 𝕏 2 = ρ 𝕎 ( y 𝝃 ) ;

in particular, in this case, the error resulting from the local enrichment will not increase, or will even decrease (i.e. e 𝕎 𝕏 2 > e 𝕐 𝕏 2 ) if u 𝕐 u 𝕎 . In analogous terms, introducing the energy functional

𝖤 ( v ) := 1 2 a ( v , v ) - b ( v ) , v 𝕏 ,

and recalling the Dirichlet variational principle, we note that

𝖤 ( u 𝕎 ) = min w 𝕎 𝖤 ( w ) and 𝖤 ( u 𝕐 ) = min v 𝕐 𝖤 ( v ) ,

whence we immediately deduce the energy reduction property 𝖤 ( u 𝕐 ) 𝖤 ( u 𝕎 ) for the solutions u 𝕎 𝕎 and u 𝕐 𝕐 from (2.1) and (2.9), respectively. In the general case, when 𝕐 is a local replacement space, a minor modification of the proof of Proposition 1, see Appendix A.1, yields the identity

(2.12) Δ e 𝕎 , 𝕐 2 = u 𝕐 - u ~ 𝕎 𝕏 2 - u 𝕎 loc 𝕏 2 ,

which shows that the error is guaranteed to decrease, i.e. Δ e 𝕎 , 𝕐 2 > 0 , whenever u 𝕐 - u ~ 𝕎 𝕏 2 > u 𝕎 loc 𝕏 2 .

The hp-adaptive approach presented in Section 3 below can be seen as a local reduction strategy. We emphasize, however, that our method, in contrast to more classical approaches, always involves (at least one) global (but computationally inexpensive) mode in order to incorporate a minimal amount of global information on the underlying problem. Similar to the present section, in order to provide maximal flexibility for the choice of local spaces and associated enrichment functions in the hp-context, the theoretical building blocks will be derived in abstract form.

2.2 Linear Algebra Representation

We will now illustrate how the difference of the residuals ρ 𝕎 ( y 𝝃 ) and ρ 𝕐 ( u 𝕎 loc ) from Proposition 1 can be computed by means of linear algebra. To this end, for { ξ 1 , , ξ L } from (2.8), we introduce the matrix 𝗔 = ( A i j ) L × L with entries

(2.13)

(2.13a) A i j := a ( ξ j , ξ i ) , i , j L ¯ ,

and the (column) vectors 𝗯 , 𝗰 L , which are given component-wise by

(2.13b) b i := b ( ξ i ) , c i := a ( u ~ 𝕎 , ξ i ) , i L ¯ ,

respectively. Furthermore, we let

(2.13c) a 00 := u 𝕎 𝕏 2 - u 𝕎 loc 𝕏 2 - 2 δ with  δ := b ( u 𝕎 loc ) - u 𝕎 loc 𝕏 2 .

Remark 2.

In the finite element context, where the functions ξ 1 , , ξ L and u 𝕎 loc are supposedly local, we notice that all of the quantities defined in (2.13) are inexpensive to compute (except for the global term u 𝕎 𝕏 which, however, needs to be evaluated once only).

Proposition 2 (Low-Dimensional Computation of Error Reductions).

Suppose that dim Y = L + 1 (in particular, we implicitly assume that u ~ W 0 ), and consider the (symmetric) linear system

(2.14) ( a 00 𝗰 𝗰 𝗔 ) ( ϵ 𝘆 ) = ( δ 𝗯 - 𝗰 ) ,

with the solution components ϵ R and y R L . Then the predicted error change from Proposition 1 can be computed by means of the formula

(2.15) Δ e 𝕎 , 𝕐 2 = 𝘆 ( 𝗯 - 𝗰 ) - u 𝕎 loc 𝕏 2 + ϵ δ .

Proof.

Recalling the decomposition (2.6), we begin by noticing that

u ~ 𝕎 𝕏 2 = u 𝕎 - u 𝕎 loc 𝕏 2 = u 𝕎 𝕏 2 + u 𝕎 loc 𝕏 2 - 2 a ( u 𝕎 , u 𝕎 loc ) ,

which, upon applying (2.1) with the test function w = u 𝕎 loc , results in

(2.16) u ~ 𝕎 𝕏 2 = u 𝕎 𝕏 2 + u 𝕎 loc 𝕏 2 - 2 b ( u 𝕎 loc ) = a 00 .

Similarly, with w = u ~ 𝕎 in (2.1), we infer that

b ( u ~ 𝕎 ) - a ( u ~ 𝕎 , u ~ 𝕎 ) = a ( u 𝕎 , u ~ 𝕎 ) - a ( u ~ 𝕎 , u ~ 𝕎 ) = a ( u 𝕎 loc , u ~ 𝕎 ) = a ( u ~ 𝕎 , u 𝕎 loc ) = a ( u 𝕎 , u 𝕎 loc ) - a ( u 𝕎 loc , u 𝕎 loc )
= b ( u 𝕎 loc ) - u 𝕎 loc 𝕏 2 ,

from which we arrive at

(2.17) δ = b ( u ~ 𝕎 ) - a ( u ~ 𝕎 , u ~ 𝕎 ) = b ( u ~ 𝕎 ) - u ~ 𝕎 𝕏 2 .

Then, using (2.9) with v = u ~ 𝕎 𝕐 , and applying the representation (2.10), leads to

δ = b ( u ~ 𝕎 ) - a ( u ~ 𝕎 , u ~ 𝕎 ) = a ( u 𝕐 , u ~ 𝕎 ) - a ( u ~ 𝕎 , u ~ 𝕎 ) = ϵ a ( u ~ 𝕎 , u ~ 𝕎 ) + a ( y 𝝃 , u ~ 𝕎 ) = ϵ u ~ 𝕎 𝕏 2 + a ( y 𝝃 , u ~ 𝕎 ) ,

and equivalently, due to (2.16),

(2.18) ϵ a 00 + a ( y 𝝃 , u ~ 𝕎 ) = δ .

In addition, for i L ¯ , testing (2.9) with v = ξ i , and exploiting (2.10), yields

(2.19) ( 1 + ϵ ) a ( u ~ 𝕎 , ξ i ) + a ( y 𝝃 , ξ i ) = b ( ξ i ) for all  i L ¯ .

Therefore, applying the linear combination

(2.20) y 𝝃 = j L ¯ y j ξ j ,

for a uniquely defined coefficient vector 𝘆 := ( y 1 , , y L ) L , equations (2.18) and (2.19) transform into

ϵ a 00 + j L ¯ a ( u ~ 𝕎 , ξ j ) y j = δ ,

and

ϵ a ( u ~ 𝕎 , ξ i ) + j L ¯ a ( ξ j , ξ i ) y j = b ( ξ i ) - a ( u ~ 𝕎 , ξ i ) for all  i L ¯ ,

which is the linear system (2.14). Moreover, owing to (2.6), it holds that

ρ 𝕎 ( y 𝝃 ) = b ( y 𝝃 ) - a ( u 𝕎 , y 𝝃 ) = b ( y 𝝃 ) - a ( u ~ 𝕎 , y 𝝃 ) - a ( u 𝕎 loc , y 𝝃 ) .

In addition, invoking (2.10) and (2.1), we have

- ρ 𝕐 ( u 𝕎 loc ) = a ( u 𝕐 , u 𝕎 loc ) - b ( u 𝕎 loc )
= ( 1 + ϵ ) a ( u ~ 𝕎 , u 𝕎 loc ) + a ( y 𝝃 , u 𝕎 loc ) - a ( u 𝕎 , u 𝕎 loc )
= - a ( u 𝕎 loc , u 𝕎 loc ) + ϵ a ( u ~ 𝕎 , u 𝕎 loc ) + a ( y 𝝃 , u 𝕎 loc )
= - u 𝕎 loc 𝕏 2 + ϵ ( a ( u 𝕎 , u ~ 𝕎 ) - a ( u ~ 𝕎 , u ~ 𝕎 ) ) + a ( y 𝝃 , u 𝕎 loc )
= - u 𝕎 loc 𝕏 2 + ϵ ( b ( u ~ 𝕎 ) - u ~ 𝕎 𝕏 2 ) + a ( y 𝝃 , u 𝕎 loc ) .

Recalling (2.17) implies that

- ρ 𝕐 ( u 𝕎 loc ) = - u 𝕎 loc 𝕏 2 + ϵ δ + a ( y 𝝃 , u 𝕎 loc ) .

Thus, upon involving the linear combination (2.20), we finally obtain

ρ 𝕎 ( y 𝝃 ) - ρ 𝕐 ( u 𝕎 loc ) = b ( y 𝝃 ) - a ( u ~ 𝕎 , y 𝝃 ) - u 𝕎 loc 𝕏 2 + ϵ δ = j L ¯ y j ( b ( ξ j ) - a ( u ~ 𝕎 , ξ j ) ) - u 𝕎 loc 𝕏 2 + ϵ δ ,

which, in view of (2.11), leads to the asserted identity (2.15). ∎

2.3 Assembling Aspects

We aim to apply the abstract framework developed in the previous sections to the finite element context. For this purpose, we let 𝕏 = 𝕏 ( Ω ) be a Hilbert function space defined over a bounded open domain Ω d , d 1 . We present the assembling of the matrix 𝗔 and the vectors 𝗯 , 𝗰 occurring in the linear system (2.14) in the specific case where 𝕎 𝕏 is a subspace of finite dimension N := dim 𝕎 with the basis { ϕ 1 , , ϕ N } . Let 𝒟 be a decomposition of Ω into closed subsets K Ω , i.e.

Ω ¯ = K 𝒟 K ,

where int ( K ) int ( K ) = for any K , K 𝒟 with K K . For any K 𝒟 , consider the (local) Hilbert space consisting of all restrictions of functions v 𝕏 to K, i.e. 𝕏 K := { v | K : v 𝕏 } . Moreover, let { ζ 1 K , , ζ M K K } 𝕏 K be a set of functions such that there exist representation matrices 𝗖 K = ( c i j K ) N × M K and 𝗗 K = ( d i j K ) L × M K satisfying

(2.21) ϕ i | K = j M K ¯ c i j K ζ j K , i N ¯ ,
(2.22) ξ i | K = j M K ¯ d i j K ζ j K , i L ¯ ,

with { ξ 1 , , ξ L } from (2.8). Finally, let the bilinear form a ( , ) as well as the linear form b ( ) be decomposable in the sense that

(2.23) a ( v , w ) = K 𝒟 a K ( v | K , w | K ) , b ( v ) = K 𝒟 b K ( v | K ) for all  v , w 𝕏 ,

for some (local) bilinear forms a K : 𝕏 K × 𝕏 K and (local) linear forms b K : 𝕏 K . For any K 𝒟 we introduce the (local) matrix 𝗔 K = ( A i j K ) M K × M K with entries

A i j K := a K ( ζ j K , ζ i K ) , i , j M K ¯ ,

and the (local) vector 𝗯 K = ( b i K ) M K , which is given component-wise by

b i K := b K ( ζ i K ) , i M K ¯ .

Let 𝘂 ~ = ( u 1 , , u N ) N denote the uniquely determined coefficient vector of u ~ 𝕎 from (2.6) with respect to the basis { ϕ 1 , , ϕ N } of 𝕎 , i.e. u ~ 𝕎 = i N ¯ u i ϕ i . Note that u i = 0 for i loc . Then the matrix 𝗔 L × L and the vectors 𝗯 , 𝗰 L from the linear system (2.14) can be assembled by the (local) quantities 𝗔 K , 𝗖 K , 𝗗 K , and 𝗯 K as the following result shows.

Proposition 3 (Assembling).

The identities

(2.24) 𝗔 = K 𝒟 𝗗 K 𝗔 K 𝗗 K , 𝗯 = K 𝒟 𝗗 K 𝗯 K , 𝗰 = K 𝒟 𝗗 K 𝗔 K 𝗖 K 𝘂 ~

hold true.

Proof.

Let [ ] i j and [ ] i denote the components of a matrix or a vector, respectively. Then it holds that

[ K 𝒟 𝗗 K 𝗔 K 𝗗 K ] i j = K 𝒟 [ 𝗗 K 𝗔 K 𝗗 K ] i j = K 𝒟 ( M K ¯ k M K ¯ d i k K a K ( ζ K , ζ k K ) d j K )
= K 𝒟 a K ( M K ¯ d j K ζ K , k M K ¯ d i k K ζ k K )
= K 𝒟 a K ( ξ j | K , ξ i | K ) = a ( ξ j , ξ i ) = A i j ,

for all i , j L ¯ , cf. (2.22) and (2.23) which is the first identity. The second identity follows from

[ K 𝒟 𝗗 K 𝗯 K ] i = K 𝒟 [ 𝗗 K 𝗯 K ] i = K 𝒟 ( j M K ¯ d i j K b K ( ζ j K ) )
= K 𝒟 b K ( j M K ¯ d i j K ζ j K )
= K 𝒟 b K ( ξ i | K ) = b ( ξ i ) = b i ,

for i L ¯ . The last identity follows in an analogous way. ∎

3 Application to hp-Finite Element Spaces

For d 1 , let Ω d be a bounded interval (if d = 1 ), or a bounded and open set with a Lipschitz boundary Γ := Ω that is composed of a finite number of straight faces (if d 2 ). Furthermore, we consider a boundary part Γ D Γ of positive surface measure, and introduce an associated Hilbert space

(3.1) 𝕏 := { v H 1 ( Ω ) : v = 0  on  Γ D } ,

where H 1 ( Ω ) denotes the usual Sobolev space of all functions in L 2 ( Ω ) , with weak first-order partial derivatives in L 2 ( Ω ) .

The goal of the following subsections is to define appropriate hp-finite element approximation subspaces in 𝕏 . For this purpose, we will begin by introducing a family of hierarchical polynomial spaces on the d-dimensional hypercube signified by Q ^ := [ - 1 , 1 ] d , which will be referred to as the reference element.

3.1 Polynomial Spaces on the Reference Element

For any j 0 we introduce the 1-dimensional functions ψ j : [ - 1 , 1 ] , given by

(3.2) ψ 0 ( t ) := 1 2 ( 1 - t ) , ψ 1 ( t ) := 1 2 ( 1 + t ) , ψ j ( t ) := - 1 t L j - 1 ( s ) 𝖽 s , j 2 ,

where L j : [ - 1 , 1 ] denotes the j-th Legendre polynomial, normalized such that L j ( - 1 ) = ( - 1 ) j , j 1 ; we recall the Bonnet recursion formula

L 0 ( t ) := 1 , L 1 ( t ) := t , j L j ( t ) = ( 2 j - 1 ) t L j - 1 ( t ) - ( j - 1 ) L j - 2 ( t ) , j 2 ,

as well as the relation

ψ j ( t ) = L j ( t ) - L j - 2 ( t ) 2 j - 1 , j 2 ;

Figure 1 
                  The functions 
                        
                           
                              
                                 
                                    ψ
                                    0
                                 
                                 ,
                                 …
                                 ,
                                 
                                    ψ
                                    4
                                 
                              
                           
                           
                           {\psi_{0},\ldots,\psi_{4}}
                        
                      on 
                        
                           
                              
                                 [
                                 
                                    -
                                    1
                                 
                                 ,
                                 1
                                 ]
                              
                           
                           
                           {[-1,1]}
                        
                     .
Figure 1

The functions ψ 0 , , ψ 4 on [ - 1 , 1 ] .

see, e.g., [30, Section 3.1 and A.4]. The basis functions ψ 0 and ψ 1 are referred to as nodal or external shape functions whereas the high-order polynomials ψ j , for j 2 , are called internal modes (based on the fact that ψ j ( ± 1 ) = 0 for j 2 ). We display the functions ψ 0 , , ψ 4 in Figure 1.

Furthermore, in the multi-dimensional case, for any multi-index 𝒋 = ( j 1 , , j d ) 0 d , we define the functions ψ ^ 𝒋 : Q ^ by

(3.3) ψ ^ 𝒋 ( 𝘅 ) := k d ¯ ψ j k ( x k ) , 𝘅 = ( x 1 , , x d ) Q ^ .

Moreover, for any k , let k ( Q ^ ) := span { ψ ^ 𝒋 : 𝒋 k ¯ 0 d } signify the usual space of all polynomials up to degree k in each coordinate direction on the reference element Q ^ .

3.2 hp-Finite Element Space

The vertices of the reference element Q ^ will be labeled in terms of a multi-index notation. Specifically, to each 𝒊 { 0 , 1 } d , we associate a corresponding vertex

𝘃 ^ 𝒊 := ( 2 i 1 - 1 , , 2 i d - 1 ) .

Similarly, we consider physical elements Q Ω whose corner points are indexed by 𝘃 𝒊 d , i = 1 , , 2 d ; we call Q a transformed hexahedron if the map F Q : Q ^ Q defined by

(3.4) F Q ( 𝘅 ) := | 𝒊 | 1 ψ ^ 𝒊 ( 𝘅 ) 𝘃 𝒊 , 𝘅 = ( x 1 , , x d ) Q ^ ,

is bijective, where we write | 𝒊 | := i 1 + + i d to signify the order of a multi-index 𝒊 = ( i 1 , , i d ) 0 d . Note that it holds F Q ( 𝘃 ^ 𝒊 ) = 𝘃 𝒊 for all 𝒊 { 0 , 1 } d . The notation is illustrated in Figure 2 for the 2-dimensional case.

Example 1 ( F Q for d = 2 ).

In this case, the transformation F Q from (3.4) takes the form

F Q ( 𝘅 ) = ψ ^ 00 ( 𝘅 ) 𝘃 00 + ψ ^ 10 ( 𝘅 ) 𝘃 10 + ψ ^ 11 ( 𝘅 ) 𝘃 11 + ψ ^ 01 ( 𝘅 ) 𝘃 01 , 𝘅 = ( x 1 , x 2 ) Q ^ ,

and the tensor product functions ψ ^ 𝒊 are given by

ψ ^ 00 ( 𝘅 ) = ψ 0 ( x 1 ) ψ 0 ( x 2 ) , ψ ^ 10 ( 𝘅 ) = ψ 1 ( x 1 ) ψ 0 ( x 2 ) ,
ψ ^ 11 ( 𝘅 ) = ψ 1 ( x 1 ) ψ 1 ( x 2 ) , ψ ^ 01 ( 𝘅 ) = ψ 0 ( x 1 ) ψ 1 ( x 2 ) .

Figure 2 
                  The bijective mapping 
                        
                           
                              
                                 
                                    F
                                    Q
                                 
                                 :
                                 
                                    
                                       Q
                                       ^
                                    
                                    →
                                    Q
                                 
                              
                           
                           
                           {F_{Q}:\widehat{Q}\to Q}
                        
                      for the 2-dimensional case.
Figure 2

The bijective mapping F Q : Q ^ Q for the 2-dimensional case.

For the purpose of introducing finite element subspaces 𝕎 𝕏 , cf. (3.1), following our abstract framework in Section 2.3, we let 𝒬 be a decomposition of Ω into transformed hexahedrons with the following additional property: If Q 1 Q 2 for Q 1 , Q 2 𝒬 with Q 1 Q 2 , then Q 1 Q 2 represents a ( d - r ) -dimensional face of Q 1 or Q 2 for some r d ¯ ; we call any faces of dimension zero, one and two vertices, edges and faces, respectively. Furthermore, let us assume that there is no change of the type of boundary conditions within the ( d - r ) -dimensional faces of one element Q 𝒬 . We now define the hp-finite element space

(3.5) 𝕎 := { v 𝕏 : v | Q F Q p Q ( Q ^ ) for all  Q 𝒬 } ,

associated with the decomposition 𝒬 of Ω, where p Q 1 represents an (isotropic) local polynomial degree on each element Q 𝒬 .

3.3 Constraint Coefficients

In the adaptive finite element procedure we shall represent the functions ψ ^ 𝒊 from (3.3), defined on the reference element Q ^ , in terms of functions defined on sub-hexahedra of Q ^ . These representations can be computed efficiently by means of so-called constraint coefficients, see [7, 26]. To explain this concept, consider a sub-hexahedron

(3.6) T := k d ¯ I k Q ^ ,

where I k = [ a k , b k ] , - 1 a k < b k 1 , are 1-dimensional intervals for each k d ¯ . Then we define the functions

(3.7) ψ ~ 𝒋 : T , ψ ~ 𝒋 := ψ ^ 𝒋 F T - 1 , 𝒋 0 ,

with the bijective element map F T : Q ^ T , cf. (3.4). Here, due to the tensor structure (3.6) of T, we emphasize that F T is the composition of a dilation and a translation, wherefore we observe the identity

(3.8) ψ ~ 𝒋 = k d ¯ ( ψ j k F I k - 1 ) .

In particular, we infer that the functions ψ ~ 𝒋 in (3.7) constitute a polynomial basis on T. Therefore, there exist uniquely determined constraint coefficients b 𝒊 𝒋 T such that

(3.9) ψ ^ 𝒊 | T = 𝒋 𝒊 b 𝒊 𝒋 T ψ ~ 𝒋 = 𝒋 𝒊 b 𝒊 𝒋 T ( ψ ^ 𝒋 F T - 1 ) , 𝒊 0 d ,

where the sums are taken over all multi-indices 𝒋 = ( j 1 , , j d ) 0 d with j k i k for all k d ¯ .

Example 2 ( d = 1 ).

In Figure 3 we illustrate how the restriction of the 1-dimensional function ψ 2 to the interval I = [ - 1 , 0 ] can be expressed in terms of the functions ψ ~ 0 , ψ ~ 1 , and ψ ~ 2 .

The ensuing result shows that the multi-dimensional constraint coefficients can be expressed in terms of tensor-products of the associated 1-dimensional quantities for which recursion formulas are stated in the Appendix.

Lemma 1.

For 𝐢 , 𝐣 N 0 d , the constraint coefficients b 𝐢 𝐣 T from (3.9) are given by

b 𝒊 𝒋 T = k d ¯ b i k , j k I k ,

where T is the sub-hexahedra from (3.6) and b i k , j k I k are the uniquely determined 1-dimensional constraint coefficients from

ψ i k | I k = j k = 0 i k b i k , j k I k ( ψ j k F I k - 1 ) .

Figure 3 
                  The restriction of 
                        
                           
                              
                                 ψ
                                 2
                              
                           
                           
                           {\psi_{2}}
                        
                      to I in terms of the functions 
                        
                           
                              
                                 
                                    
                                       ψ
                                       ~
                                    
                                    0
                                 
                                 ,
                                 
                                    
                                       ψ
                                       ~
                                    
                                    1
                                 
                                 ,
                                 
                                    
                                       ψ
                                       ~
                                    
                                    2
                                 
                              
                           
                           
                           {\widetilde{\psi}_{0},\widetilde{\psi}_{1},\widetilde{\psi}_{2}}
                        
                      in the 1-dimensional case.
Figure 3

The restriction of ψ 2 to I in terms of the functions ψ ~ 0 , ψ ~ 1 , ψ ~ 2 in the 1-dimensional case.

Proof.

The argument is based on exploiting the tensor structure of Q ^ and T, and of the functions ψ ^ 𝒊 . Indeed, for 𝒊 = ( i 1 , , i d ) 0 d , using (3.3) and (3.6), and applying the representation (3.9) in the 1-dimensional case, we obtain that

ψ ^ 𝒊 | T = k d ¯ ψ i k | I k = k d ¯ ( j k i k b i k , j k I k ( ψ j k F I k - 1 ) ) .

Then rearranging terms yields

ψ ^ 𝒊 | T = 𝒋 𝒊 ( k d ¯ b i k , j k I k ( ψ j k F I k - 1 ) ) = 𝒋 𝒊 ( k d ¯ b i k , j k I k k d ¯ ( ψ j k F I k - 1 ) ) .

Owing to (3.8), we conclude that

ψ ^ 𝒊 | T = 𝒋 𝒊 ( k d ¯ b i k , j k I k ) ψ ~ 𝒋 .

The assertion follows from the uniqueness of the coefficients in (3.9). ∎

3.4 Enrichment Functions Associated with Individual Elements

We will characterize refinements of elements Q 𝒬 in a given mesh 𝒬 via corresponding refinements of the reference element Q ^ . To this end, given a (fixed) point 𝘇 ^ ( - 1 , 1 ) d in the interior of Q ^ , we call a decomposition ( Q ^ ) of Q ^ into the 2 d sub-hexahedra

T ^ 𝒊 := k d ¯ [ a k 𝒊 , b k 𝒊 ] , 𝒊 = ( i 1 , , i d ) { 0 , 1 } d ,

with

a k 𝒊 := min { 2 i k - 1 , z k } , b k 𝒊 := max { 2 i k - 1 , z k } , k d ¯ ,

a refinement of Q ^ with respect to 𝘇 ^ = ( z 1 , , z d ) .

Let us now focus on some element Q 𝒬 . To introduce a refinement of Q, we consider first a refinement ( Q ^ ) of Q ^ with respect to 𝘇 ^ ( - 1 , 1 ) d , as outlined above, and define

( Q ) := { T 𝒊 : 𝒊 { 0 , 1 } d } , T 𝒊 := F Q ( T ^ 𝒊 ) .

Figure 4 
                  A refinement of the reference element 
                        
                           
                              
                                 Q
                                 ^
                              
                           
                           
                           {\widehat{Q}}
                        
                      with respect to 
                        
                           
                              
                                 
                                    𝘇
                                    ^
                                 
                                 =
                                 
                                    
                                       (
                                       
                                          z
                                          1
                                       
                                       ,
                                       
                                          z
                                          2
                                       
                                       )
                                    
                                    ⊤
                                 
                                 ∈
                                 
                                    
                                       (
                                       
                                          -
                                          1
                                       
                                       ,
                                       1
                                       )
                                    
                                    2
                                 
                              
                           
                           
                           {\widehat{\boldsymbol{\mathsf{z}}}=(z_{1},z_{2})^{\top}\in(-1,1)^{2}}
                        
                      and the corresponding refinement of the element 
                        
                           
                              
                                 Q
                                 =
                                 
                                    
                                       F
                                       Q
                                    
                                    ⁢
                                    
                                       (
                                       
                                          Q
                                          ^
                                       
                                       )
                                    
                                 
                              
                           
                           
                           {Q=F_{Q}(\widehat{Q})}
                        
                     .
Figure 4

A refinement of the reference element Q ^ with respect to 𝘇 ^ = ( z 1 , z 2 ) ( - 1 , 1 ) 2 and the corresponding refinement of the element Q = F Q ( Q ^ ) .

We display an illustration of the 2-dimensional situation in Figure 4. Note that the multi-index 𝒊 encodes the location of the sub-hexahedra T 𝒊 with respect to the Cartesian reference coordinate system in Q ^ ; in fact, the k-th entry of 𝒊 classifies whether T ^ 𝒊 lies in the left (if i k = 0 ) or the right (if i k = 1 ) half of Q with respect to 𝘇 ^ along the k-th axial direction. Finally, let us denote by 𝒯 the resulting mesh when replacing the element Q by its refinement ( Q ) , i.e. 𝒯 := ( 𝒬 { Q } ) ( Q ) .

3.4.1 Enrichment Strategies on a Single Element

For an element Q 𝒬 with an associated polynomial degree p Q , two types of local enrichment functions ξ 1 , , ξ L , cf. (2.8), will be considered:

  1. For the definition of p-enrichment functions on Q , we consider polynomials on the reference element Q ^ , with polynomial degrees larger than p Q , and transform them to the physical element Q.

  2. For the construction of hp-enrichment functions on Q , we consider polynomials on the sub-hexahedra T ^ 𝒊 ( Q ^ ) , 𝒊 { 0 , 1 } d , of a refinement ( Q ^ ) of Q ^ with respect to some 𝘇 ^ ( - 1 , 1 ) d , which are then transformed to Q.

We give an illustration of these two scenarios for the p-enrichment or hp-refinement of a 1-dimensional element in Figure 5. The polynomial functions resulting from the above mappings from Q ^ or from sub-hexahedra of Q ^ to Q will be termed transformed polynomials.

Figure 5 
                     A p-enrichment (left) vs. an hp-refinement (right). In both figures the discrete solution 
                           
                              
                                 
                                    u
                                    𝕎
                                 
                              
                              
                              {u_{\mathbb{W}}}
                           
                         is highlighted in blue, the in each case four enrichment functions are depicted in magenta and the basis 
                           
                              
                                 
                                    {
                                    
                                       ϕ
                                       1
                                    
                                    ,
                                    …
                                    ,
                                    
                                       ϕ
                                       N
                                    
                                    }
                                 
                              
                              
                              {\{\phi_{1},\ldots,\phi_{N}\}}
                           
                         of 
                           
                              
                                 𝕎
                              
                              
                              {\mathbb{W}}
                           
                         is indicated in dotted lines.
Figure 5 
                     A p-enrichment (left) vs. an hp-refinement (right). In both figures the discrete solution 
                           
                              
                                 
                                    u
                                    𝕎
                                 
                              
                              
                              {u_{\mathbb{W}}}
                           
                         is highlighted in blue, the in each case four enrichment functions are depicted in magenta and the basis 
                           
                              
                                 
                                    {
                                    
                                       ϕ
                                       1
                                    
                                    ,
                                    …
                                    ,
                                    
                                       ϕ
                                       N
                                    
                                    }
                                 
                              
                              
                              {\{\phi_{1},\ldots,\phi_{N}\}}
                           
                         of 
                           
                              
                                 𝕎
                              
                              
                              {\mathbb{W}}
                           
                         is indicated in dotted lines.
Figure 5

A p-enrichment (left) vs. an hp-refinement (right). In both figures the discrete solution u 𝕎 is highlighted in blue, the in each case four enrichment functions are depicted in magenta and the basis { ϕ 1 , , ϕ N } of 𝕎 is indicated in dotted lines.

In the hp-adaptive procedure described in Section 4 we aim to compare different p-enrichments and hp-refinements on Q; in particular competitive refinements, cf. [20], where different enrichments, which generate the same number of degrees of freedom, are compared with each other in view of a maximal potential predicted error reduction. We will express both, the hp-enrichment functions (given on the subelements T 𝒊 ( Q ) ) as well as the p-enrichment functions (given on Q) in terms of the transformed polynomials ζ 𝒋 𝒊 : T 𝒊 ,

(3.10) ζ 𝒋 𝒊 ( 𝘅 ) := ψ ^ 𝒋 F 𝒊 - 1 ( 𝘅 ) , 𝘅 T 𝒊 ,

for any 𝒋 0 d and 𝒊 { 0 , 1 } d . For ease of notation, we write F 𝒊 for the bijective mapping F T 𝒊 : Q ^ T 𝒊 , cf. (3.4); similarly, we denote by 𝗔 𝒊 , 𝗖 𝒊 , 𝗗 𝒊 , and 𝗯 𝒊 the local quantities 𝗔 T 𝒊 , 𝗖 T 𝒊 , 𝗗 T 𝒊 and 𝗯 T 𝒊 from Section 2.3. We emphasize that the quantities 𝗔 𝒊 , 𝗖 𝒊 and 𝗯 𝒊 , for each of the different enrichments on Q to be compared, need to be computed once only.

3.4.2 p-Enrichments on Q

For any multi-index 𝒋 = ( j 1 , , j d ) 0 d , let us introduce the functions ξ 𝒋 : Ω by

(3.11) ξ 𝒋 ( 𝘅 ) := { ψ ^ 𝒋 F Q - 1 ( 𝘅 ) if  𝘅 Q , 0 if  𝘅 Ω Q .

For the p-enrichments on Q we choose a finite subset of the functions

(3.12) 𝔈 p = { ξ 𝒋 : 𝒋 𝑱 d } ,

for some index set

𝑱 d { 𝒋 0 d : j k 2  for  k d ¯ } with  | 𝑱 d | = L < .

We emphasize that we exclusively consider transformed (higher-order bubble-type) polynomials that vanish along the boundary of Q; cf. Remark 7 below for some generalizations to patches. In particular, we have the following result:

Proposition 4.

Any ξ E p is continuous on Ω, and it holds supp ( ξ ) = Q .

Obviously, there are various possibilities to choose appropriate p-enrichment functions. For instance, if we select all transformed polynomials up to a certain polynomial degree p max > p Q , we have 𝑱 d = { 2 , , p max } d , whereas for the so-called hierarchical surplus we choose

𝑱 d = { 𝒋 { 2 , , p max } d : | 𝒋 | p Q + 2 } .

3.4.3 hp-Enrichment Functions on Q

In the case of hp-refinements, we construct local enrichment functions that can be associated with those r-dimensional faces of the refinement ( Q ) which do not lie on the boundary Q . We will call such faces internal nodes of the refinement ( Q ) . In this sense, the vertex F Q ( 𝘇 ^ ) is the only 0-dimensional internal node of ( Q ) , edges in the interior of Q are the 1-dimensional internal nodes of ( Q ) , and the elements T 𝒊 , for 𝒊 { 0 , 1 } d , represent the d-dimensional internal nodes of ( Q ) .

Indexing of Internal Nodes.

Any r-dimensional internal node of ( Q ) , r d ¯ 0 , can be identified uniquely by r axial directions of Q ^ , which are represented by an orientation tuple

𝒂 D r := { ( a 1 , , a r ) d ¯ r : a 1 < < a r } ,

together with a location tuple { 0 , 1 } r that fixes its position with respect to the center point F Q ( 𝘇 ^ ) . For any 𝒂 = ( a 1 , , a r ) D r , let us denote by A ( 𝒂 ) the set of its components, i.e. A ( 𝒂 ) := { a k : k r ¯ } . Note that a tuple 𝒂 D r describes the orientation (and, implicitly, contains the dimension r) of an internal node with respect to the Cartesian reference coordinate system in Q ^ = F Q - 1 ( Q ) . Moreover, the k-th entry of the location tuple = ( 1 , , r ) { 0 , 1 } d defines whether an internal node with orientation 𝒂 = ( a 1 , , a r ) lies in the left (if k = 0 ) or in the right (if k = 1 ) half of the refinement ( Q ) along the k-th axial direction of the reference coordinate system in Q ^ = F Q - 1 ( Q ) . Observe further that, for any d 1 , the only 0-dimensional internal node of ( Q ) is represented by the empty tuples 𝒂 = ( ) and = ( ) .

Example 3 (Internal Nodes for the 3-Dimensional Case).

The 0-dimension center point is given by the empty tuples 𝒂 = ( ) and = ( ) . For the 1-dimensional edges of ( Q ^ ) there are three orientations, namely parallel to any of the x-, y- or z-axes; they are described by 𝒂 = ( 1 ) , 𝒂 = ( 2 ) , and 𝒂 = ( 3 ) , respectively. Moreover, there are three orientations for 2-dimensional faces, namely parallel to any of the xy-, xz- or yz-planes; they correspond to the orientation pairs 𝒂 = ( 1 , 2 ) , 𝒂 = ( 1 , 3 ) , and 𝒂 = ( 2 , 3 ) , respectively. Finally, there is a single orientation triple for the eight full-dimensional elements T ^ 𝒊 given by 𝒂 = ( 1 , 2 , 3 ) . For the interpretation of the location tuple, let us consider, for instance, the four internal nodes of dimension 2, which are parallel to the xy-plane, i.e. with orientation 𝒂 = ( 1 , 2 ) ; they are highlighted in Figure 6 (left), and their possible locations are represented by the location pairs listed in Table 1. To give a further example, the left 1-dimensional internal node in x-direction of ( Q ) , highlighted in Figure 6 (right) is characterized by 𝒂 = ( 1 ) and = ( 0 ) .

Figure 6 
                              Illustration for Example 3: 3-dimensional example of a refinement 
                                    
                                       
                                          
                                             ℛ
                                             ⁢
                                             
                                                (
                                                Q
                                                )
                                             
                                          
                                       
                                       
                                       {\mathcal{R}(Q)}
                                    
                                 .
Figure 6 
                              Illustration for Example 3: 3-dimensional example of a refinement 
                                    
                                       
                                          
                                             ℛ
                                             ⁢
                                             
                                                (
                                                Q
                                                )
                                             
                                          
                                       
                                       
                                       {\mathcal{R}(Q)}
                                    
                                 .
Figure 6

Illustration for Example 3: 3-dimensional example of a refinement ( Q ) .

Table 1

Possible locations for interior 2-dimensional faces parallel to the xy-plane in the refinement of an element Q, all with orientation tuple 𝒂 = ( 1 , 2 ) .

Location Tuple Location in Refinement ( Q )
= ( 0 , 0 ) left half in x-, left half in y-direction
= ( 1 , 0 ) right half in x-, left half in y-direction
= ( 0 , 1 ) left half in x-, right half in y-direction
= ( 1 , 1 ) right half in x-, right half in y-direction

For any r d ¯ 0 , let us introduce the set

𝒩 r := { 𝒏 = ( 𝒂 , ) : 𝒂 = ( a 1 , , a r ) D r  and  = ( 1 , , r ) { 0 , 1 } r }

of all r-dimensional internal nodes in ( Q ) ; note that the cardinality of 𝒩 r is given by

| 𝒩 r | = 2 r ( d r ) .

Furthermore, we signify by 𝒩 := r d ¯ 0 𝒩 r the collection of all internal nodes of any dimension r = 0 , , d in ( Q ) . In addition, for any 𝒏 = ( 𝒂 , ) 𝒩 , we define

𝑰 ( 𝒏 ) := { 𝒊 = ( i 1 , , i d ) { 0 , 1 } d : i k = k  for each  k A ( 𝒂 ) }

to be the set of all multi-indices 𝒊 { 0 , 1 } d corresponding to elements T 𝒊 ( Q ) that share the internal node 𝒏 .

Example 4 ( I ( n ) for 3-Dimensional Example).

In the setting of Example 3, let us consider once more the 1-dimensional edge, which is given by the orientation and location tuples 𝒂 = ( 1 ) and the = ( 0 ) . Then the indices of all 3-dimensional elements T 𝒊 ( Q ) sharing the internal node 𝒏 = { ( ( 1 ) , ( 0 ) ) } 𝒩 1 , which are highlighted in Figure 7, are collected in the set 𝑰 ( 𝒏 ) = { ( 0 ¯ , 0 , 0 ) , ( 0 ¯ , 1 , 0 ) , ( 0 ¯ , 1 , 1 ) , ( 0 ¯ , 0 , 1 ) } .

Figure 7 
                              Illustration for Example 4: 1-dimensional edge in a 3D refinement.
Figure 7

Illustration for Example 4: 1-dimensional edge in a 3D refinement.

hp-Enrichment Functions on Q.

Let 𝒏 = ( 𝒂 , ) 𝒩 r be an internal node of ( Q ) , for some r d ¯ 0 , and consider an associated polynomial distribution

𝒑 = ( p 1 , , p r ) { 𝒑 0 r : p k 2  for  k r ¯ } ;

here, the entry p k corresponds to the coordinate direction k A ( 𝒂 ) of 𝒏 . Then, for each 𝒊 𝑰 ( 𝒏 ) , we introduce a d-tuple 𝒋 ( 𝒊 , 𝒑 ) = ( j 1 , , j d ) 0 d component-wise by

(3.13) j k := { p k if  k A ( 𝒂 ) , 1 - i k if  k A ( 𝒂 ) .

Let us now define functions ξ 𝒏 , 𝒑 : Ω , which are associated with the r-dimensional internal node 𝒏 , by

(3.14) ξ 𝒏 , 𝒑 ( 𝘅 ) := { ζ 𝒋 ( 𝒊 , 𝒑 ) 𝒊 ( 𝘅 ) if  𝘅 T 𝒊  for  𝒊 𝑰 ( 𝒏 ) , 0 if  𝘅 Ω T ( 𝒏 ) ,

where

(3.15) T ( 𝒏 ) := 𝒊 𝑰 ( 𝒏 ) T 𝒊

represents the support of the functions ξ 𝒏 , 𝒑 . As hp-enrichment functions we choose finitely many such functions. More precisely, for any internal node 𝒏 = ( 𝒂 , ) 𝒩 r , r d ¯ 0 , we select a finite set

𝑷 ( 𝒏 ) { 𝒑 0 r : p k 2  for  k r ¯ } ,

and let

(3.16) 𝔈 h p := 𝒏 𝒩 𝔈 h p , 𝒏 with  𝔈 h p , 𝒏 := { ξ 𝒏 , 𝒑 : 𝒑 𝑷 ( 𝒏 ) } .

For the single 0-dimensional internal node of ( Q ) , represented by 𝒏 = ( ( ) , ( ) ) , we note that 𝑷 ( 𝒏 ) = { ( ) } ; hence, the only hp-enrichment function ξ 𝒏 , 𝒑 associated with this node is given by

ξ ( ( ) , ( ) ) , ( ) ( 𝘅 ) = { ζ 𝟭 - 𝒊 𝒊 ( 𝘅 ) if  𝘅 T 𝒊  for  𝒊 { 0 , 1 } d , 0 if  𝘅 Ω T ( 𝒏 ) ,

where 𝟏 = ( 1 , , 1 ) d .

Proposition 5.

Any ξ 𝐧 , 𝐩 E h p is continuous in Ω, and it holds supp ( ξ 𝐧 , 𝐩 ) = T ( 𝐧 ) .

Proof.

Let ξ 𝒏 , 𝒑 𝔈 h p , 𝒏 with 𝔈 h p , 𝒏 from (3.16), be an arbitrary hp-enrichment function, for some 𝒏 = ( 𝒂 , ) 𝒩 r , r d ¯ 0 , and 𝒑 𝑷 ( 𝒏 ) . Let us denote by f 𝒏 := 𝒊 𝑰 ( 𝒏 ) T 𝒊 the r-dimensional internal node of the refinement ( Q ) characterized by 𝒏 . Noticing that

ξ 𝒏 , 𝒑 | T 𝒊 = ζ 𝒋 ( 𝒊 , 𝒑 ) 𝒊 = ψ ^ 𝒋 ( 𝒊 , 𝒑 ) F 𝒊 - 1 for all  𝒊 𝑰 ( 𝒏 ) ,

and ξ 𝒏 , 𝒑 | T 𝒊 0 on elements T 𝒊 with 𝒊 { 0 , 1 } d 𝑰 ( 𝒏 ) as well as on Ω Q by (3.14), we immediately obtain the continuity of the function ξ 𝒏 , 𝒑 on the interior of the subelements T 𝒊 , for 𝒊 𝑰 ( 𝒏 ) , and on Ω T ( 𝒏 ) . Furthermore, we have supp ( ξ 𝒏 , 𝒑 ) = T ( 𝒏 ) , cf. (3.15). Thus, in order to prove the continuity of ξ 𝒏 , 𝒑 on Ω, we need to show that ξ 𝒏 , 𝒑 0 on the boundary T ( 𝒏 ) of the support T ( 𝒏 ) , and that the functions ζ 𝒋 ( 𝒊 , 𝒑 ) 𝒊 , for any 𝒊 𝑰 ( 𝒏 ) , coincide on the r-dimensional face f 𝒏 .

Since 𝒑 = ( p 1 , , p r ) 𝑷 ( 𝒏 ) , we have p k 2 for any k r ¯ . Hence, it holds that j k , 𝒊 2  for  k A ( 𝒂 ) , and j k , 𝒊 { 0 , 1 }  for  k A ( 𝒂 ) , where the indices ( j 1 , 𝒊 , , j d , 𝒊 ) = 𝒋 ( 𝒊 , 𝒑 ) 0 d are defined in (3.13). To ensure that the functions

(3.17) ζ 𝒋 ( 𝒊 , 𝒑 ) 𝒊 ( 𝘅 ) = k d ¯ ψ j k , 𝒊 ( x ^ k ) , 𝘅 ^ = ( x ^ 1 , , x ^ d ) = F 𝒊 - 1 ( 𝘅 ) , 𝒊 𝑰 ( 𝒏 ) ,

with the 1-dimensional functions ψ k from (3.2), coincide for 𝘅 = ( x 1 , , x d ) f 𝒏 , we first show that ψ j k , 𝒊 ( x ^ k ) = 1 for any k A ( 𝒂 ) . Indeed, for 𝒊 = ( i 1 , , i d ) 𝑰 ( 𝒏 ) we have

(3.18) f 𝒏 = { F 𝒊 ( 𝘅 ^ ) : 𝘅 ^ = ( x ^ 1 , , x ^ d ) Q ^  and  x ^ k = 1 - 2 i k  for  k A ( 𝒂 ) } ,

and because of

j k , 𝒊 = { 1 if  i k = 0 , 0 if  i k = 1 , k A ( 𝒂 ) ,

cf. (3.13), we obtain

ψ j k , 𝒊 ( x ^ k ) = { ψ 1 ( 1 ) = 1 if  i k = 0 , ψ 0 ( - 1 ) = 1 if  i k = 1 , k A ( 𝒂 ) ,

owing to (3.2) and (3.18). Next, for k A ( 𝒂 ) it holds that ψ j k , 𝒊 ( x ^ k ) = ψ p k ( x ^ k ) , cf. (3.13). Thus,

ζ 𝒋 ( 𝒊 , 𝒑 ) 𝒊 ( 𝘅 ) = k A ( 𝒂 ) ψ p k ( x ^ k ) , 𝒊 𝑰 ( 𝒏 ) ,

which shows the continuity of the enrichment function ξ 𝒏 , 𝒑 in the interior of the support T ( 𝒏 ) . Finally, we observe that ψ 0 ( 1 ) = ψ 1 ( - 1 ) = 0 , and ψ j ( ± 1 ) = 0 , for any j with j 2 . Then exploiting that

T ( 𝒏 ) f 𝒏 = 𝒊 𝑰 ( 𝒏 ) { F 𝒊 ( 𝘅 ^ ) : 𝘅 ^ Q ^  and  k A ( 𝒂 ) : x ^ k = ± 1 k A ( 𝒂 ) : x ^ k = 2 i k - 1 } ,

and applying (3.17), we arrive at ζ 𝒋 ( 𝒊 , 𝒑 ) 𝒊 ( 𝘅 ) = 0 , for any 𝘅 T ( 𝒏 ) f 𝒏 , 𝒊 𝑰 ( 𝒏 ) , This completes the argument. ∎

Remark 3 ( P ( n ) for Uniform Polynomial Degrees).

Again, there are various possibilities to specify hp-enrichment functions. Note that in the definition of 𝔈 h p , the maximal polynomial degree can differ on each node 𝒏 𝒩 , however, we could also consider the special case of a uniform polynomial degree distribution p unif { 2 , , p max } on each element T 𝒊 ( Q ) , 𝒊 { 0 , 1 } d , obtained by choosing 𝑷 ( 𝒏 ) = { 2 , , p unif } r for any 𝒏 𝒩 r , r d ¯ ; see Example 5 below for further comments on this particular choice.

3.5 Representation Matrices

Owing to the previous Propositions 4 and 5 the sum over all elements K of a general decomposition 𝒟 in (2.24) reduces to a sum over all elements T 𝒊 in the refinement ( Q ) in our case. In particular, the representation matrices 𝗖 𝒊 and 𝗗 𝒊 , see the notation in Section 3.4.1, need to be specified only for all T 𝒊 ( Q ) , 𝒊 { 0 , 1 } d . Recalling Proposition 3, we remark that these (local) quantities, in turn, are required to assemble the matrix 𝗔 and the vectors 𝗯 , 𝗰 occurring in the linear system (2.14).

In order to compute the matrices 𝗖 𝒊 and 𝗗 𝒊 on each element T 𝒊 ( Q ) , 𝒊 { 0 , 1 } d , we employ the constraint coefficients technique from Section 3.3. To this end, let 𝔈 Q := { ξ 1 , , ξ L } be a set of p- or hp-enrichment functions on Q. On each T 𝒊 ( Q ) , 𝒊 { 0 , 1 } d , for 𝒋 { 0 , , p max } d , we consider the functions ζ 𝒋 𝒊 from (3.10), which we enumerate by the bijective map ι : { 0 , , p max } d M ¯ , with M := ( p max + 1 ) d , given by

(3.19) ι ( 𝒋 ) := 1 + k d ¯ ( p max + 1 ) k - 1 j k , 𝒋 = ( j 1 , , j d ) ,

i.e. we apply the renumbering ζ ι ( 𝒋 ) 𝒊 := ζ 𝒋 𝒊 , for 𝒋 { 0 , , p max } d . Note that the functions { ζ 1 𝒊 , , ζ M 𝒊 } , extended by zero to Ω, are discontinuous and represent a basis of a (local) discontinuous Galerkin space on ( Q ) . Given a basis { ϕ 1 , , ϕ N } of the finite element space 𝕎 , cf. (3.5), recall that the components of the matrix 𝗖 𝒊 = ( c k l 𝒊 ) N × M , for 𝒊 { 0 , 1 } d , cf. (2.21), are determined by

ϕ k | T 𝒊 = l M ¯ c k l 𝒊 ζ l 𝒊 , k N ¯ ,

and the components of 𝗗 𝒊 = ( d k l 𝒊 ) L × M , 𝒊 { 0 , 1 } d , cf. (2.22), are given by

(3.20) ξ k | T 𝒊 = l M ¯ d k l 𝒊 ζ l 𝒊 , k L ¯ .

3.5.1 Computation of the Matrices 𝗖 𝒊

On an element Q 𝒬 , for any 𝒋 { 0 , , p max } d , we introduce the functions ψ 1 Q , , ψ M Q by

ψ ι ( 𝒋 ) Q ( 𝘅 ) := ψ ^ 𝒋 F Q - 1 ( 𝘅 ) , 𝘅 Q ,

with the bijective map ι from (3.19). Furthermore, let 𝗖 Q = ( c k l Q ) N × M denote the representation matrix, for which it holds

ϕ k | Q = l M ¯ c k l Q ψ l Q , k N ¯ .

Finally, for any 𝒊 { 0 , 1 } d , let us define the matrix 𝗕 𝒊 = ( b k l 𝒊 ) M × M component-wise by b k l 𝒊 := b 𝒌 𝒍 T 𝒊 , where k = ι ( 𝒌 ) , l = ι ( 𝒍 ) , for any 𝒌 , 𝒍 { 0 , , p max } d , and b 𝒌 𝒍 T 𝒊 are the constrained coefficients from (3.9).

Proposition 6.

For any 𝐢 { 0 , 1 } d it holds that C 𝐢 = C Q B 𝐢 .

Proof.

For any k N ¯ , we have

ϕ k | Q = l M ¯ c k l Q ψ l Q = l M ¯ c k l Q ( ψ ^ l F Q - 1 ) .

Therefore, we infer that

ϕ k | T 𝒊 F Q = l M ¯ c k l Q ψ ^ l | T ^ 𝒊 , 𝒊 { 0 , 1 } d .

Denoting by F ^ 𝒊 : Q ^ T ^ 𝒊 the bijective map from Q ^ to the sub-hexahedron T ^ 𝒊 , and noting that F 𝒊 = F Q F ^ 𝒊 , the restrictions to T ^ 𝒊 can be represented by

ψ ^ l | T ^ 𝒊 = r M ¯ b 𝒍 𝒓 T 𝒊 ( ψ ^ r F ^ 𝒊 - 1 )

for any 𝒊 { 0 , 1 } d , cf. (3.9), where 𝒍 = ι - 1 ( l ) and 𝒓 = ι - 1 ( r ) . Thus,

ϕ k | T 𝒊 = l M ¯ c k l Q r M ¯ b 𝒍 𝒓 T 𝒊 ( ψ ^ r F ^ 𝒊 - 1 F Q - 1 ) = l M ¯ c k l Q r M ¯ b 𝒍 𝒓 T 𝒊 ( ψ ^ r F 𝒊 - 1 ) .

Since ζ r 𝒊 = ψ ^ r F 𝒊 - 1 , we obtain

ϕ k | T 𝒊 = l M ¯ c k l Q r M ¯ b 𝒍 𝒓 T 𝒊 ζ r 𝒊 = r M ¯ ( l M ¯ c k l Q b 𝒍 𝒓 T 𝒊 ) ζ r 𝒊 ,

from which we deduce

c k r 𝒊 = l M ¯ c k l Q b 𝒍 𝒓 T 𝒊

for any k N ¯ and r M ¯ . Thus, 𝗖 𝒊 = 𝗖 Q 𝗕 𝒊 for any 𝒊 { 0 , 1 } d . ∎

3.5.2 Computation of 𝗗 𝒊 for a p-Enrichment on Q

In this case the enrichment functions 𝔈 p = { ξ 1 , , ξ L } represent a certain collection of the functions ξ 𝒋 in (3.11), with 𝒋 from a multi-index set

𝑱 d { 𝒋 0 d : j k 2  for  k d ¯ } , | 𝑱 d | = L .

As in the previous section, we apply a renumbering ξ κ ( 𝒋 ) := ξ 𝒋 in terms of a bijective map κ : 𝑱 d L ¯ ; for instance, if we choose 𝑱 d := { 2 , , p max } d , then the resulting p-enrichment functions ξ 1 , , ξ L , with L = ( p max - 1 ) d , can be enumerated by

κ ( 𝒋 ) := 1 + k d ¯ ( p max - 1 ) k - 1 ( j k - 2 ) , 𝒋 = ( j 1 , , j d ) .

Proposition 7.

For any 𝐢 { 0 , 1 } d , the matrix D 𝐢 R L × M is given component-wise by d k l 𝐢 = b 𝐤 𝐥 T 𝐢 for k = κ ( 𝐤 ) and l = ι ( 𝐥 ) .

Proof.

By the definition (3.11) of p-enrichment functions we have ξ k | T 𝒊 = ψ ^ k | T ^ 𝒊 F Q for 𝒊 { 0 , 1 } d and any k L ¯ . Hence, using the bijective map F ^ 𝒊 : Q ^ T ^ 𝒊 , we obtain

ψ ^ k | T ^ 𝒊 = l M ¯ d k l 𝒊 ( ζ l 𝒊 F Q - 1 ) = l M ¯ d k l 𝒊 ( ψ ^ l F 𝒊 - 1 F Q - 1 ) = l M ¯ d k l 𝒊 ( ψ ^ l F ^ 𝒊 - 1 )

by the representation (3.20). Hence, by virtue of (3.9), we arrive at d k l 𝒊 = b 𝒌 𝒍 T 𝒊 for k = κ ( 𝒌 ) and l = ι ( 𝒍 ) . ∎

3.5.3 Computation of 𝗗 𝒊 for an hp-Refinement on Q

We consider hp-enrichment functions 𝔈 h p = { ξ 1 , , ξ L } from a certain selection of functions ξ 𝒏 , 𝒑 in (3.14). Here, each 𝒏 = ( 𝒂 , ) 𝒩 corresponds to an internal node of the refinement ( Q ) , which is characterized by the tuples 𝒂 D r and { 0 , 1 } r , for some r d ¯ 0 , cf. Section 3.4.3. Moreover, 𝒑 𝑷 ( 𝒏 ) represents the polynomial distribution for the directions k A ( 𝒂 ) , where

𝑷 ( 𝒏 ) { 𝒑 0 r : p k 2  for  k r ¯ } with  | 𝑷 ( 𝒏 ) | < .

Given a polynomial degree distribution ( p 𝒊 ) 𝒊 { 0 , 1 } d on the subelements T 𝒊 ( Q ) , with p 𝒊 { 1 , , p max } , we can associate a nodal polynomial degree p 𝒏 to any node 𝒏 𝒩 r , with r d ¯ , by means of the minimum-rule

p 𝒏 := min 𝒊 T ( 𝒏 ) p 𝒊

In that case, for any node 𝒏 𝒩 r , we set 𝑷 ( 𝒏 ) = { 2 , , p 𝒏 } r (with the convention 𝑷 ( ( ( ) , ( ) ) ) = { ( ) } for r = 0 ), and we can enumerate the functions ξ 𝒏 , 𝒑 in terms of a bijective map ν : { ( 𝒏 , 𝒑 ) : 𝒏 𝒩 , 𝒑 𝑷 ( 𝒏 ) } L ¯ .

Proposition 8.

For any 𝐢 { 0 , 1 } d the matrix D 𝐢 R L × M is given component-wise by

d k l 𝒊 = { 1 if  ξ 𝒏 , 𝒑 = ζ 𝒋 𝒊 , 0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 ,

for k = ν ( 𝐧 , 𝐩 ) and l = ι ( 𝐣 ) .

Proof.

By the definition (3.14) of hp-enrichment functions, we have

ξ 𝒏 , 𝒑 | T 𝒊 = ζ 𝒋 ( 𝒊 , 𝒑 ) 𝒊

for any 𝒊 𝑰 ( 𝒏 ) , where 𝒋 ( 𝒊 , 𝒑 ) 0 d is defined in (3.13). Since the components of 𝗗 𝒊 are determined by

ξ k | T 𝒊 = l M ¯ d k l 𝒊 ζ l 𝒊 , k = ν ( 𝒏 , 𝒑 ) ,

we immediately obtain d k l 𝒊 = 1 if l = ι ( 𝒋 ( 𝒊 , 𝒑 ) ) , and d k l 𝒊 = 0 otherwise. In addition, for any 𝒊 { 0 , 1 } d 𝑰 ( 𝒏 ) , we have ξ 𝒏 , 𝒑 | T 𝒊 0 , wherefore the linear independence of the functions ζ 1 𝒊 , , ζ M 𝒊 yields d k l 𝒊 = 0 for any l M ¯ . ∎

Example 5 (Enumeration ν for Uniform Polynomial Degrees).

Let us assign the same polynomial degree p unif { 2 , , p max } to all elements T 𝒊 of the refinement ( Q ) , 𝒊 { 0 , 1 } d , i.e. 𝑷 ( 𝒏 ) = { 2 , , p unif } r for any r-dimensional internal node 𝒏 𝒩 r , r d ¯ 0 . In this case, we observe that there are ( p unif - 1 ) r hp-enrichment functions on Q that can be associated with 𝒏 . Hence, the total number of hp-refinement functions, which are associated with r-dimensional internal nodes, is given by

L r := ( d r )  2 r ( p unif - 1 ) r , r d ¯ 0 .

Now let us enumerate the r-dimensional internal nodes 𝒏 = ( 𝒂 , 𝒑 ) 𝒩 r , r d ¯ 0 , by the bijective map ν r : 𝒩 r { 1 , , ( d r )  2 r } given by

ν r ( 𝒏 ) := 1 + 2 r k r ¯ ( a k - k ) + k r ¯ 2 k - 2 ( k + 1 ) , 𝒂 = ( a 1 , , a r ) , 𝒑 = ( p 1 , , p r ) .

Then we can enumerate all hp-enrichment functions ξ 𝒏 , 𝒑 , for 𝒏 𝒩 and 𝒑 𝑷 ( 𝒏 ) , by the bijective map ν : { ( 𝒏 , 𝒑 ) : 𝒏 𝒩 , 𝒑 𝑷 ( 𝒏 ) } L ¯ , with L := L 0 + + L d , defined by

ν ( 𝒏 , 𝒑 ) := 1 + k r ¯ L k - 1 + ( ν r ( 𝒏 ) - 1 ) ( p unif - 1 ) r + k r ¯ ( p unif - 1 ) k - 1 ( p k - 2 ) ,

where we let L - 1 := 0 .

4 hp-Adaptivity Based on Locally Predicted Error Reductions

In this section, we will exploit our abstract results in Section 2.1 for the purpose of devising a new adaptive procedure for hp-type finite element discretizations. Our basic idea to hp-refine a given hp-finite element space 𝕎 given consists of three essential steps:

Step 1.

Firstly, our algorithm aims to predict the potential contribution to the (global) energy error reduction from each individual element Q in the given hp-space 𝕎 given . To this end, for every element Q, with an associated local space 𝕎 loc , cf. (2.4), we apply various local p-enrichment or hp-replacement spaces 𝕐 , cf. (2.7), as follows:

  1. In the case of p-enrichments, we choose finitely many sets 𝑱 d , i in order to define suitable collections of p-enrichment functions 𝔈 p , i := { ξ 𝒋 Q : 𝒋 𝑱 d , i } , cf. (3.12), and let 𝕐 p , i := span { u ~ 𝕎 } + span 𝔈 p , i be the associated p-enrichment spaces. We then compute the respective predicted error reductions Δ e p , i by means of the formula (2.11) (or equivalently (2.15)).

  1. In the case of hp-refinements, for any node 𝒏 of a refinement ( Q ) of Q, we choose finitely many sets 𝑷 i ( 𝒏 ) to define collections of (nodal) hp-enrichment functions 𝔈 h p , 𝒏 i := { ξ 𝒏 , 𝒑 Q : 𝒑 𝑷 i ( 𝒏 ) } , cf. (3.16), and let

    𝕐 h p , i := span { u ~ 𝕎 } + span 𝔈 h p , i with  𝔈 h p , i := 𝒏 𝔈 h p , 𝒏 i

    be the associated hp-replacement spaces. We then compute the corresponding predicted error reductions Δ e h p , i by means of the formula (2.11) (or equivalently (2.15)).

From all these choices of p-enrichments (p) and hp-refinements (hp), we select the one that features the maximal error reduction (signified by Δ e max Q ); this will be referred to as the optimal (local) hp-refinement on Q. Hereby, the number of different p-enrichments and hp-refinements, respectively, that are performed for each element Q in the prediction step, is technically at the disposal of the user; cf. the ensuing Example 6 for a specific setup in 1d and 2d. Preferably, following the approach proposed in [20], we select the local p-enrichments and hp-refinements in a competitive way, i.e. with a comparable number of local degrees of freedom; we will discuss this idea in more detail in the context of the 1-dimensional numerical examples in Section 5 below.

Step 2.

Subsequently, we mark all elements in the global hp-finite element space 𝕎 given , from which the most substantial error reductions, as identified in Step 1. for each element, can be expected. This step can be accomplished, for instance, with the aid of a suitable marking strategy, such as Dörfler’s criterion [12].

Step 3.

Finally, a new enriched hp-finite element space 𝕎 new is constructed based on choosing the optimal (local) hp-refinement space, cf. Step 1., for each of the marked elements.

Schematically, the proposed hp-adaptive procedure has the following structure:

Remark 4 (Computational Aspects of the Prediction Step).

We emphasize that the prediction step (Step 1) is trivially parallelizable, and hence, inexpensive from a computational point of view compared to the global solve (Step 3). In addition, as all enrichment functions for the different p-enrichments and hp-refinements on Q can be expressed by the functions ζ 1 𝒊 , , ζ M 𝒊 , cf. (3.10), the matrices 𝗔 𝒊 , 𝗖 𝒊 as well as the vector 𝗯 𝒊 from Section 3.5, which are employed in the computation of the corresponding predicted local error reductions, need to be computed once only on the subelements T 𝒊 of the local refinement ( Q ) for all different p-enrichments and hp-refinements applied on the subelements T 𝒊 . Evidently, the computational cost for the prediction step depends strongly on the specific selection of possible p-enrichments and hp-refinements (as well as on the efficiency of their implementation).

Example 6.

We discuss some possible realizations of the choice of p-enrichments and hp-refinements to be compared on the individual elements (Step 1. above), which will be employed in our numerical examples of Section 5:

  1. In the 1d examples only one p-enrichment is considered on each element Q; specifically, we increase the associated local polynomial degree p Q to p Q + 1 , which is represented by the set 𝑱 1 Q := { 2 , , p Q + 1 } . This p-enrichment is then compared to p Q -many hp-refinements which allocate suitable local polynomial degrees p 0 , p 1 to subelements T 0 , T 1 in a competitive way, so that p 0 + p 1 = p Q + 1 .

  2. In the 2d example in Section 5, on each element Q, we consider an associated p-enrichment by which the local polynomial degree p Q is increased to p Q + 1 . The resulting prediction is compared to two different hp-refinements: In a first version, the same polynomial degree p Q is retained on all of the four subelements T 𝒊 with 𝒊 { 0 , 1 } 2 ; in the second version, the polynomial degree is reduced to p Q - 1 on the subelements T 𝒊 with 𝒊 { 0 , 1 } 2 . In this approach, in contrast to the 1d situation before, we note that the number of hp-refinements on an element Q does not increase with the local polynomial degree p Q .

In Algorithm 1 we outline the technical details for the individual steps in the hp-adaptive refinement approach sketched above. We denote by 𝕎 ( 𝒬 , 𝒑 𝒬 ) the hp-finite element space associated with the mesh 𝒬 , and by 𝒑 𝒬 a corresponding polynomial degree distribution, cf. (3.5). Note that the solving step, the prediction step (exploiting p-enrichments and hp-refinements), the marking step and the enrichment step are implemented in the lines 2, 3–15, 16 and 17 in Algorithm 1, respectively.

Remark 5 (Possible Specifications of hp-Adaptive Procedure).

  1. Evidently, Algorithm 1 can be turned into a pure h-adaptive procedure (by only considering hp-refinements that inherit the fixed low-order polynomial degree to any subelements), or into a pure p-adaptive procedure (whereby no element refinements are taken into account).

  2. In the context of finite element discretizations for which the global polynomial degree is restricted to a small positive number p max 2 (e.g. for quadratic elements), it is possible to first apply an h-adaptive mesh refinement procedure, thereby yielding a locally refined mesh 𝒬 , and then to employ p-enrichments based on Algorithm 1 in order to determine an effective polynomial distribution 𝒑 𝒬 with max 𝒑 𝒬 p max .

Remark 6 (Guaranteed Error Decrease and Control).

By Remark 1 the approximation error from one step to another in Algorithm 1 will not increase if Δ e max Q > 0 for marked elements; this condition can be accommodated if, in addition to employing hp-replacements, at least one enrichment is applied on those elements. Furthermore, we note that, at the end of each adaptive step, the use of an appropriate a posteriori estimator could be taken into account, see, e.g., [8], if some explicit control on the quality of the numerical approximation is desired. Notice that the estimator need not be localizable in terms of individual element contributions as it is not used for the purpose of driving the adaptive process.

Algorithm 1 (hp-Adaptive Procedure.).

5 Numerical Examples

In this section we illustrate the performance of the hp-adaptive procedure outlined in Algorithm 1 with some numerical experiments in 1D and 2D.

5.1 Numerical Examples in 1D

In the following 1-dimensional examples on the domain Ω := ( 0 , 1 ) we use a basis for the hp-finite element spaces 𝕎 that consists of the usual hat-functions, and, on each element Q 𝒬 with p Q 2 , of the (elementwise transformed) integrated Legendre polynomials given by ψ j Q := ψ j F Q - 1 , for 2 j p Q , cf. (3.2). In accordance with (3.11) we consider the (extended) functions

ξ j Q ( x ) := { ψ j Q ( x ) if  x Q , 0 if  x Ω Q .

For each element Q 𝒬 of the current mesh, the locally supported subspace 𝕎 Q loc 𝕎 is chosen as

𝕎 Q loc := { ξ j Q : 2 j p Q } .

In particular, the corresponding linear projection operator Π Q loc : 𝕎 𝕎 Q loc only retains all higher-order modes on Q. Specifically, we choose

𝔈 p Q := { ξ j Q : j 𝑱 1 Q } with  𝑱 1 Q := { 2 , , p Q + 1 }

as p-enrichment functions, i.e. we increase the polynomial degree p Q to p Q + 1 , thereby using a number of p Q locally supported degrees of freedom on Q. Moreover, for an hp-replacement on Q, we divide the element Q into two equally sized subelements T 0 , T 1 , for which we allocate some local polynomial degrees p 0 , p 1 , respectively, that give rise to p 0 + p 1 + 1 degrees of freedom within Q:

In order to compare competitive p- and hp-refinements, we impose the constraint

(5.1) p 0 + p 1 = p Q + 1 .

The only internal node for the refinement ( Q ) = { T 0 , T 1 } of the element Q is the 0-dimensional midpoint, represented by 𝒏 1 := ( ( ) , ( ) ) . The subelements T 1 , T 2 are characterized by the tuples 𝒏 2 := ( ( 1 ) , ( 0 ) ) and 𝒏 3 := ( ( 1 ) , ( 1 ) ) . Therefore, in terms of the notation from Section 3.4.3, we have 𝒩 = { 𝒏 1 , 𝒏 2 , 𝒏 3 } , and we choose

𝑷 ( Q ) ( 𝒏 1 ) = { ( ) } , 𝑷 ( Q ) ( 𝒏 2 ) = { 2 , , p 1 } , 𝑷 ( Q ) ( 𝒏 3 ) = { 2 , , p 2 }

for all possible pairs ( p 1 , p 2 ) of local polynomial degree combinations that satisfy (5.1).

5.1.1 Singularly Perturbed Problem with Boundary Layers

As a first example, for (a possibly small) parameter ε > 0 , we consider the 1-dimensional singularly perturbed differential equation - ε u ′′ + u = 1 in the domain Ω = ( 0 , 1 ) with the homogeneous Dirichlet boundary condition u ( 0 ) = u ( 1 ) = 0 . The analytic solution is given by

u ( x ) = e - c - 1 e c - e - c e c x + 1 - e c e c - e - c e - c x + 1

with c = ε - 1 2 ; for very small 0 < ε 1 , we notice that u exhibits thin boundary layers in the vicinity of the boundary points x = 0 and x = 1 , and takes values of approximately 1 in the interior of the domain Ω. For our numerical experiments, we initiate the hp-adaptive procedure of Algorithm 1 with a coarse mesh 𝒬 0 consisting of four elements, and an associated uniform polynomial degree of 1 on each of them. For the marking process we choose the Dörfler marking parameter to be 1 2 .

Figure 8 
                     
                        hp-mesh 
                           
                              
                                 
                                    𝒬
                                    28
                                 
                              
                              
                              {\mathcal{Q}_{28}}
                           
                         after 28 adaptive enrichment steps with 
                           
                              
                                 
                                    ε
                                    =
                                    
                                       10
                                       
                                          -
                                          5
                                       
                                    
                                 
                              
                              
                              {\varepsilon=10^{-5}}
                           
                        .
Figure 8

hp-mesh 𝒬 28 after 28 adaptive enrichment steps with ε = 10 - 5 .

Figure 8 shows the resulting hp-mesh after 28 hp-adaptive steps for ε = 10 - 5 ; we clearly see that the boundary layers have been resolved on a few small elements (of high polynomial degree), whilst no refinement is employed in the interior of the domain Ω, where the solution is nearly constant.

Moreover, in Figure 9, for the underlying energy norm given by

v 𝕏 2 = ε v L 2 ( Ω ) 2 + v L 2 ( Ω ) 2 , v 𝕏 ,

the error u - u 𝕎 𝕏 is plotted with respect to the number of degrees of freedom in a semilogarithmic scaling for several values of the singular perturbation parameter ε { 10 - j : j = 3 , 4 , 5 } . We observe that the hp-adaptive procedure is able to achieve an exponential rate of convergence that is fairly robust with respect to ε. In this regard, our results are comparable to alternative hp-adaptive strategies proposed in the literature, see, e.g., [32, Expl. 2].

Figure 9 
                     Singularly perturbed problem in 1D: Performance of the hp-adaptive procedure with respect to the energy norm error 
                           
                              
                                 
                                    
                                       ∥
                                       
                                          u
                                          -
                                          
                                             u
                                             𝕎
                                          
                                       
                                       ∥
                                    
                                    𝕏
                                 
                              
                              
                              {\|u-u_{\mathbb{W}}\|_{\mathbb{X}}}
                           
                         for 
                           
                              
                                 
                                    ε
                                    =
                                    
                                       10
                                       
                                          -
                                          j
                                       
                                    
                                 
                              
                              
                              {\varepsilon=10^{-j}}
                           
                         with 
                           
                              
                                 
                                    j
                                    ∈
                                    
                                       {
                                       3
                                       ,
                                       4
                                       ,
                                       5
                                       }
                                    
                                 
                              
                              
                              {j\in\{3,4,5\}}
                           
                        .
Figure 9

Singularly perturbed problem in 1D: Performance of the hp-adaptive procedure with respect to the energy norm error u - u 𝕎 𝕏 for ε = 10 - j with j { 3 , 4 , 5 } .

5.1.2 1D-Model Problem with a Boundary Singularity

As a second example, we consider the 1-dimensional boundary value problem - u ′′ = f in Ω = ( 0 , 1 ) , with the homogeneous Dirichlet boundary conditions u ( 0 ) = u ( 1 ) = 0 ; the right-hand side function f is chosen in such a way that the analytic solution is given by u ( x ) = x 3 4 - x , which features a singularity at x = 0 with u ( x ) as x 0 + . As in the previous example, we start the hp-adaptive procedure of Algorithm 1 with an initial mesh 𝒬 0 consisting of four elements with a uniform polynomial degree distribution of 1, and let the Dörfler marking parameter be 1 2 . The ensuing plot in Figure 10 shows the resulting hp-mesh 𝒬 49 , which contains 51 elements, after 49 hp-adaptive enrichment steps.

Figure 10 
                     
                        hp-mesh 
                           
                              
                                 
                                    𝒬
                                    49
                                 
                              
                              
                              {\mathcal{Q}_{49}}
                           
                         after 49 hp-adaptive enrichment steps.
Figure 10

hp-mesh 𝒬 49 after 49 hp-adaptive enrichment steps.

Figure 11 
                     Algebraic boundary singularity in 1D: Performance of the hp-adaptive procedure with respect to the energy norm error 
                           
                              
                                 
                                    
                                       ∥
                                       
                                          u
                                          -
                                          
                                             u
                                             𝕎
                                          
                                       
                                       ∥
                                    
                                    𝕏
                                 
                              
                              
                              {\|u-u_{\mathbb{W}}\|_{\mathbb{X}}}
                           
                         (measured against the square root of the number of degrees of freedom). In addition to the energy norm error (blue) a regression line (orange) is displayed in order to indicate the exponential decrease.
Figure 11

Algebraic boundary singularity in 1D: Performance of the hp-adaptive procedure with respect to the energy norm error u - u 𝕎 𝕏 (measured against the square root of the number of degrees of freedom). In addition to the energy norm error (blue) a regression line (orange) is displayed in order to indicate the exponential decrease.

The mesh is geometrically refined towards the singularity at x = 0 , and the polynomial degree is increased at an approximately linear rate in dependence of the distance from the origin; this is in line with a priori results on exponentially convergent hp-FEM for local algebraic singularities; see, e.g., [27]. Indeed, this is confirmed in Figure 11, where the error in the energy norm, i.e. u - u 𝕎 𝕏 = u - u 𝕎 L 2 ( Ω ) , shows an exponential decay (with respect to the square root of the number of degrees of freedoms) in a semilogarithmic scaling.

5.2 Numerical Example in 2D

In the following 2-dimensional example over the unit square Ω := ( 0 , 1 ) 2 , we use a basis for the hp-finite element spaces 𝕎 that—in addition to the usual hat functions – contains the functions

ψ 𝒋 Q := ψ ^ 𝒋 F Q - 1 , 𝒋 { 2 , , p Q } 2 ,

extended by 0 to Ω, cf. (3.3), for elements Q 𝒬 with a local polynomial degree p Q 2 . In accordance with (3.11) we denote the corresponding extended functions by ξ 𝒋 Q . Recall that we decompose the hp-finite element solution u 𝕎 𝕎 of (2.1) into a local part u 𝕎 loc and a remaining part u ~ 𝕎 , cf. (2.6). If we wish the remaining part u ~ 𝕎 to be completely independent of the enrichments on Q (in the sense that u ~ 𝕎 remains unchanged under modifications in 𝕎 Q loc ), we note that the locally supported subspace 𝕎 Q loc needs to contain all basis functions of 𝕎 with support on Q; in particular, all interior bubble functions on Q. For simplicity (see Remark 7), we set

𝕎 Q loc := { ξ 𝒋 Q : 𝒋 { 2 , , p Q } 2 } ,

and, on each element Q 𝒬 (with an associated local polynomial degree p Q ), we choose the p-enrichment functions to be

(5.2) 𝔈 p Q := { ξ 𝒋 Q : 𝒋 𝑱 2 Q } with  𝑱 2 Q := { 2 , , p Q + 1 } 2 ,

i.e. we increase the local polynomial degree p Q to p Q + 1 in both coordinate directions, thereby resulting in p Q 2 many locally supported enrichment functions on Q. Moreover, an hp-refinement on an element Q is based on dividing Q into the four subelements T 𝒊 with 𝒊 { 0 , 1 } 2 : In the present experiments we limit ourselves to enrichments that are restricted to single element Q as pointed out in Section 3.4, and do not involve enrichments on a patch around Q; see Remark 7 below for more details on this matter. For simplicity, we compare the p-enrichment (5.2) in two different versions of a single hp-refinement on Q: Firstly, with an hp-refinement that features the same polynomial degree p Q on all subelements T 𝒊 ( Q ) , and secondly, with an hp-refinement that allocates the reduced polynomial degree p Q - 1 to all subelements T 𝒊 ( Q ) (if p Q > 2 ). The internal nodes of the refinement ( Q ) = { T 𝒊 : 𝒊 { 0 , 1 } 2 } consist of the midpoint 𝒏 1 := ( ( ) , ( ) ) , of the edges

𝒏 2 := ( ( 1 ) , ( 0 ) ) , 𝒏 3 := ( ( 1 ) , ( 1 ) ) , 𝒏 4 := ( ( 2 ) , ( 0 ) ) , 𝒏 5 := ( ( 2 ) , ( 1 ) ) ,

and of the subelements T 𝒊 , represented by

𝒏 6 := ( ( 1 , 2 ) , ( 0 , 0 ) ) , 𝒏 7 := ( ( 1 , 2 ) , ( 1 , 0 ) ) , 𝒏 8 := ( ( 1 , 2 ) , ( 0 , 1 ) ) , 𝒏 9 := ( ( 1 , 2 ) , ( 1 , 1 ) ) .

When featuring the polynomial degree p Q on all subelements, we obtain

𝑷 ( Q ) ( 𝒏 j ) = { { ( ) } for  j = 1 , { ( p 1 ) : p 1 { 2 , , p Q } } for  2 j 5 , { ( p 1 , p 2 ) : p 1 , p 2 { 2 , , p Q } } for  6 j 9 ,

thereby leading to 1 + 4 ( p Q - 1 ) p Q hp-enrichment functions on Q.

Figure 12 
                  Extended patch around the element Q (right).
Figure 12 
                  Extended patch around the element Q (right).
Figure 12

Extended patch around the element Q (right).

Remark 7 (Competitive Refinements for Dimensions d 2 ).

In contrast to the 1-dimensional case, if the remaining part u ~ 𝕎 of the solution u 𝕎 should be independent (in the sense that u ~ 𝕎 remains unchanged upon modifications in 𝕎 Q loc ) of an enrichment or a refinement associated with an element Q, it is mandatory to include element interface basis functions in the definition of the locally supported subspace 𝕎 Q loc . Indeed, only if degrees of freedom, which are shared by neighboring elements, are taken into account as well, it is possible to compare different p-enrichments and hp-refinements in a truly competitive way. This is due to the fact that, in general, p-enrichments and hp-refinements on a single element Q may influence the new solution on a local patch which also involves neighboring elements of Q; we observe that this effect extends even beyond the direct neighbors of Q if hanging nodes, as can be seen in Figure 12, are present; we refer to, e.g., [10], for a straightforward treatment of hanging nodes. In turn, we note that the enforcement of continuity of enrichment functions along element edges and faces of a patch around Q (e.g. by means of the minimum rule for the adjacent polynomial degrees) causes an additional challenge. For simplicity, for the purpose of the present paper, we will restrict ourselves to the enrichment of internal degrees of freedom only on each element; competitive enrichments on patches for higher dimension are investigated in forthcoming work. Following the idea of using patches in the context of higher-order FEM, see, e.g., [25], we also include the interface basis functions between neighboring elements in the enrichment step; we remark that this approach, in turn, will generally yield an upper bound on the actual error reduction rather than an exact representation.

Remark 8 (Anisotropic Refinements for Dimensions d 2 ).

We note that the abstract framework presented in Section 2 and the constraint coefficient technique from Section 3.3 both apply to anisotropic hp-refinements as well; in particular, elements may be refined in a single direction only, with respect to either h or p. Indeed, we have deliberately formulated our hp-adaptive approach in a quite general way in order to allow for maximal flexibility and, thereby, a wide variety of practical realizations. The application of anisotropic hp-refinements within the adaptive framework will be studied in a forthcoming work.

5.2.1 2D-Poisson Problem with Corner Singularities

Let us consider the 2-dimensional Poisson-problem - Δ u = 1 on Ω = ( 0 , 1 ) 2 , subject to the homogeneous Dirichlet boundary condition u = 0 on Γ := Ω . While an explicit expression for the analytic solution u is unavailable, an eigenfunction expansion yields that

u 𝕏 2 = u L 2 ( Ω ) 2 = ( 2 π ) 6 k , l 1  odd 1 k 2 l 2 ( k 2 + l 2 ) 0.035144253738788451 .

We start the hp-adaptive procedure of Algorithm 1 with an initial mesh 𝒬 0 consisting of 16 elements with a uniform polynomial degree distribution of 1 on all elements Q 𝒬 0 . Moreover, we let the Dörfler parameter to be 1 5 .

Figure 13 
                     
                        hp-mesh 
                           
                              
                                 
                                    𝒬
                                    52
                                 
                              
                              
                              {\mathcal{Q}_{52}}
                           
                         after 52 adaptive enrichment steps applying the first strategy (left), hp-mesh 
                           
                              
                                 
                                    𝒬
                                    67
                                 
                              
                              
                              {\mathcal{Q}_{67}}
                           
                         after 67 adaptive enrichment steps applying the second strategy (middle) and geometrically refined mesh towards the corners, with twelve layers and linearly increasing polynomial degrees leading to 192 elements (right).
Figure 13 
                     
                        hp-mesh 
                           
                              
                                 
                                    𝒬
                                    52
                                 
                              
                              
                              {\mathcal{Q}_{52}}
                           
                         after 52 adaptive enrichment steps applying the first strategy (left), hp-mesh 
                           
                              
                                 
                                    𝒬
                                    67
                                 
                              
                              
                              {\mathcal{Q}_{67}}
                           
                         after 67 adaptive enrichment steps applying the second strategy (middle) and geometrically refined mesh towards the corners, with twelve layers and linearly increasing polynomial degrees leading to 192 elements (right).
Figure 13 
                     
                        hp-mesh 
                           
                              
                                 
                                    𝒬
                                    52
                                 
                              
                              
                              {\mathcal{Q}_{52}}
                           
                         after 52 adaptive enrichment steps applying the first strategy (left), hp-mesh 
                           
                              
                                 
                                    𝒬
                                    67
                                 
                              
                              
                              {\mathcal{Q}_{67}}
                           
                         after 67 adaptive enrichment steps applying the second strategy (middle) and geometrically refined mesh towards the corners, with twelve layers and linearly increasing polynomial degrees leading to 192 elements (right).
Figure 13

hp-mesh 𝒬 52 after 52 adaptive enrichment steps applying the first strategy (left), hp-mesh 𝒬 67 after 67 adaptive enrichment steps applying the second strategy (middle) and geometrically refined mesh towards the corners, with twelve layers and linearly increasing polynomial degrees leading to 192 elements (right).

Figure 14 
                     Poisson problem with corner singularities on unit square: Performance of the hp-adaptive procedure with respect to the energy norm error 
                           
                              
                                 
                                    
                                       ∥
                                       
                                          u
                                          -
                                          
                                             u
                                             𝕎
                                          
                                       
                                       ∥
                                    
                                    𝕏
                                 
                              
                              
                              {\|u-u_{\mathbb{W}}\|_{\mathbb{X}}}
                           
                         (measured against the 3rd root of the number of degrees of freedom). In addition to the energy norm errors (blue, yellow) regression lines (orange, purple) are displayed in order to indicate the exponential decrease. Moreover, the energy norm error (green) for a comparable a priori hp-refinement strategy has been inserted also.
Figure 14

Poisson problem with corner singularities on unit square: Performance of the hp-adaptive procedure with respect to the energy norm error u - u 𝕎 𝕏 (measured against the 3rd root of the number of degrees of freedom). In addition to the energy norm errors (blue, yellow) regression lines (orange, purple) are displayed in order to indicate the exponential decrease. Moreover, the energy norm error (green) for a comparable a priori hp-refinement strategy has been inserted also.

Following the a priori error analysis on the exponential convergence of hp-FEM for the 2-dimensional Poisson equation with corner singularities in polygons, see, e.g., [27], we depict the energy error u - u 𝕏 𝕏 with respect to the 3rd root of the number of degrees of freedom in Figure 14. The blue line shows the error decay when the polynomial degree p Q on an hp-refined element Q is inherited to the subelements T 𝒊 , for 𝒊 { 0 , 1 } 2 ; we see that this strategy may lead to an unnecessarily high number of local degrees of freedom. The resulting hp-mesh of this strategy after 52 adaptive enrichment steps is depicted in Figure 13 (containing 1412 elements). In an alternative scenario, illustrated by the yellow line in Figure 14, the slope of the exponential convergence is considerably improved when allocating a reduced polynomial degree of p Q - 1 to all subelements T 𝒊 , with 𝒊 { 0 , 1 } 2 , if p Q > 2 . The resulting hp-mesh after 67 adaptive enrichment steps is shown in Figure 13 (containing 256 elements). In addition, for comparison purposes with a possible benchmark situation, which does not depend on a specific hp-adaptive strategy, we have inserted an additional (green) line in Figure 14 that represents the error decay of a classical a priori hp-refinement strategy. More precisely, following the well-known theory of exponential convergence of hp-FEM for linear elliptic problems in 2d polygons (see, e.g., [27]), meshes that are geometrically refined towards the corners of Ω, see Figure 13, and that feature a linear polynomial degree distribution away from the corners, are applied. Our results confirm that our proposed hp-adaptive algorithm is able to properly resolve the four corner singularities on geometrically refined meshes, and that approximately exponential rates of convergence can be achieved.

Funding statement: Patrick Bammer and Andreas Schröder acknowledge the support by the Bundesministerium für Frauen, Wissenschaft und Forschung (BMFWF) under the Sparkling Science project SPA 01-080 “MAJA – Mathematische Algorithmen für Jedermann Analysiert”. Thomas P. Wihler acknowledges the financial support of the Swiss National Science Foundation (SNSF), Grant No. 200021_212868.

A Appendix

A.1 Proof of (2.12)

From Proposition 1 we recall the identity Δ e 𝕎 , 𝕐 2 = u 𝕐 - u 𝕎 𝕏 2 - 2 ρ 𝕐 ( u 𝕎 loc ) . Furthermore, owing to the decomposition (2.6) of the solution u 𝕎 , we have

u 𝕐 - u 𝕎 𝕏 2 = ( u 𝕐 - u ~ 𝕎 ) - u 𝕎 loc ) 𝕏 2 = u 𝕐 - u ~ 𝕎 𝕏 2 + u loc 𝕎 𝕏 2 - 2 a ( u 𝕐 - u ~ 𝕎 , u 𝕎 loc ) .

Moreover, since u 𝕎 loc 𝕎 , the weak formulation (2.1) yields

ρ 𝕐 ( u 𝕎 loc ) = b ( u 𝕎 loc ) - a ( u 𝕐 , u 𝕎 loc ) = a ( u 𝕎 , u 𝕎 loc ) - a ( u 𝕐 , u 𝕎 loc ) = a ( u 𝕎 - u 𝕐 , u 𝕎 loc ) .

Thus, noticing that u 𝕎 - u ~ 𝕎 = u 𝕎 loc , we obtain

u 𝕐 - u 𝕎 𝕏 2 - 2 ρ 𝕐 ( u 𝕎 loc ) = u 𝕐 - u ~ 𝕎 𝕏 2 + u 𝕎 loc 𝕏 2 - 2 ( a ( u 𝕐 - u ~ 𝕎 , u 𝕎 loc ) - a ( u 𝕎 - u 𝕐 , u 𝕎 loc ) )
= u 𝕐 - u ~ 𝕎 𝕏 2 + u 𝕎 loc 𝕏 2 - 2 a ( u 𝕎 - u ~ 𝕎 , u 𝕎 loc )
= u 𝕐 - u ~ 𝕎 𝕏 2 - u 𝕎 loc 𝕏 2 ,

which gives the assertion.

A.2 Recursion Formulas of the 1D-Constraint Coefficients

We present some recursion formulas for the computation of the 1-dimensional constraint coefficients applied in Section 3.3. For this purpose, let I = [ a , b ] , with - 1 a < b 1 , be an interval. For j 0 , recall that the restrictions of the functions ψ j : [ - 1 , 1 ] from (3.2) to the interval I can be represented as linear combinations of the functions ψ ~ i := ψ i F I - 1 on I, for i j ¯ 0 :

ψ i | I = j = 0 i b i , j I ψ ~ i , i 0 ;

here, the bijective affine linear transformation F I : [ - 1 , 1 ] I is given by F I ( t ) = α t + β , with α := 1 2 ( b - a ) and β := 1 2 ( a + b ) . We note that the uniquely determined constraint coefficients b i , j I in the above representation can be determined recursively (see [7] for a proof):

  1. For i , j { 0 , 1 } 2 , the following identities can be derived:

    b 0 , 0 I = 1 2 ( 1 + α - β ) , b 1 , 0 I = 1 2 ( 1 - α + β ) , b 0 , 1 I = 1 2 ( 1 - α - β ) , b 1 , 1 I = 1 2 ( 1 + α + β ) .

  2. Moreover, we find that

    b 2 , 0 I = 1 2 ( ( α - β ) 2 - 1 ) , b 2 , 1 I = 1 2 ( ( α + β ) 2 - 1 ) , b 2 , 2 I = α 2 .

  3. For i 3 , it holds b i , i I = α b i - 1 , i - 1 I as well as

    b i , 0 I = 1 i ( ( 2 i - 3 ) ( β - α ) b i - 1 , 0 I - ( i - 3 ) b i - 2 , 0 I ) ,
    b i , 1 I = 1 i ( ( 2 i - 3 ) ( α + β ) b i - 1 , 1 I - ( i - 3 ) b i - 2 , 1 I ) ,
    b i , 2 I = 1 i ( ( 2 i - 3 ) ( α ( 1 5 b i - 1 , 3 I - ( b i - 1 , 0 I - b i - 1 , 1 I ) ) + β b i - 1 , 2 I ) - ( i - 3 ) b i - 2 , 2 I ) .

    In addition, for i 4 , we have

    b i , i - 1 I = 2 i - 3 i ( i - 1 2 i - 5 α b i - 1 , i - 2 I + β b i - 1 , i - 1 I ) .

  4. For i 5 and j { 3 , , i - 2 } , the coefficients are given by

    b i , j I = 1 i ( ( 2 i - 3 ) ( α ( j 2 j - 3 b i - 1 , j - 1 I + j - 1 2 j + 1 b i - 1 , j + 1 I ) + β b i - 1 , j I ) - ( i - 3 ) b i - 2 , j I ) .

  5. Finally, for j 2 and i { 0 , , j - 1 } , it holds b i , j = 0 .

References

[1] M. Ainsworth and J. T. Oden, A posteriori error estimation in finite element analysis, Comput. Methods Appl. Mech. Engrg. 142 (1997), no. 1–2, 1–88. 10.1016/S0045-7825(96)01107-3Search in Google Scholar

[2] I. Babuška and B. Q. Guo, Regularity of the solution of elliptic problems with piecewise analytic data. I. Boundary value problems for linear elliptic equation of second order, SIAM J. Math. Anal. 19 (1988), no. 1, 172–203. 10.1137/0519014Search in Google Scholar

[3] I. Babuška and M. Suri, The h-p version of the finite element method with quasi-uniform meshes, RAIRO Modél. Math. Anal. Numér. 21 (1987), no. 2, 199–238. 10.1051/m2an/1987210201991Search in Google Scholar

[4] I. Babuška and M. Suri, The treatment of nonhomogeneous Dirichlet boundary conditions by the p-version of the finite element method, Numer. Math. 55 (1989), no. 1, 97–121. 10.1007/BF01395874Search in Google Scholar

[5] I. Babuška and M. Suri, The p and h-p versions of the finite element method, basic principles and properties, SIAM Rev. 36 (1994), no. 4, 578–632. 10.1137/1036141Search in Google Scholar

[6] R. Becker and R. Rannacher, An optimal control approach to a posteriori error estimation in finite element methods, Acta Numer. 10 (2001), 1–102. 10.1017/S0962492901000010Search in Google Scholar

[7] A. Byfut and A. Schröder, Unsymmetric multi-level hanging nodes and anisotropic polynomial degrees in H 1 -conforming higher-order finite element methods, Comput. Math. Appl. 73 (2017), no. 9, 2092–2150. 10.1016/j.camwa.2017.02.029Search in Google Scholar

[8] P. Daniel, A. Ern, I. Smears and M. Vohralík, An adaptive hp-refinement strategy with computable guaranteed bound on the error reduction factor, Comput. Math. Appl. 76 (2018), no. 5, 967–983. 10.1016/j.camwa.2018.05.034Search in Google Scholar

[9] L. Demkowicz, Computing with hp-Adaptive Finite Elements. Vol. 1, Chapman & Hall/CRC Appl. Math. Nonlinear Sci., Chapman & Hall/CRC, Boca Raton, 2007. Search in Google Scholar

[10] P. Di Stolfo, A. Schröder, N. Zander and S. Kollmannsberger, An easy treatment of hanging nodes in hp-finite elements, Finite Elem. Anal. Des. 121 (2016), 101–117. 10.1016/j.finel.2016.07.001Search in Google Scholar

[11] V. Dolejší, A. Ern and M. Vohralík, hp-adaptation driven by polynomial-degree-robust a posteriori error estimates for elliptic problems, SIAM J. Sci. Comput. 38 (2016), no. 5, A3220–A3246. 10.1137/15M1026687Search in Google Scholar

[12] W. Dörfler, A convergent adaptive algorithm for Poisson’s equation, SIAM J. Numer. Anal. 33 (1996), no. 3, 1106–1124. 10.1137/0733054Search in Google Scholar

[13] T. Eibner and J. M. Melenk, An adaptive strategy for hp-FEM based on testing for analyticity, Comput. Mech. 39 (2007), no. 5, 575–595. 10.1007/s00466-006-0107-0Search in Google Scholar

[14] K. Eriksson, D. Estep, P. Hansbo and C. Johnson, Introduction to adaptive methods for differential equations, Acta Numerica 1995, Cambridge University, Cambridge (1995), 105–158. 10.1017/S0962492900002531Search in Google Scholar

[15] T. Fankhauser, T. P. Wihler and M. Wirz, The hp-adaptive FEM based on continuous Sobolev embeddings: Isotropic refinements, Comput. Math. Appl. 67 (2014), no. 4, 854–868. 10.1016/j.camwa.2013.05.024Search in Google Scholar

[16] B. Guo and I. Babuška, The hp-version of the finite element method. Part I: The basic approximation results, Comput. Mech. 1 (1986), 21–41. 10.1007/BF00298636Search in Google Scholar

[17] B. Guo and I. Babuška, The hp-version of the finite element method. Part II: General results and applications, Comput. Mech. 1 (1986), 203–220. 10.1007/BF00272624Search in Google Scholar

[18] P. Heid, B. Stamm and T. P. Wihler, Gradient flow finite element discretizations with energy-based adaptivity for the Gross–Pitaevskii equation, J. Comput. Phys. 436 (2021), Article ID 110165. 10.1016/j.jcp.2021.110165Search in Google Scholar

[19] P. Houston and E. Süli, A note on the design of hp-adaptive finite element methods for elliptic partial differential equations, Comput. Methods Appl. Mech. Engrg. 194 (2005), no. 2–5, 229–243. 10.1016/j.cma.2004.04.009Search in Google Scholar

[20] P. Houston and T. P. Wihler, Adaptive energy minimisation for hp-finite element methods, Comput. Math. Appl. 71 (2016), no. 4, 977–990. 10.1016/j.camwa.2016.01.002Search in Google Scholar

[21] G. E. Karniadakis and S. J. Sherwin, Spectral/hp Element Methods for CFD, Numer. Math. Sci. Comput., Oxford University, New York, 1999. Search in Google Scholar

[22] J. M. Melenk and B. I. Wohlmuth, On residual-based a posteriori error estimation in hp-FEM, Adv. Comput. Math. 15 (2001), 311–331. 10.1023/A:1014268310921Search in Google Scholar

[23] A. Miraçi, J. Papež and M. Vohralík, A-posteriori-steered p-robust multigrid with optimal step-sizes and adaptive number of smoothing steps, SIAM J. Sci. Comput. 43 (2021), no. 5, S117–S145. 10.1137/20M1349503Search in Google Scholar

[24] W. F. Mitchell and M. A. McClain, A comparison of hp-adaptive strategies for elliptic partial differential equations, ACM Trans. Math. Software 41 (2014), no. 1, Paper No. 2. 10.1145/2629459Search in Google Scholar

[25] J. Schöberl, J. M. Melenk, C. Pechstein and S. Zaglmayr, Additive Schwarz preconditioning for p-version triangular and tetrahedral finite elements, IMA J. Numer. Anal. 28 (2008), no. 1, 1–24. 10.1093/imanum/drl046Search in Google Scholar

[26] A. Schröder, Constraints Coefficients in hp-FEM, Numerical Mathematics and Advanced Applications, Springer, Berlin (2008), 183–190. 10.1007/978-3-540-69777-0_21Search in Google Scholar

[27] C. Schwab, p- and hp-FEM, Theory and Applications to Solid and Fluid Mechanics, Oxford University, Oxford, 1998. Search in Google Scholar

[28] P. Šolín, K. Segeth and I. Doležel, Higher-Order Finite Element Methods, Stud. Adv. Math., Chapman & Hall/CRC, Boca Raton, 2004. 10.1201/9780203488041Search in Google Scholar

[29] E. Süli and P. Houston, Adaptive finite element approximation of hyperbolic problems, Error Estimation and Adaptive Discretization Methods in Computational Fluid Dynamics, Lect. Notes Comput. Sci. Eng. 25, Springer, Berlin (2003), 269–344. 10.1007/978-3-662-05189-4_6Search in Google Scholar

[30] B. Szabó and I. Babuška, Finite Element Analysis, J. Wiley & Sons, New York, 1991. Search in Google Scholar

[31] R. Verfürth, A Review of a Posteriori Error Estimation and Adaptive Mesh-Refinement Techniques, B.G. Teubner, Stuttgart, 1996. Search in Google Scholar

[32] T. P. Wihler, An hp-adaptive strategy based on continuous Sobolev embeddings, J. Comput. Appl. Math. 235 (2011), no. 8, 2731–2739. 10.1016/j.cam.2010.11.023Search in Google Scholar

Received: 2023-11-17
Revised: 2024-12-27
Accepted: 2025-04-21
Published Online: 2025-05-29

© 2025 Institute of Mathematics of the National Academy of Science of Belarus, published by De Gruyter, Berlin/Boston

This work is licensed under the Creative Commons Attribution 4.0 International License.

Downloaded on 23.9.2025 from https://www.degruyterbrill.com/document/doi/10.1515/cmam-2023-0250/html
Scroll to top button