Next Article in Journal
New Product Idea Selection in the Fuzzy Front End of Innovation: A Fuzzy Best-Worst Method and Group Decision-Making Process
Next Article in Special Issue
On the Application of the Generalized Means to Construct Multiresolution Schemes Satisfying Certain Inequalities Proving Stability
Previous Article in Journal
Analytical Solutions of Upper Convected Maxwell Fluid with Exponential Dependence of Viscosity under the Influence of Pressure
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Piecewise Polynomial Harmonic Nonlinear Interpolatory Reconstruction Operator on Non Uniform Grids—Adaptation around Jump Discontinuities and Elimination of Gibbs Phenomenon

Departamento de Matemática Aplicada y Estadística, Universidad Politécnica de Cartagena, 30202 Cartagena, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2021, 9(4), 335; https://doi.org/10.3390/math9040335
Submission received: 4 January 2021 / Revised: 28 January 2021 / Accepted: 28 January 2021 / Published: 8 February 2021
(This article belongs to the Special Issue Numerical Analysis and Scientific Computing)

Abstract

:
In this paper, we analyze the behavior of a nonlinear reconstruction operator called PPH around discontinuities. The acronym PPH stands for Piecewise Polynomial Harmonic, since it uses piecewise polynomials defined by means of an adaption based on the use of the weighted Harmonic mean. This study is carried out in the general case of nonuniform grids, although for some results we restrict to σ quasi-uniform grids. In particular we analyze the numerical order of approximation close to jump discontinuities and the elimination of the Gibbs effects. We show, both theoretically and with numerical examples, that the numerical order is reduced but not completely lost as it is the case in their linear counterparts. Moreover we observe that the reconstruction is free of any Gibbs effects for sufficiently small grid sizes.

1. Introduction

Due to the extended use of reconstruction operators in many fields of application, ranging from hyperbolic conservation laws to computer aided geometric design, it is of great importance to dispose of efficient methods to build them for different situations. In general, and for the sake of simplicity, the considered functions are polynomials. High degree polynomials are, however, usually avoided because they are known to generate oscillations and undesirable effects.
Linear operators behave improperly in presence of jump discontinuities, so that different nonlinear operators have emerged to deal with this problematic. Recent approaches to deal with similar problems of functions affected by discontinuities can be found for example in [1,2,3,4,5]. And these nonlinear methods also give rise to interesting applications. To mention some of them one can refer to [6,7,8,9,10,11].
In this article we pay attention to one of these operators that was defined in [12] under the name PPH (Piecewise Polynomial Harmonic). This operator can be seen as a nonlinear counterpart of the classical four points piecewise Lagrange interpolation. The theoretical analysis as much as the practical applications were developed in uniform grids in previous articles (see, for example, [12,13,14,15,16,17,18]). In turn these reconstruction operators are the heart of the definition of associated subdivision and multiresolution schemes [5,19,20,21].
In this paper, we extend the definition of the PPH reconstruction operator to data over non uniform grids and we study some properties of this operator. In particular, we analyze the behavior of the operator in presence of jump discontinuities. We prove adaption to the jump discontinuity in the sense that some order of approximation is maintained in the area close to the discontinuity, on the contrary to what happens with linear operators that lose completely the approximation order. We also prove, as much theoretically as in numerical experiments, the absence of any Gibss phenomena.
The paper is organized as follows—in Section 2 we remind the nonlinear PPH reconstruction operator [22] on nonuniform grids. Section 3 is dedicated to study the adaption of the operator to the presence of jump discontinuities, making some emphasis in the order of approximation. In Section 4 we analyze the behavior of the operator with respect to the Gibbs phenomena. In Section 5 we present some numerical tests. Finally, some conclusions are given in Section 6.

2. A Nonlinear PPH Reconstruction Operator on Non Uniform Grids

In this section we recall the definition of the nonlinear PPH reconstruction operator on nonuniform grids, see [22]. We include the necessary elements for the rest of the article. In [22] the reconstruction operator is designed to deal with strictly convex functions, albeit it is also of interest in the case of working with piecewise smooth functions affected by isolated jump discontinuities. This will be our case of interest in this section and in the rest of the article.
Let us define a nonuniform grid X = ( x i ) i Z in R . Let us also denote h i : = x i x i 1 , the nonuniform spacing between abscissae. We consider underlying piecewise continuous functions f ( x ) with at most a finite set of isolated corner or jump discontinuities, and let us call f i : = f ( x i ) the ordinates corresponding to the point values of the function at the given abscissae. We also introduce the following notations. In first place, the second order divided differences
D j : = f [ x j 1 , x j , x j + 1 ] = f j 1 h j ( h j + h j + 1 ) f j h j h j + 1 + f j + 1 h j + 1 ( h j + h j + 1 ) , D j + 1 : = f [ x j , x j + 1 , x j + 2 ] = f j h j + 1 ( h j + 1 + h j + 2 ) f j + 1 h j + 1 h j + 2 + f j + 2 h j + 2 ( h j + 1 + h j + 2 ) ,
in second place a weighted arithmetic mean of D j and D j + 1 defined as
M j = w j , 0 D j + w j , 1 D j + 1 ,
with the weights
w j , 0 = h j + 1 + 2 h j + 2 2 ( h j + h j + 1 + h j + 2 ) , w j , 1 = h j + 1 + 2 h j 2 ( h j + h j + 1 + h j + 2 ) = 1 w j , 0 .
Given these ingredients in [22] we can find the following definitions, and results that we will use later.
Lemma 1.
Let us consider the set of ordinates { f j 1 , f j , f j + 1 , f j + 2 } for some j Z at the abscissae { x j 1 , x j , x j + 1 , x j + 2 } of a nonuniform grid X = ( x i ) i Z . Then the values f j 1 and f j + 2 at the extremes can be expressed as
f j 1 = 1 γ j , 1 ( γ j , 0 f j + γ j , 1 f j + 1 + γ j , 2 f j + 2 ) + M j γ j , 1 ,
f j + 2 = 1 γ j , 2 ( γ j , 1 f j 1 + γ j , 0 f j + γ j , 1 f j + 1 ) + M j γ j , 2 ,
with the constants γ j , i , i = 1 , 0 , 1 , 2 given by
γ j , 1 = h j + 1 + 2 h j + 2 2 h j ( h j + 1 + h j ) ( h j + h j + 1 + h j + 2 ) , γ j , 0 = 1 2 h j + 1 ( h j + h j + 1 + h j + 2 ) h j + 1 + 2 h j h j + 1 + h j + 2 h j + 1 + 2 h j + 2 h j , γ j , 1 = 1 2 h j + 1 ( h j + h j + 1 + h j + 2 ) h j + 1 + 2 h j + 2 h j + 1 + h j h j + 1 + 2 h j h j + 2 , γ j , 2 = h j + 1 + 2 h j 2 h j + 2 ( h j + 1 + h j + 2 ) ( h j + h j + 1 + h j + 2 ) .
Definition 1.
Given x , y R , and w x , w y R such that w x > 0 , w y > 0 , and w x + w y = 1 , we denote as V ˜ the function
V ˜ ( x , y ) = x y w x y + w y x i f x y > 0 , 0 o t h e r w i s e .
Lemma 2.
If x 0 and y 0 , the harmonic mean is bounded as follows
V ˜ ( x , y ) < min 1 w x x , 1 w y y 1 w x x .
Next definition, which is commonly used in numerical analysis, is going to be essential through the rest of the article.
Definition 2.
An expression e ( h ) = O ( h r ) , r Z means that there exist h 0 > 0 and M > 0 such that 0 < h h 0
| e ( h ) | h r M .
Lemma 3.
Let a > 0 a fixed positive real number, and let x a and y a . If | x y | = O ( h ) , and x y > 0 , then the weighted harmonic mean is also close to the weighted arithmetic mean M ( x , y ) = w x x + w y y ,
| M ( x , y ) V ˜ ( x , y ) | = w x w y w x y + w y x ( x y ) 2 = O ( h 2 ) .
Definition 3
(PPH reconstruction). Let X = ( x i ) i Z be a nonuniform mesh. Let f = ( f i ) i Z a sequence in l ( Z ) . Let D j and D j + 1 be the second order divided differences, and for each j Z let us consider the modified values { f ˜ j 1 , f ˜ j , f ˜ j + 1 , f ˜ j + 2 } built according to the following rule
  • Case 1: If | D j | | D j + 1 |
    f ˜ i = f i , j 1 i j + 1 , f ˜ j + 2 = 1 γ j , 2 ( γ j , 1 f j 1 + γ j , 0 f j + γ j , 1 f j + 1 ) + V ˜ j γ j , 2 ,
  • Case 2: If | D j | > | D j + 1 |
    f ˜ j 1 = 1 γ j , 1 ( γ j , 0 f j + γ j , 1 f j + 1 + γ j , 2 f j + 2 ) + V ˜ j γ j , 1 , f ˜ i = f i , j i j + 2 ,
    where γ j , i , i = 1 , 0 , 1 , 2 are given in (5) and V ˜ j = V ˜ ( D j , D j + 1 ) , with V ˜ the weighted harmonic mean defined in (6) with the weights w j , 0 and w j , 1 in (3). We define the PPH nonlinear reconstruction operator as
    P P H ( x ) = P P H j ( x ) , x [ x j , x j + 1 ] ,
    where P P H j ( x ) is the unique interpolation polynomial which satisfies
    P P H j ( x i ) = f ˜ i , j 1 i j + 2 .
According to Definition 3, it is possible to establish a parallelism with Lagrange interpolation, in fact we can write the PPH reconstruction as
P P H j ( x ) = a ˜ j , 0 + a ˜ j , 1 x x j + 1 2 + a ˜ j , 2 x x j + 1 2 2 + a ˜ j , 3 x x j + 1 2 3 ,
where the the coefficients a ˜ j , i , i = 0 , 1 , 2 , 3 are calculated by imposing conditions (12). We explain each one of the two possible local cases, Case 1 or Case 2. The coefficients will have symmetrical expressions.
Case 1. | D j | | D j + 1 | , which means that a potential singularity may lay in [ x j + 1 , x j + 2 ] . It has been proposed to replace f j + 2 with f ˜ j + 2 in Equation (9) by changing the weighted arithmetic mean in Equation (4b) for its corresponding weighted harmonic mean. This replacement has been performed to carry out a witty modification of the value f ˜ j + 2 in such a way that its difference with respect to the original f j + 2 is large in presence of a discontinuity, but remains sufficiently small in smooth areas maintaining the approximation order. Lemma 2 is crucial for the adaption in case of dealing with the presence of a jump discontinuity, while Lemma 3 plays a fundamental part in proving fourth approximation order for smooth areas of an underlying function.
In this case the coefficients a ˜ j , i , i = 0 , 1 , 2 , 3 of the PPH polynomial read
a ˜ j , 0 = f j + f j + 1 2 h j + 1 2 4 V ˜ j , a ˜ j , 1 = f j + f j + 1 h j + 1 + h j + 1 2 4 h j + 2 h j + 1 ( D j V ˜ j ) , a ˜ j , 2 = V ˜ j , a ˜ j , 3 = 2 2 h j + h j + 1 ( D j V ˜ j ) .
For our purposes, in the next sections we need to examine deeper the relation with Lagrange interpolation. In particular we get that
| f ˜ j + 2 f j + 2 | = 2 h j + 2 ( h j + 1 + h j + 2 ) ( h j + h j + 1 + h j + 2 ) 2 h j + h j + 1 | M j V ˜ j | ,
and considering the Lagrange interpolation polynomial written in the same form as in (13), that is
p L j = a j , 0 + a j , 1 x x j + 1 2 + a j , 2 x x j + 1 2 2 + a j , 3 x x j + 1 2 3 ,
we get that the difference of these coefficients with the ones of P P H j ( x ) is given by
a ˜ j , 0 a j , 0 = h j + 1 2 4 M j V ˜ j , a ˜ j , 1 a j , 1 = h j + 1 2 4 h j + 2 h j + 1 ( M j V ˜ j ) , a ˜ j , 2 a j , 2 = ( M j V ˜ j ) , a ˜ j , 3 a j , 3 = 2 2 h j + h j + 1 ( M j V ˜ j ) .
Case 2. | D j | > | D j + 1 | , which means that a possible singularity lies in [ x j 1 , x j ] . In this case, in Definition 3, the value f j 1 is replaced with f ˜ j 1 by using expression (10). Similar comments apply in this case due to symmetry considerations. The coefficients for the polynomial (13) now read
a ˜ j , 0 = f j + f j + 1 2 h j + 1 2 4 V ˜ j , a ˜ j , 1 = f j + f j + 1 h j + 1 + h j + 1 2 2 h j + 1 + 4 h j + 2 ( D j + 1 + V ˜ j ) , a ˜ j , 2 = V ˜ j , a ˜ j , 3 = 2 h j + 1 + 2 h j + 2 ( D j + 1 + V ˜ j ) .
The expressions relating the coefficients of the PPH polynomial with the Lagrange interpolation polynomial now write
| f ˜ j 1 f j 1 | = 2 h j ( h j + 1 + h j ) ( h j + h j + 1 + h j + 2 ) 2 h j + 2 + h j + 1 | M j V ˜ j | .
a ˜ j , 0 a j , 0 = h j + 1 2 4 M j V ˜ j , a ˜ j , 1 a j , 1 = h j + 1 2 2 h j + 1 + 4 h j + 2 ( M j V ˜ j ) , a ˜ j , 2 a j , 2 = ( M j V ˜ j ) , a ˜ j , 3 a j , 3 = 2 2 h j + 2 + h j + 1 ( M j V ˜ j ) .
In next section, we will study the approximation order of the PPH reconstruction operator in presence of isolated jump discontinuities.

3. Approximation Order around Jump Discontinuities

We are going to study the approximation order of the given reconstruction for functions of class C 4 ( R ) with an isolated jump discontinuity at a given point μ . We consider only the case of working with σ quasi-uniform grids, according with the following definition.
Definition 4.
A nonuniform mesh X = ( x i ) i Z is said to be a σ quasi-uniform mesh if there exist h m i n = min i Z h i , h m a x = max i Z h i , and a finite constant σ such that h m a x h m i n σ .
In what follows we give a proposition proving full order accuracy for convex regions of the function, that is fourth order accuracy, and observing that the approximation order is reduced to second order close to the singularities and to third order close to inflection points. We would like to focuss especial attention to the intervals around the discontinuity where the order is reduced, but not completely lost.
Theorem 1.
Let f ( x ) be a function of class C 4 ( R { μ } ) , with a jump discontinuity at the point μ . Let X = ( x i ) i Z be a σ quasi-uniform mesh in R , with h i = x i x i 1 , i Z , and f = ( f i ) i Z , the sequence of point values of the function f ( x ) , f i = f ( x i ) . Let us consider j Z such that μ [ x j , x j + 1 ] , a > 0 , a fixed positive real number, Ω the set of all inflexion points of f ( x ) , and d ( x , Ω ) the distance function defined by
d ( x , Ω ) : = min { | x ω | : ω Ω } Ω , + Ω = .
Then, the reconstruction P P H ( x ) satisfies
1. 
In x [ x i , x i + 1 ] , i j 1 , j , j + 1 , if D i D i + 1 > 0 , and d ( x i 1 , Ω ) a , d ( x i + 2 , Ω ) a then
max x [ x i , x i + 1 ] | f ( x ) P P H ( x ) | = O ( h 4 ) ,
2. 
In x [ x i , x i + 1 ] , i j 1 , j , j + 1 , if D i D i + 1 > 0 , and d ( x i 1 , Ω ) < a , or d ( x i + 2 , Ω ) < a then
max x [ x i , x i + 1 ] | f ( x ) P P H ( x ) | = O ( h 4 p ) , w i t h 0 p < 1 .
3. 
In x [ x i , x i + 1 ] , i j 1 , j , j + 1 , if D i D i + 1 0 ,
max x [ x i , x i + 1 ] | f ( x ) P P H ( x ) | = O ( h 3 ) ,
4. 
In x [ x j 1 , x j ] [ x j + 1 , x j + 2 ] ,
max x [ x j 1 , x j ] [ x j + 1 , x j + 2 ] | f ( x ) P P H ( x ) | = O ( h 2 ) ,
where h = max i Z { h i } .
Proof. 
We do the proof point by point.
1. 
Given x [ x i , x i + 1 ] , the reconstruction operator is built as P P H ( x ) = P P H i ( x ) .
From Equations (2) and (6) we can write
M i V ˜ i = w i , 0 w i , 1 ( D i + 1 D i ) 2 w i , 0 D i + 1 + w i , 1 D i if D i D i + 1 > 0 , M i otherwise .
From hypothesis we have that the initial data are strictly convex in the considered area [ x i 1 , x i + 2 ] (for a concave function the arguments remain the same) and therefore they satisfy f ( x ) b > 0 , x [ x i 1 , x i + 2 ] , for some b > 0 . Since second order divided differences amount to second derivatives at an intermediate point divided by two, i.e.,
D i = f ( μ 1 ) 2 ! , D i + 1 = f ( μ 2 ) 2 ! ,
with μ 1 ( x i 1 , x i + 1 ) and μ 2 ( x i , x i + 2 ) . Therefore, we have
D i = O ( 1 ) , D i + 1 = O ( 1 ) and D i + 1 D i = O ( h ) ,
and from (21) we get that
| M i V ˜ i | = O ( h 2 ) .
Plugging this information into (17) if | D i | | D i + 1 | , or into (20) if | D i | > | D i + 1 | , we get that
| a ˜ i , s a i , s | = O ( h 4 s ) , s = 0 , 1 , 2 , 3 .
Thus
| P P H i ( x ) p L i ( x ) | s = 0 3 | a ˜ i , s a i , s | x x i + 1 2 s = O ( h 4 ) ,
where p L i ( x ) is the Lagrange interpolatory polynomial. Taking into account again the triangular inequality
| f ( x ) P P H i ( x ) | | f ( x ) p L i ( x ) | + | p L i ( x ) P P H i ( x ) | = O ( h 4 ) ,
using that Lagrange interpolation also attains fourth order accuracy.
2. 
We now prove Point 2. Since d ( x i 1 , Ω ) < a , or d ( x i + 2 , Ω ) < a , and depending on the exact distance to the inflection point we encounter D i = O ( h p ) , D i + 1 = O ( h p ) , with 0 p < 1 . Then from Equation (21) we directly get | M i V ˜ i | = O ( h 2 p ) , and the rest of the proof follows exactly the same track as in Point 1, giving the enunciated result.
3. 
For proving Point 3, we observe that in this case | M i V ˜ i | = | M i | = O ( h ) , and again following the same track as in previous points we get
| a ˜ i , s a i , s | = O ( h 3 s ) , s = 0 , 1 , 2 , 3 , | P P H i ( x ) p L i ( x ) | s = 0 3 | a ˜ i , s a i , s | x x i + 1 2 s = O ( h 3 ) , | f ( x ) P P H i ( x ) | | f ( x ) p L i ( x ) | + | p L i ( x ) P P H i ( x ) | = O ( h 3 ) ,
and therefore in this case the accuracy is reduced to third order.
4. 
In order to prove Point 4, let us suppose without lost of generalization that x [ x j 1 , x j ] . The other case it is proven analogously. Since by hypothesis the function f ( x ) is smooth in [ x j 2 , x j ] , and it presents a jump discontinuity at the interval [ x j , x j + 1 ] we have D j 1 = O ( 1 ) and D j = O ( 1 / h 2 ) . Therefore | D j 1 | | D j | .
Let p L 2 j 1 ( x ) be the second degree Lagrange interpolatory polynomial built using the three pairs of values ( x j 2 , f j 2 ) , ( x j 1 , f j 1 ) , ( x j , f j ) .
p L 2 j 1 ( x ) = a ^ j 1 , 0 + a ^ j 1 , 1 x x j 1 2 + a ^ j 1 , 2 x x j 1 2 2 ,
where
a ^ j 1 , 0 = f j 1 + f j 2 h j 2 4 D j 1 , a ^ j 1 , 1 = f j 1 + f j h j , a ^ j 1 , 2 = D j 1 .
The difference between these coefficients and the ones of P P H j 1 ( x ) shown in Equation (14) is given by
a ˜ j 1 , 0 a ^ j 1 , 0 = h j 2 4 D j 1 V ˜ j 1 , a ˜ j 1 , 1 a ^ j 1 , 1 = h j 2 4 h j 1 + 2 h j ( D j 1 V ˜ j 1 ) , a ˜ j 1 , 2 a ^ j 1 , 2 = ( D j 1 V ˜ j 1 ) , a ˜ j 1 , 3 = 2 2 h j 1 + h j ( D j 1 V ˜ j 1 ) .
At this stage we distinguish two cases:
4.1. 
D j 1 D j > 0 .
Taking into account Equations (6), (7) and (25) and the triangular inequality we obtain
| V ˜ ( D j 1 , D j ) | 1 w j 1 , 0 | D j 1 | , | D j 1 V ˜ j 1 | | D j 1 | + 1 w j 1 , 0 | D j 1 | = 1 + w j 1 , 0 w j 1 , 0 | D j 1 | = O ( 1 ) , | a ˜ j 1 , s a ^ j 1 , s | = O ( h 2 s ) , s = 0 , 1 , 2 , 3 , | P P H j 1 ( x ) p L 2 j 1 ( x ) | s = 0 3 | a ˜ j 1 , s a ^ j 1 , s | x x j 1 2 s = O ( h 2 ) , | f ( x ) P P H j 1 ( x ) | | f ( x ) p L 2 j 1 ( x ) | + | p L 2 j 1 ( x ) P P H j 1 ( x ) | = O ( h 2 ) .
4.2. 
D j 1 D j 0 .
Equations (6) and (25) and the triangular inequality lead us to
V ˜ j 1 = 0 , | D j 1 V ˜ j 1 | = O ( 1 ) , | a ˜ j 1 , s a ^ j 1 , s | = O ( h 2 s ) , s = 0 , 1 , 2 , 3 , | P P H j 1 ( x ) p L 2 j 1 ( x ) | s = 0 3 | a ˜ j 1 , s a ^ j 1 , s | x x j 1 2 s = O ( h 2 ) , | f ( x ) P P H j 1 ( x ) | | f ( x ) p L 2 j 1 ( x ) | + | p L 2 j 1 ( x ) P P H j 1 ( x ) | = O ( h 2 ) .
And these last chains of equations finish the proof.
We observe that close to the jump discontinuity, that is, in the intervals [ x j 1 , x j ] and [ x j + 1 , x j + 2 ] , we do not lose all accuracy, but we maintain at least second order accuracy. Unfortunately, in the central interval [ x j , x j + 1 ] containing the singularity this approach does not allow us to obtain any gain with respect to other reconstruction operators.
Remark 1.
Notice that linear reconstruction operators based on an stencil of four points typically lose the approximation order in three intervals around discontinuities, while the introduced nonlinear reconstruction operator only loses completely the aproximation order in the interval containing the jump discontinuity and maintains at least second order accuracy, that is, O ( h 2 ) , in the adjacent intervals. In the interval containing the jump discontinuity the approximation order is lost also in the nonlinear reconstruction strategy, since with point values of the function it is impossible to detect the exact position of the jump discontinuity.
Remark 2.
The order reduction due to inflection points can be tackled using a translation strategy in the definition of the Harmonic mean, to avoid arguments of different signs. This strategy complicates the definition of the operator, but it has been satisfactorily introduced on various occasions [12,23]. In practice the translation is needed not only at the interval containing the inflection point, but also in adjacent intervals.

4. Analysis of Gibbs Phenomena around Jump Discontinuities

In this section we are going to give a result analyzing the behavior of the proposed nonlinear reconstruction with respect to the generation of possible Gibbs effects due to the presence of jump discontinuities in the underlying function. In particular we prove the following proposition.
Before enunciating the theorem we introduce some definitions.
Definition 5.
Given X 0 = { x i } i Z a σ quasi-uniform grid in R , we define, for k N (the larger the k the larger the resolution), the set of nested grids given by X k = { x i k } i Z , where x 2 i k = x i k 1 and x 2 i + 1 k = x i k 1 + x i + 1 k 1 2 .
Let us also denote [ f ] the size of a jump discontinuity, r j k ( x ) the straight line joining the points ( x j k , f j k ) and ( x j + 1 k , f j + 1 k ) , d i k ( x ) , i = j 1 , j , j + 1 the vertical distance from the reconstruction P P H j k ( x ) to the horizontal line passing through the middle point of ( x j k , f j k ) and ( x j + 1 k , f j + 1 k ) . The respective expressions come given by
[ f ] = f j + 1 k f j k ,
r j k ( x ) = f j k + f j + 1 k 2 + f j + 1 k f j k h j + 1 k ( x x j + 1 2 k ) ,
d i k ( x ) = P P H i k ( x ) f i k + f i + 1 k 2 .
We will also use r m a x k as the maximum distance between P P H j k ( x ) and r j k ( x ) measured perpendicularly to r j k ( x ) .
Theorem 2.
Let X k = { x i k } i Z , k N { 0 } be a set of nested σ quasi-uniform grids in R . Let f C 4 ( R ) be a function with four continuous derivatives in all the real line with an isolated jump discontinuity at the abscissa μ located at a certain [ x j k , x j + 1 k ] for each k , where j depends on k . Then, k 0 : k k 0 the reconstruction P P H k ( x ) associated to the data f k : = ( f ( x i k ) ) i Z does not generate Gibbs phenomena. In particular, the following statements hold:
1. 
| | P P H k ( x ) f ( x ) | | L = O ( ( h k ) 4 ) i n ( , x j 1 k ] [ x j + 2 k , ) ,
2. 
d j 1 k ( x ) = O ( h k ) ,
3. 
d j + 1 k ( x ) = O ( h k ) ,
4. 
P P H j k ( x ) lies inside the rectangle [ x j k , x j + 1 k ] × [ f j k , f j + 1 k ] ,
5. 
r m a x k = O ( h k ) ,
where h k : = max i Z { h i k } .
Proof. 
Let us consider k large enough, k k 0 , such that
[ f ] h j + 1 k > f j k f j 1 k h j k ,
[ f ] h j + 1 k > f j + 2 k f j + 1 k h j + 2 k .
Then
D j 1 k = O ( 1 ) , D j k = f j + 1 k f j k h j + 1 k f j k f j 1 k h j k h j k + h j + 1 k = O [ f ] ( h k ) 2 ,
D j + 1 k = f j + 2 k f j + 1 k h j + 2 k f j + 1 k f j k h j + 1 k h j + 1 k + h j + 2 k = O [ f ] ( h k ) 2 , D j + 2 k = O ( 1 ) .
and from (28), (29) and (6) we get
s g n ( D j k ) = s g n [ f ] s g n ( D j + 1 k ) , V ˜ j k = 0 .
We carry out the rest of the proof addressing point after point.
1. Since only three intervals are affected by the jump discontinuity for construction, then k
| | P P H k ( x ) f ( x ) | | L = O ( ( h k ) 4 ) in ( , x j 1 k ] [ x j + 2 k , ) .
2. We are going to show now that the oscillations due to the presence of the discontinuity diminish at the interval [ x j 1 k , x j k ] with k increasing.
In [ x j 1 k , x j k ] the PPH reconstruction amounts to
P P H j 1 k ( x ) = a ˜ j 1 , 0 k + a ˜ j 1 , 1 k x x j 1 2 k + a ˜ j 1 , 2 k x x j 1 2 k 2 + a ˜ j 1 , 3 k x x j 1 2 k 3 .
As | D j 1 k | | D j k | , the coefficients are given by (14) adapted to the interval j 1
a ˜ j 1 , 0 k = f j 1 k + f j k 2 ( h j k ) 2 4 V ˜ j 1 k a ˜ j 1 , 1 k = f j 1 k + f j k h j k + ( h j k ) 2 4 h j 1 k + 2 h j k ( D j 1 k V ˜ j 1 k ) a ˜ j 1 , 2 k = V ˜ j 1 k a ˜ j 1 , 3 k = 2 2 h j 1 k + h j k ( D j 1 k V ˜ j 1 k ) .
Taking into account property (7) of the harmonic mean, we can write
| V ˜ j 1 k | = | V ˜ j 1 k ( D j 1 k , D j k ) | min 1 w j 1 , 0 k | D j 1 k | , 1 w j 1 , 1 k | D j k | 1 w j 1 , 0 k | D j 1 k | 2 σ | D j 1 k | .
Considering (31), the distance d j 1 k ( x ) can be bounded by
d j 1 k ( x ) = P P H j 1 k ( x ) f j 1 k + f j k 2 = ( h j k ) 2 4 V ˜ j 1 k + a ˜ j 1 , 1 k x x j 1 2 k + a ˜ j 1 , 2 k x x j 1 2 k 2 + a ˜ j 1 , 3 k x x j 1 2 k 3 = O ( h k ) ,
where h k : = max i Z { h i k } .
3. In [ x j + 1 k , x j + 2 k ] , applying arguments based on symmetry and taking into account that | D j + 1 k | | D j + 2 k | we also get that d j + 1 k ( x ) = O ( h k ) .
4. In [ x j k , x j + 1 k ] , as V ˜ j k = 0 due to (30), the expression of P P H j k ( x ) according to (13), (14), (18) will be
P P H j k ( x ) = f j k + f j + 1 k 2 + a ˜ 1 , j k x x j + 1 2 k + a ˜ 3 , j k x x j + 1 2 k 3 .
At this point we consider two subcases depending on | D j k | and | D j + 1 k |
4.1 | D j k | | D j + 1 k |
We can write
d j k ( x ) = a ˜ 1 , j k x x j + 1 2 k + a ˜ 3 , j k x x j + 1 2 k 3 = x x j + 1 2 k E j k ( x ) ,
where
E j k ( x ) = f j + 1 k f j k h j + 1 k + D j k 4 h j k + 2 h j + 1 k ( h j + 1 k ) 2 4 ( x x j + 1 2 k ) 2 .
The maximum value of the function d j k ( x ) in the interval [ x j k , x j + 1 k ] is either at the extremes of the interval or among any possible critical point x c verifying ( d j k ) ( x c ) = 0 . At the extremes of the interval we have d j k ( x j k ) = d j k ( x j + 1 k ) = 1 2 f j + 1 k f j k , and the condition is satisfied. We are going to prove that the local reconstruction P P H j k ( x ) lies inside the rectangle [ x j k , x j + 1 k ] × [ f j k , f j + 1 k ] since any critical point x c of the function d j k ( x ) falls outside the interval [ x j k , x j + 1 k ] . For this purpose, we shall prove that ( P P H j k ) ( x ) 0 x [ x j k , x j + 1 k ] . We start computing ( P P H j k ) ( x ) and ( P P H j k ) ( x ) ,
( P P H j k ) ( x ) = f j + 1 k f j k h j + 1 k + D j k 4 h j k + 2 h j + 1 k ( h j + 1 k ) 2 12 ( x x j + 1 2 k ) 2 , ( P P H j k ) ( x ) = 24 D j k 4 h j k + 2 h j + 1 k ( x x j + 1 2 k ) .
Last equations show that ( P P H j k ) ( x ) is symmetric respect to the vertical axis passing through x = x j + 1 2 k where it reaches a local maximum since ( P P H j k ) ( x j + 1 2 k ) = 0 .
Evaluating (35) at x j k , x j + 1 2 k and x j + 1 k we obtain
( P P H j k ) ( x j ) = ( P P H j k ) ( x j + 1 ) = f j + 1 k f j k h j + 1 k D j k ( h j + 1 k ) 2 4 ( 2 h j k + h j + 1 k ) ,
( P P H j k ) ( x j + 1 2 k ) = f j + 1 k f j k h j + 1 k + D j k ( h j + 1 k ) 2 2 ( 2 h j k + h j + 1 k ) .
From (37) and (30) we get
s g n ( P P H j k ) ( x j + 1 2 k ) = s g n ( [ f ] ) .
To analyze the sign of ( P P H j k ) ( x j ) we replace in (36) D j k by its expression (28)
( P P H j k ) ( x j ) = f j + 1 k f j k h j + 1 k 1 4 ( h j + 1 k ) 2 ( h j + 1 k ) 2 + 3 h j k h j + 1 k + 2 ( h j k ) 2 f j + 1 k f j k h j + 1 k f j k f j 1 k h j k ,
and we consider two subcases depending on the sign of [ f ] ,
4.1.1 s g n [ f ] > 0 . From (26), [ f ] h j + 1 k > f j k f j 1 k h j k , and we get
( P P H j k ) ( x j ) > f j + 1 k f j k h j + 1 k 1 4 ( h j + 1 k ) 2 ( h j + 1 k ) 2 + 3 h j k h j + 1 k + 2 ( h j k ) 2 2 f j + 1 k f j k h j + 1 k = f j + 1 k f j k h j + 1 k 1 1 2 ( h j + 1 k ) 2 ( h j + 1 k ) 2 + 3 h j k h j + 1 k + 2 ( h j k ) 2 > 1 2 f j + 1 k f j k h j + 1 k > 0 .
4.1.2 s g n [ f ] < 0 . Again from (26), [ f ] h j + 1 k < f j k f j 1 k h j k , and we get
( P P H j k ) ( x j ) < f j + 1 k f j k h j + 1 k 1 4 ( h j + 1 k ) 2 ( h j + 1 k ) 2 + 3 h j k h j + 1 k + 2 ( h j k ) 2 2 f j + 1 k f j k h j + 1 k = f j + 1 k f j k h j + 1 k 1 1 2 ( h j + 1 k ) 2 ( h j + 1 k ) 2 + 3 h j k h j + 1 k + 2 ( h j k ) 2 < 1 2 f j + 1 k f j k h j + 1 k < 0 .
In both subcases s g n ( P P H j k ) ( x j k ) = s g n ( P P H j k ) ( x j + 1 k ) = s g n ( [ f ] ) , which together with expression (38) allow us to write s g n ( P P H j k ) ( x ) = s g n [ f ] x [ x j k , x j + 1 k ] , and therefore ( P P H j k ) ( x ) 0 x [ x j k , x j + 1 k ] , what amounts to say that there is not local maximum value of P P H j k ( x ) inside the interval.
4.2 | D j k | > | D j + 1 k |
In this case
E j k ( x ) = f j + 1 k f j k h j + 1 k D j + 1 k 4 h j + 2 k + 2 h j + 1 k ( h j + 1 k ) 2 4 ( x x j + 1 2 k ) 2 ,
( P P H j k ) ( x ) = f j + 1 k f j k h j + 1 k D j + 1 k 4 h j + 2 k + 2 h j + 1 k ( h j + 1 k ) 2 12 ( x x j + 1 2 k ) 2 , ( P P H j k ) ( x ) = 24 D j + 1 k 4 h j + 2 k + 2 h j + 1 k ( x x j + 1 2 k ) .
Following a similar path to case 4.1 we arrive to
| d j k ( x ) | = P P H j k ( x ) f j k + f j + 1 k 2 1 2 f j + 1 k f j k x [ x j k , x j + 1 k ] ,
( P P H j k ) ( x ) 0 x [ x j , x j + 1 ] , and therefore P P H j k ( x ) remains inside the rectangle [ x j k , x j + 1 k ] × [ f j k , f j + 1 k ] .
5. We start computing the points where the slope of the tangent of P P H j k ( x ) equals to the slope of the straight line r j k ( x ) . We consider two subcases,
5.1 | D j k | | D j + 1 k |
In this case, the above mentioned points where the tangent of p j k ( x ) is parallel to r j k ( x ) are given by:
P 1 x j + 1 2 k + 3 3 h j + 1 k 2 , f j + 1 k + f j k 2 + 3 3 f j + 1 k f j k 2 + 3 9 D j k ( h j + 1 k ) 3 2 ( 2 h j k + h j + 1 k ) , P 2 x j + 1 2 k 3 3 h j + 1 k 2 , f j + 1 k + f j k 2 3 3 f j + 1 k f j k 2 3 9 D j k ( h j + 1 k ) 3 2 ( 2 h j k + h j + 1 k ) .
The largest distance from these points to r j k ( x ) is the maximum distance between P P H j k ( x ) and r j k ( x ) measured perpendicularly to r j k ( x ) .
For both points this distance coincides with
r m a x k = 3 9 | D j k | ( f j + 1 k f j k ) 2 + ( h j + 1 k ) 2 ( h j + 1 k ) 4 2 ( 2 h j k + h j + 1 k ) = O ( h k ) .
5.2 | D j k | > | D j + 1 k | .
The required points P 1 and P 2 in this case take the form:
P 1 x j + 1 2 k + 3 3 h j + 1 k 2 , f j + 1 k + f j k 2 + 3 3 f j + 1 k f j k 2 3 9 D j + 1 k ( h j + 1 k ) 3 2 ( 2 h j + 2 k + h j + 1 k ) , P 2 x j + 1 2 k 3 3 h j + 1 k 2 , f j + 1 k + f j k 2 3 3 f j + 1 k f j k 2 + 3 9 D j + 1 k ( h j + 1 k ) 3 2 ( 2 h j + 2 k + h j + 1 k )
and r m a x k is given by
r m a x k = 3 9 | D j + 1 k | ( f j + 1 k f j k ) 2 + ( h j + 1 k ) 2 ( h j + 1 k ) 4 2 ( 2 h j + 2 k + h j + 1 k ) = O ( h k ) .
Remark 3.
The hypothesis in Theorem 2 concerning the use of a nested set of σ quasi-uniform grids amounts in practice to build the reconstruction with a small enough maximum grid size.
In the next section we carry out some numerical experiments to check that the practical observations coincide with the theoretical results.

5. Numerical Experiment

In this section we present a simple numerical test to validate the theoretical results. Our experiment computes the approximation order of the considered reconstruction in several areas corresponding with the different points in Theorem 1. In particular we measure the approximation order in the following areas, identified with the given acronyms:
A 0 :
In the subinterval containing the discontinuity.
A 1 :
In a region where the function is smooth without inflexion points.
A 2 :
In a region where the function is smooth but contains a inflexion point.
A 3 :
In a region close to the inflexion point without containing it.
A 4 :
In the subinterval just to the right of the one containing the singularity.
Let X 0 = ( 0 , 3 , 8 , 11 , 17 , 23 , 25 , 27 , 31 , 32 , 36 , 37.5 , 38 , 39.3 , 40 ) π 20 be a non uniform grid in [ 0 , 2 π ] and f ( x ) the following smooth function with a jump discontinuity at x = 1.2 π , and an inflexion point at x = 3 π 2 ,
f ( x ) : = sin x x < 1.2 π , cos x + 10 x 1.2 π .
Given the initial abscissas x i , i I = { 0 , , 14 } , we consider the set of nested grids X k = { x i k } i I k , where x 2 i k = x i k 1 , x 2 i + 1 k = x i k 1 + x i + 1 k 1 2 , and I k = { x 0 k , , x n k k } , with n k = 2 n k 1 1 , n 0 = 14 , k = 0 , 1 , , 7 . For each level of resolution k we build the PPH reconstruction using the data ( x i k , f ( x i k ) ) , i I k computing the approximation errors in infinity norm with respect to the original function using a denser set of abscissas, that is, we compute a numerical approximation of
E k : = | | f ( x ) P P H k ( x ) | | .
Then, we compute the numerical approximation order as
p = log 2 E k 1 E k , k = 0 , 1 , . . . , 7 .
Notice that due to Theorem 1 we can assume that for fine enough grids
E k C h k p , with h k : = max i I k { 0 } h i k , h i k : = x i k x i 1 k , h k = h k 1 2 .
In Table 1 and Table 2 we present the errors committed by Lagrange and PPH reconstructions respectively when using as initial nodes the defined nested grids X k . The errors appear separately for each kind of region A 0 , A 1 , A 2 , A 3 and A 4 . The largest error comes near the jump discontinuity for Lagrange reconstruction, as it can be observed in the column corresponding with A 0 .
In Table 3 we present the obtained approximation orders for the studied PPH reconstruction and just for the sake of comparison we also add the approximation orders for the classical four points piecewise Lagrange polynomial interpolation. We have computed the approximation order in the specified different regions A 0 , A 1 , A 2 , A 3 and A 4 . More in concrete, in the case of region A 1 we use the interval [ 2 , 3 ] for the x variable, in the case of region A 2 the interval [ 4 , 5 ] , and in the case of region A 3 the intervals [ x d k + k , 2 π ] , where k indicates the resolution level and the index d k is such that the inflexion point falls into the interval [ x d k 1 , x d k ] for each k . We can observe that in the region A 0 both reconstructions are affected by the jump discontinuity and they lose the approximation order due mainly to the subinterval containing the discontinuity. In the region of type A 1 both reconstructions attain fourth order accuracy as expected. In the case A 2 the PPH reconstruction reduces the approximation order to third order due to the presence of the inflexion point. Similarly in the vicinity of the inflexion point, region A 3 , the PPH reconstruction stays between p = 3 and p = 4 . In the adjacent intervals to the singularity, case A 4 we clearly observe an improvement with respect to Lagrange interpolation, since we obtain order p = 2 while Lagrange completely loses the approximation order. Notice that the order reduction produced in the regions A 2 and A 3 occurs in very limited areas and it can be corrected using a translation strategy (see [12,23]) that we have not implemented in this experiment with the aim of studying the original reconstruction operator.
In Figure 1 we plot the function f ( x ) and the Lagrange and PPH reconstructions obtained from the initial grids X k , k = 0 , 1 , 2 . We can see that around the singularity, Lagrange reconstruction looses the approximation order and the Gibss phenomena appears. In this zone, PPH reconstruction performs in a more proper way, avoiding any Gibbs effects. We can see that no oscillations appear in the PPH reconstruction even for the coarsest grid. These observations can be seen more clearly in Figure 2 where we have plotted a zoom of this region for k = 3 for both reconstruction operators Lagrange and P P H . We also point out that the oscillations due to the jump discontinuity in Lagrange reconstruction do not diminish to zero with the subdivision level. In fact, from k = 2 we have check out that the reconstruction values at the local maxima and minima of the oscillations remain almost constant.
In the jump interval the distance r m a x k decreases as k increases, since r m a x k = O ( h k ) . In Table 4 the values for k = 0 , 1 , , 7 are shown. We can see that at a certain subdivision level the given values are approximately decreasing with the ratio 1 2 . Therefore, PPH reconstruction approaches to the straight line r j k ( x ) as k increases.

6. Conclusions

We have studied the behavior of the PPH reconstruction operator in presence of jump discontinuities for the case of working with σ quasi-uniform grids. For this purpose, the arithmetic and harmonic means used in the uniform case are changed for weighted means with concrete weights, so that the main properties that allow for maintaining order of approximation in smooth areas and adaptation near singularities continue being true.
A explicit result concerning the approximation order, Theorem 1, has been proved, showing at least second order of approximation for the adjacent intervals to the one containing the jump discontinuity, and ensuring fourth order of approximation in convex (concave) parts of the function far from inflexion points. At a interval containing a inflexion point we get third order of approximation and in the vicinity the order grows progressively till fourth order.
A main result of this article is Theorem 2 in Section 4 proving that the presented reconstruction operator does not generate any Gibbs phenomena in the concrete sense indicated in the enunciate for σ quasi-uniform grids where the maximum space between nodes of the grid is small enough.
Finally we have carried out some numerical experiments to reinforce the theoretical results proven as much in Proposition 1 as in Theorem 1.

Author Contributions

Conceptualization, P.O. and J.C.T.; methodology, P.O. and J.C.T.; software, P.O. and J.C.T.; validation, P.O. and J.C.T.; formal analysis, P.O. and J.C.T.; investigation, P.O. and J.C.T.; writing—original draft preparation, P.O. and J.C.T.; writing—review and editing, P.O. and J.C.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the FUNDACIÓN SÉNECA, AGENCIA DE CIENCIA Y TECNOLOGÍA DE LA REGIÓN DE MURCIA grant number 20928 / P I / 18 , and by the Spanish national research project PID2019-108336GB-I00.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not available.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviation

Following abbreviations are used in this manuscript:
PPHPiecewise Polynomial Harmonic

References

  1. Amat, S.; Ruiz, J.; Shu, C.W. On a new WENO algorithm of order 2r with improved accuracy close to discontinuities. Appl. Math. Lett. 2020, 105, 106298–106309. [Google Scholar] [CrossRef]
  2. Amat, S.; Liandrat, J.; Ruiz, J.; Trillo, J.C. On a power WENO scheme with improved accuracy near discontinuities. SIAM J. Sci. Comput. 2017, 39, A2472–A2507. [Google Scholar] [CrossRef]
  3. Amir, A.; Levin, D. Quasi-interpolation and outliers removal. Numer. Algorithms 2018, 78, 805–825. [Google Scholar] [CrossRef]
  4. Aràndiga, F.; Donat, R.; Romani, L.; Rossini, M. On the reconstruction of discontinuous functions using multiquadric RBF-WENO local interpolation techniques. Math. Comput. Simul. 2020, 176, 4–24. [Google Scholar] [CrossRef]
  5. Harten, A. Eno schemes with subcell resolution. J. Comput. Phys. 1989, 83, 148–184. [Google Scholar] [CrossRef] [Green Version]
  6. Amat, S.; Magreñán, A.A.; Ruiz, J.; Trillo, J.C.; Yáñez, D.F. On the use of generalized harmonic means in image processing using multiresolution algorithms. Int. J. Comput. Math. 2020, 97, 455–466. [Google Scholar] [CrossRef]
  7. Donat, R.; Yáñez, D.F. A nonlinear Chaikin-based binary subdivision scheme. J. Comput. Appl. Math. 2019, 349, 379–389. [Google Scholar] [CrossRef]
  8. Dyn, N.; Farkhi, E.; Keinan, S. Approximation of 3D objects by piecewise linear geometric interpolants of their 1D cross-sections. J. Comput. Appl. Math. 2020, 368, 112466–112475. [Google Scholar] [CrossRef]
  9. Mateï, B.; Meignen, S. Nonlinear and nonseparable bidimensional multiscale representation based on cell-average representation. IEEE Trans. Image Process. 2015, 24, 4570–4580. [Google Scholar] [CrossRef] [Green Version]
  10. Dyn, N.; Gregori, J.A.; Levin, D. A 4-point interpolatory subdivision scheme for curve design. Comput. Aided Geom. Design 1987, 4, 257–268. [Google Scholar] [CrossRef]
  11. Dyn, N.; Kuijt, F.; Levin, D.; Van Damme, R. Convexity preservation of the four-point interpolatory subdivision scheme. Comput. Aided Geom. Design 1999, 16, 789–792. [Google Scholar] [CrossRef] [Green Version]
  12. Amat, S.; Donat, R.; Liandrat, J.; Trillo, J.C. Analysis of a new nonlinear subdivision scheme. Applications in image processing. Found. Comput. Math. 2006, 6, 193–225. [Google Scholar] [CrossRef]
  13. Amat, S.; Donat, R.; Trillo, J.C. Proving convexity preserving properties of interpolatory subdivision schemes through reconstruction operators. Appl. Math. Comput. 2013, 219, 7413–7421. [Google Scholar] [CrossRef]
  14. Trillo, J.C. Nonlinear Multiresolution and Applications in Image Processing. Ph.D. Thesis, University of Valencia, Valencia, Spain, 2007. [Google Scholar]
  15. Amat, S.; Dadourian, K.; Liandrat, J.; Trillo, J.C. High order nonlinear interpolatory reconstruction operators and associated multiresolution schemes. J. Comput. Appl. Math. 2013, 253, 163–180. [Google Scholar] [CrossRef]
  16. Amat, S.; Liandrat, J. On the stability of PPH nonlinear multiresolution. Appl. Comput. Harmon. Anal. 2005, 18, 198–206. [Google Scholar] [CrossRef] [Green Version]
  17. Floater, M.S.; Michelli, C.A. Nonlinear Stationary Subdivision. Approximation Theory. 1998, 212, 209–224. [Google Scholar]
  18. Kuijt, F.; Van Damme, R. Convexity preserving interpolatory subdivision schemes. Constr. Approx. 1998, 14, 609–630. [Google Scholar] [CrossRef]
  19. Dyn, N.; Levin, D. Stationary and non-stationary binary subdivision schemes. In Mathematical Methods in Computer Aided Geometric Design II; Academic Press: Boston, MA, USA, 1992; pp. 209–216. [Google Scholar]
  20. Aràndiga, F.; Donat, R. Nonlinear Multi-scale Decomposition: The Approach of A.Harten. Numer. Algorithms 2000, 23, 175–216. [Google Scholar] [CrossRef]
  21. Harten, A. Multiresolution representation of data II. SIAM J. Numer. Anal. 1996, 33, 1205–1256. [Google Scholar] [CrossRef]
  22. Ortiz, P.; Trillo, J.C. On the convexity preservation of a quasi C3 nonlinear interpolatory reconstruction operator on σ quasi-uniform grids. Mathematics 2021, 9, 310. [Google Scholar] [CrossRef]
  23. Amat, C.; Shu, C.W.; Ruiz, J.; Trillo, J.C. On a class of splines free of Gibbs phenomenon. Math. Modell. Numer. Anal. 2020. [Google Scholar] [CrossRef] [Green Version]
Figure 1. In black solid line: function f ( x ) , in green solid line the straight line joining the extreme points of the jump interval [ x j k , x j + 1 k ] , in blue dotted line: Lagrange reconstruction, in red dotted line: PPH reconstruction. Void circles stand for initial nodes, filled circles for nodes at the k subdivision level and asterisks for points P 1 and P 2 . (a) Lagrange k = 0 , (b) PPH k = 0 , (c) Lagrange k = 1 , (d) PPH k = 1 , (e) Lagrange k = 2 , (f) PPH k = 2 .
Figure 1. In black solid line: function f ( x ) , in green solid line the straight line joining the extreme points of the jump interval [ x j k , x j + 1 k ] , in blue dotted line: Lagrange reconstruction, in red dotted line: PPH reconstruction. Void circles stand for initial nodes, filled circles for nodes at the k subdivision level and asterisks for points P 1 and P 2 . (a) Lagrange k = 0 , (b) PPH k = 0 , (c) Lagrange k = 1 , (d) PPH k = 1 , (e) Lagrange k = 2 , (f) PPH k = 2 .
Mathematics 09 00335 g001aMathematics 09 00335 g001b
Figure 2. Zoom of the region around the jump discontinuity for subdivision grid level k = 3 . (a) Lagrange, (b) P P H .
Figure 2. Zoom of the region around the jump discontinuity for subdivision grid level k = 3 . (a) Lagrange, (b) P P H .
Mathematics 09 00335 g002
Table 1. Approximation errors obtained at iteration k , k = 1 , . . . , 7 for the considered cases A 0 , A 1 , A 2 , A 3 and A 4 using the Lagrange reconstruction.
Table 1. Approximation errors obtained at iteration k , k = 1 , . . . , 7 for the considered cases A 0 , A 1 , A 2 , A 3 and A 4 using the Lagrange reconstruction.
kLagrange
A 0 A 1 A 2 A 3 A 4
k = 0 5.6495 3.7038 7.5463 × 10 1 6.3455 × 10 4 7.5463 × 10 1
k = 1 9.4448 7.3685 × 10 4 4.2214 × 10 5 9.0640 × 10 5 6.1204 × 10 1
k = 2 9.3578 6.2735 × 10 5 3.4996 × 10 6 9.2479 × 10 6 6.1887 × 10 1
k = 3 9.3587 4.0575 × 10 6 3.0851 × 10 7 6.5454 × 10 7 6.2234 × 10 1
k = 4 9.3591 2.5733 × 10 7 2.2334 × 10 8 4.3080 × 10 8 6.2409 × 10 1
k = 5 9.3593 1.5978 × 10 8 1.4894 × 10 9 2.7567 × 10 9 6.2496 × 10 1
k = 6 9.3594 1.0021 × 10 9 9.5977 × 10 11 1.7424 × 10 1 6.2540 × 10 1
k = 7 9.3595 6.2737 × 10 11 6.0880 × 10 12 1.0951 × 10 11 6.2562 × 10 1
Table 2. Approximation errors obtained at iteration k , k = 1 , . . . , 7 for the considered cases A 0 , A 1 , A 2 , A 3 and A 4 using the Piecewise Polynomial Harmonic (PPH) reconstruction.
Table 2. Approximation errors obtained at iteration k , k = 1 , . . . , 7 for the considered cases A 0 , A 1 , A 2 , A 3 and A 4 using the Piecewise Polynomial Harmonic (PPH) reconstruction.
kPPH
A 0 A 1 A 2 A 3 A 4
k = 0 5.0072 1.9182 × 10 2 8.3447 × 10 3 2.2239 × 10 3 7.3017 × 10 3
k = 1 9.3051 6.5968 × 10 3 7.8190 × 10 4 2.9306 × 10 4 2.3996 × 10 3
k = 2 9.3588 8.3401 × 10 4 2.4763 × 10 4 3.4429 × 10 5 6.1993 × 10 4
k = 3 9.3591 3.4729 × 10 5 3.0993 × 10 5 2.7653 × 10 6 1.5738 × 10 4
k = 4 9.3593 2.6086 × 10 6 3.8754 × 10 6 2.0098 × 10 7 3.9636 × 10 5
k = 5 9.3594 1.8126 × 10 7 4.8446 × 10 7 4.3976 × 10 8 9.9451 × 10 6
k = 6 9.3595 1.0730 × 10 8 6.0559 × 10 8 4.6559 × 10 9 2.4908 × 10 6
k = 7 9.3595 6.5331 × 10 10 7.5699 × 10 9 5.0457 × 10 10 6.2325 × 10 7
Table 3. Approximation orders obtained at iteration k , k = 1 , . . . , 7 for the considered cases A 0 , A 1 , A 2 , A 3 and A 4 using the PPH and Lagrange reconstructions.
Table 3. Approximation orders obtained at iteration k , k = 1 , . . . , 7 for the considered cases A 0 , A 1 , A 2 , A 3 and A 4 using the PPH and Lagrange reconstructions.
kLagrangePPH
A 0 A 1 A 2 A 3 A 4 A 0 A 1 A 2 A 3 A 4
k = 1 0.7414 12.2953 14.1257 2.8075 0.3021 0.8940 1.5399 3.4158 2.9238 1.6054
k = 2 0.0133 3.5540 3.5925 3.2929 0.0160 0.0083 2.9836 1.6588 3.0895 1.9526
k = 3 0.0001 3.9506 3.5038 3.8206 0.0081 5.4 × 10 5 4.5859 2.9982 3.6381 1.9779
k = 4 6.5 × 10 5 3.9789 3.7880 3.9254 0.0040 2.9 × 10 5 3.7348 2.9995 3.7823 1.9893
k = 5 3.3 × 10 5 4.0094 3.9064 3.9660 0.0020 1.5 × 10 5 3.8472 2.9999 2.1923 1.9948
k = 6 1.6 × 10 5 3.9950 3.9559 3.9838 0.0010 7.4 × 10 6 4.0784 3.0000 3.2396 1.9974
k = 7 8.1 × 10 6 3.9976 3.9787 3.9919 0.0005 3.7 × 10 6 4.0377 3.0000 3.2059 1.9987
Table 4. Distances r m a x k obtained at subdivision level k , k = 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 .
Table 4. Distances r m a x k obtained at subdivision level k , k = 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 .
k = 0 k = 1 k = 2 k = 3 k = 4 k = 5 k = 6 k = 7
r m a x k 1.1126 × 10 3 5.4822 × 10 4 1.2527 × 10 3 6.2825 × 10 4 3.1452 × 10 4 1.5735 × 10 4 7.8700 × 10 5 3.9356 × 10 5
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Ortiz, P.; Trillo, J.C. A Piecewise Polynomial Harmonic Nonlinear Interpolatory Reconstruction Operator on Non Uniform Grids—Adaptation around Jump Discontinuities and Elimination of Gibbs Phenomenon. Mathematics 2021, 9, 335. https://doi.org/10.3390/math9040335

AMA Style

Ortiz P, Trillo JC. A Piecewise Polynomial Harmonic Nonlinear Interpolatory Reconstruction Operator on Non Uniform Grids—Adaptation around Jump Discontinuities and Elimination of Gibbs Phenomenon. Mathematics. 2021; 9(4):335. https://doi.org/10.3390/math9040335

Chicago/Turabian Style

Ortiz, Pedro, and Juan Carlos Trillo. 2021. "A Piecewise Polynomial Harmonic Nonlinear Interpolatory Reconstruction Operator on Non Uniform Grids—Adaptation around Jump Discontinuities and Elimination of Gibbs Phenomenon" Mathematics 9, no. 4: 335. https://doi.org/10.3390/math9040335

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop