A note on optimal $H^1$-error estimates for Crank-Nicolson approximations to the nonlinear Schr\"odinger equation
Patrick Henning, Johan W\"arneg{\aa}rd

TL;DR
This paper establishes optimal $H^1$-error estimates for a mass- and energy-conserving Crank-Nicolson scheme applied to nonlinear Schr"odinger equations, filling a gap in theoretical analysis and providing practical implementation insights.
Contribution
The paper proves optimal $H^1$-error bounds for the Crank-Nicolson method in both semi-discrete and fully-discrete settings, and introduces an efficient fixed point iteration for solving the nonlinear system.
Findings
Proved optimal $L^{ty}(H^1)$-error estimates for the scheme.
Demonstrated the efficiency of the fixed point iteration.
Validated theoretical results with numerical experiments.
Abstract
In this paper we consider a mass- and energy--conserving Crank-Nicolson time discretization for a general class of nonlinear Schr\"odinger equations. This scheme, which enjoys popularity in the physics community due to its conservation properties, was already subject to several analytical and numerical studies. However, a proof of optimal -error estimates is still open, both in the semi-discrete Hilbert space setting, as well as in fully-discrete finite element settings. This paper aims at closing this gap in the literature. We also suggest a fixed point iteration to solve the arising nonlinear system of equations that makes the method easy to implement and efficient. This is illustrated by numerical experiments.
| 0.829 | 0.400 | 0.485 | 0.526 | 0.538 | 0.542 | 0.543 | |
|---|---|---|---|---|---|---|---|
| 1.048 | 0.396 | 0.144 | 0.179 | 0.191 | 0.194 | 0.194 | |
| 1.109 | 0.498 | 0.129 | 0.054 | 0.062 | 0.066 | 0.066 | |
| 1.124 | 0.526 | 0.155 | 0.037 | 0.022 | 0.023 | 0.023 | |
| 1.128 | 0.533 | 0.163 | 0.039 | 0.009 | 0.002 | 0.0005 |
| CN-FEM, , | |||
| CPU [h] | |||
| 0.40 | 4.91 | 0.4 | |
| 0.18 | 3.20 | 0.8 | |
| 0.12 | 1.43 | 1.4 | |
| SP2, | |||
|---|---|---|---|
| CPU [h] | |||
| 0.28 | 4.29 | 0.24 | |
| 0.28 | 2.42 | 0.49 | |
| 0.28 | 2.35 | 0.96 | |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
A note on optimal -error estimates for Crank–Nicolson approximations to the nonlinear Schrödinger equation ***The authors acknowledge the support by the Swedish Research Council (grant 2016-03339) and the Göran Gustafsson foundation.
Patrick Henning and Johan Wärnegård 111Department of Mathematics, KTH Royal Institute of Technology, SE-100 44 Stockholm, Sweden.
Abstract
In this paper we consider a mass- and energy–conserving Crank-Nicolson time discretization for a general class of nonlinear Schrödinger equations. This scheme, which enjoys popularity in the physics community due to its conservation properties, was already subject to several analytical and numerical studies. However, a proof of optimal -error estimates is still open, both in the semi-discrete Hilbert space setting, as well as in fully-discrete finite element settings. This paper aims at closing this gap in the literature. We also suggest a fixed point iteration to solve the arising nonlinear system of equations that makes the method easy to implement and efficient. This is illustrated by numerical experiments.
AMS subject classifications
35Q55, 65M60, 65M15, 81Q05
1 Introduction
In this paper we consider nonlinear Schrödinger equations (NLS) seeking a complex function such that
[TABLE]
in a bounded domain , with a homogenous Dirichlet boundary condition on and a given initial value. Here, is a known real-valued potential and is a smooth (and possibly nonlinear) function that depends on the unknown density . Of particular interest are cubic nonlinearities of the form , for some . In this case, the equation is called Gross–Pitaevskii equation. It has applications in optics [1, 19], fluid dynamics [38, 39] and, most importantly, in quantum physics, where it models for example the dynamics of Bose-Einstein condensates in a magnetic trapping potential [17, 27, 31]. Another relevant class is saturated nonlinearities, such as for some , which appear in the context of nonlinear optical wave propagation in layered metallic structures [15, 23] or the propagation of light beams in plasmas [29]. In order to discretize nonlinear Schrödinger equations in time, splitting methods and exponential integrators typically yield highly efficient solution schemes that can be easily combined with a spectral discretization in space (cf. [9, 12, 14, 16, 18, 28, 35, 34] and the references therein). If the exact solution to the NLS admits high regularity, such discretization schemes typically show a remarkably good performance. However, if the regularity of the solution is strongly reduced, either by rough potentials (e.g. disorder potentials or optical lattices) or by rough initial values (e.g. when effects close to phase transitions are studied), then the performance of these methods can drop dramatically. Here we refer exemplarily to the recent numerical experiments reported in [30, 26, 22]. To overcome this issue, Ostermann and Schratz proposed new low-regularity time-integrators [30, 26] which improve the convergence in low regularity regimes significantly. However, the approach still relies on a Fourier discretization in space, which is not an optimal choice due to the loss of spectral convergence for non-smooth solutions. Practically, the usage of a (low order) finite element space discretization is often desirable in order to account for spatial low regularity. In the following we will only discuss approaches that can be easily combined with finite elements in space, meaning that we put ourselves into the situation that we assume that the solution to the NLS does not admit much smoothness.
Nonlinear Schrödinger equations come with important physical invariants, where the mass and the energy are considered as two of the most crucial ones. When solving a NLS numerically it is therefore of great importance to also reproduce this conservation on the discrete level. This aspect was emphasized by various numerical studies [22, 33], where it was also found that the complexity of the physical setup (or low-regularity) can stress this issue even further.
For the subclass of power law nonlinearities of the form for and , a mass and energy conserving relaxation scheme was proposed and analyzed by Besse [8, 10]. Thanks to its properties, the scheme shows a very good performance in realistic physical setups [22]. Despite the large variety of different numerical approaches for solving the time-dependent NLS (cf. [2, 3, 5, 20, 24, 25, 28, 32, 35, 34, 36, 37, 40] and the references therein) the literature knows however of only one time discretization that conserves both mass and energy simultaneously for arbitrary (smooth) nonlinearities. This discretization, which was first mathematically studied by Sanz-Serna [32] and which is long-known in the physics community, is a Crank–Nicolson-type (CN) approach where the nonlinearity is approximated by a suitable difference quotient involving the primitive integral of . This is also the time discretization that we shall consider in this paper. Here we note it was analytically and numerically demonstrated that this method is applicable and reliable in low-regularity regimes [22, 21].
A combination of the method with a finite difference space discretization was proposed and analyzed by Bao and Cai [4, 6]. Combining the Crank–Nicolson time discretization with a finite element discretization in space, the first a priori error estimates for the arising method were obtained by Sanz-Serna 1984 [32] for cubic nonlinearities. He considers the case and derives optimal -error estimates under the coupling constraint , where denotes the time step size of the Crank-Nicolson method and the mesh size of the finite element discretization in space. In 1991, Akrivis et al. [2] improved this result by showing optimal convergence rates in in dimension and under the relaxed coupling constraint . Finally, in 2017 [21], the -error estimates could be improved yet another time by showing that the coupling constraint can be fully removed. Furthermore, general nonlinearities could be considered, the influence of potentials could be taken into account and even convergence under weak regularity assumptions could be proved (with reduced convergence rates). However, so far, optimal error estimates in for this particular CN-discretization are still open in the literature.
One reason for this absence of -results could be related to the techniques used for the error analysis in previous works (cf. [2, 20, 24, 25, 32, 40]) which is based on the following steps: 1. Appropriate truncation of the nonlinearity to obtain a problem with bounded growth. 2. Analyzing the scheme with truncation in the FE space and deriving corresponding - and/or -error estimates. 3. Using inverse estimates in the finite element space to show that the truncated approximations are uniformly bounded in by a term of the form , with appropriate powers that depend on the considered space discretization, regularity and space dimension. 4. Concluding that if and are coupled in an appropriate way, then the truncated approximations are all uniformly bounded by a constant and hence coincide with a solution to the scheme without truncation.
This strategy does not only have the disadvantage that it produces unnecessary coupling conditions, but also that it becomes impractically technical when considering -error estimates for the Crank–Nicolson FEM. This is because it requires a suitable truncation of the primitive integral of that is on the one hand consistent with the energy conservation and on the other hand allows for uniform bounds of the approximations in . However, thanks to the new techniques developed in [37] and the CN error analysis suggested in [21] in the context of -error estimates, the truncation step is no longer necessary and the desired -bounds can be derived with elliptic regularity theory. With this, it is now possible to obtain estimates in a direct way, not only in the finite element setting, but also in the semi-discrete Hilbert space setting.
In this paper we will therefore build upon the results from [21, 37] to fill the gap in the literature and prove optimal -error estimates for the energy-conservative Crank–Nicolson approach without coupling constraints and for a general class of nonlinearities. The paper is structured as follows. In Section 2 we present the notation and the analytical assumptions on the problem. In Section 3 we present the time–discrete Crank–Nicolson method, we recall its well-posedness and optimal error estimates in . Furthermore, we present and prove the new error estimate in . The paper continues with the fully-discrete setting presented in Section 4, where the time discretization is combined with a finite element discretization in space. We recall what is known about this discretization and finally prove corresponding -error estimates, which is the main result of this paper. The paper concludes with a note on how to efficiently implement the method and two numerical experiments to confirm the convergence rates and to illustrate a setting in which it makes computational sense to use the CN-FEM instead of for example a spectral method.
2 Notation and Assumptions
We start with introducing the analytical setting of this work. Throughout the paper we assume that (for ) is a convex bounded domain with polyhedral boundary. On , the Sobolev space of complex-valued, weakly differentiable functions with a zero trace on and -integratable partial derivatives is as usual denoted by . The potential is assumed to be real and nonnegative. Indirectly, we also assume that is sufficiently smooth so that it is compatible with the regularity assumptions for listed below (see [21] for a discussion on this aspect). The (possibly nonlinear) function
[TABLE]
is assumed to be , fulfills and its growth can be characterized with
[TABLE]
where is a function with the following growth properties
[TABLE]
Note that in [21] the admissible growth condition in requires , which is however a typo and should be, as above, (cf. [13, Proposition 3.2.5 and Remark 3.2.7] for the original result). Examples of nonlinearities that fulfill these assumptions are mentioned in the introduction. The most common and physically relevant choices covered by our setting are power law nonlinearities for and in and in . Other physically relevant nonlinearities that fulfill the conditions are saturated nonlinearities appearing in the modeling of optical wave propagation such as for .
The above assumptions cover the regime of so-called defocussing (positive) nonlinearities and guarantees that the NLS and its Crank-Nicolson discretization are well-posed. For focussing (negative) nonlinearities, i.e. , the well-posedness (of both the continuous and discrete models) can no longer be guaranteed without making additional technical assumptions. Typically, effects such as finite time blow ups can occur in this regime. To avoid constantly having to invoke a saving clause we restrict our attention to the defocussing case. We do however point out that under the assumptions that the NLS and the Crank-Nicolson discretizations are well-posed (without blow-up in the time interval ) then all our error estimates hold without changes.
For the initial value we assume that and, without loss of generality, that it has a normalized mass, i.e. . With this, the considered nonlinear Schrödinger equation (NLS) reads as follows. For a maximum time and an initial value , we seek
[TABLE]
such that and
[TABLE]
in the sense of distributions. Problem (1) admits at least one solution, that is even unique for repulsive cubic nonlinearities in and (cf. [13] in general and [21, Remark 2.1] for precise references). We assume that the solution admits the following additional regularity, which is
[TABLE]
where we note that any solution with the increased regularity of (2) must be unique (cf. [21, Lemma 3.1]). In the rest of the paper hence always refers to this uniquely characterized solution.
It is well known that solutions to the NLS (1) preserve the mass, i.e.
[TABLE]
and the energy, i.e.
[TABLE]
with .
For brevity, we shall denote the -norm of a function by . The -inner product is denoted by . Here, denotes the complex conjugate of .
Throughout the paper we will use the notation , to abbreviate , where is a constant that only depends on , , , , and , but not on the discretization.
Remark 2.1**.**
In the analysis we restrict our attention to homogeneous Dirichlet boundary conditions. Typically these boundary conditions can be motivated by physical reasoning. For example in the context of Bose Einstein condensates, the magnetic potential is a trapping potential that becomes very quickly very large and hence traps the condensate in a bounded region. Mathematically this leads to an exponential decay of the solution to zero (in moderate distances from the origin of the coordinate system) and hence justifies to truncate the computational domain to a simple geometric object on which the problem is solved with zero boundary conditions. A typical alternative found in the literature are periodic boundary conditions which are e.g. favorable for spectral methods. Both the formulation of the Crank-Nicolson method and its error analysis can be easily generalized to that case.
3 Time-discrete Crank-Nicolson scheme
In this section we will state the semi-discrete Crank-Nicolson scheme, recall its well-posedness and available stability bounds, and then use these results to prove optimal -error estimates in the Hilbert space setting. For that, let denote the final time of computation, the number of time-steps, and the time step size. By we shall mean . The exact solution at time shall be denoted by . We also introduce a short hand notation for discrete time derivatives which is and analogously .
3.1 Method formulation and main result
With the notation above, the semi-discrete Crank–Nicolson approximation to is given recursively as the solution (in the sense of distributions) to the equation
[TABLE]
where . The initial value is selected as . It is easily seen that the discretization conserves both mass and energy, i.e.
[TABLE]
The scheme (4) is well-posed and admits a set of a priori error estimates. The properties are summarized in the following theorem that is proved in [21, Theorem 4.1].
Theorem 3.1**.**
Under the general assumptions of this paper, there exists a constant and a solution to the semi-discrete Crank-Nicolson scheme (4) that is uniquely characterized by the property that
[TABLE]
and the a priori estimate for the -error
[TABLE]
where is the (unique) exact solution with the regularity property (2).
Our main result on optimal error estimates in the reads as follows.
Theorem 3.2** (Optimal -error estimates for the semi-discrete method).**
Consider the setting of Theorem 3.1, then the -error converges with optimal order in , i.e.
[TABLE]
The theorem is proved in Section 3.2 below.
3.2 Proof of Theorem 3.2
In this section we will prove Theorem 3.2. Let us introduce some notation that is used throughout the proofs. We recall . Furthermore, we let and . For time derivatives at fixed time , we also write .
We begin by establishing a differential equation for the time discrete error . This is stated in the following lemma.
Lemma 3.3** (Consistency error).**
The error e^{n}=u^{n}-u_{\tau}^{n}\ fulfills the identity
[TABLE]
where the consistency error is given by
[TABLE]
Here, for some bounded functions with the properties that
[TABLE]
for almost all .
Proof.
It is easily verified that exact solution fulfills
[TABLE]
By the regularity assumptions we can apply Taylor expansion arguments to to see:
[TABLE]
The argument that proves (9) is elaborated in Appendix A, where it also becomes visible how the regularity assumptions enter explicitly in the estimate. Next, subtracting (8) from (4) we find that satisfies:
[TABLE]
where denotes the error coming from the nonlinear term, defined by
[TABLE]
Recalling the definition of we have:
[TABLE]
likewise
[TABLE]
The expression for is thus simplified to
[TABLE]
where is a function taking values between and and a function taking values between and . ∎
The differential equation in Lemma 3.3 is now used to derive a recurrence formula for the -norm of the error. Multiplying (6) by , integrating and taking the real part yields:
[TABLE]
The idea is to bound the terms I and II in such a way that Grönwall’s inequality can be used. We proceed to bound term I. Multiplying the error PDE (6) by results in:
[TABLE]
and consequently
[TABLE]
In order to use Grönwall’s inequality we need to bound and in terms of , and terms of . These bounds are formulated in the two following lemmas.
Lemma 3.4**.**
Given the optimal -convergence of Theorem 3.1 and the uniform bounds (5), the error coming from the nonlinear term behaves as , i.e. .
Proof.
We introduce the function to denote how depends on and
[TABLE]
The derivative of with respect to to its -th input is denoted , i.e. . A standard application of the mean value theorem yields that, for some function taking values between and a.e. and for some function likewise between and , it holds:
[TABLE]
A quick sanity check shows that and are bounded by the derivative of :
[TABLE]
where and lie somewhere between and . With the -bounds on and it is now straightforward to show :
[TABLE]
As , it now follows that
[TABLE]
and the lemma is proved. ∎
Lemma 3.5**.**
Given Theorem 3.1, the gradient of the error coming from the nonlinear term is bounded as
Proof.
The steps are much the same as in lemma (3.4), with the exception that we need to use -bounds on (3), which are not available for . We begin by splitting into terms so that the previous lemma may be used.
[TABLE]
By the previous lemma and the -bound on we may conclude,
[TABLE]
What is left to bound is the term . We consider its dependence on and :
[TABLE]
Where is to be read as and as and likewise for and . Another application of the mean value theorem yields:
[TABLE]
for some , between and and some , between and . The following quick calculations show that the partial derivatives of of order two are bounded by .
[TABLE]
Where it was used that . It thus becomes clear that . This gives us the following -bound on (3.5)
[TABLE]
Continuing from (12), we now conclude that:
[TABLE]
It is noted that may be written
[TABLE]
Using the -bound available for we have that . With this, eq. (14) becomes and the lemma is proved. ∎
With Lemma 3.4 and 3.5 we now have the following bound on term I.
Lemma 3.6**.**
For term I which is given by (11), we have the estimate
[TABLE]
We can now proceed to bound term II. Here we explicate the Taylor term using (7) to see
[TABLE]
We start with estimating and IId, which can be bounded in a similar way.
*Step 1, bounding IIa:
*By replacing using (6) (i.e. time derivative is replaced by regularity in space) we have
[TABLE]
The term was absorbed in . Here we see how the assumption that will enter, as it will allow us to conclude that .
*Step 2, bounding IIc:
*We use the same idea as for IIa to get
[TABLE]
*Step 3, bounding IId:
*We start from
[TABLE]
and replace again using (6). Furthermore, in virtue of the assumptions it holds that , this is made explicit in the Appendix (A). We thus obtain
[TABLE]
*Step 4, bounding IIb:
*The previous technique does not work on this term since replacing the discrete time derivative with regularity in space would give rise to the term , which we can not afford. Instead we use summation by parts in time to get the factor , which when integrated against can be handled. First we recall:
[TABLE]
Using this on term IIb yields:
[TABLE]
Collecting the estimates we have the following estimate for term II.
Lemma 3.7**.**
For term it holds the estimate
[TABLE]
Here we note the importance of not estimating the absolute value of the first term since it is necessary to use the fact that of these terms cancel when summed up, i.e. . We are now ready to finish the proof of the first main result.
Proof of Theorem 3.2.
We pick off where we left (10) and find by using Lemma 3.6 and 3.7:
[TABLE]
Summing this up and using gives
[TABLE]
and therefore, recalling (9),
[TABLE]
Young’s inequality with is used on the last term:
[TABLE]
Which holds since,
[TABLE]
where we have by Sobolev embeddings. Finally we arrive at
[TABLE]
and for e.g. we can absorb in the left hand side and conclude
[TABLE]
Grönwall’s inequality now yields:
[TABLE]
∎
4 Fully-discrete Crank-Nicolson scheme
We shall now consider the fully-discrete setting that is based on a finite element discretization in space. For that, we let denote the space of P1 Lagrange finite elements on a quasi-uniform simplicial mesh on with mesh size . In this setting we have by standard finite element theory (cf. [11]) the following estimate for any :
[TABLE]
Here denotes (for example) the Ritz-projection into the finite element space. For a given discrete initial value the CN-FEM approximation to is given by the fully discrete equation
[TABLE]
for all . The initial value is selected as . As in the semi-discrete case, the discretization conserves both mass and energy, i.e.
[TABLE]
The scheme is well-posed and the corresponding approximations converge in the -norm with optimal order in space and time to the exact solution. A proof of this statement can be easily extracted from [21, Theorem 3.1 and Lemma 5.3]. In particular, we have the following result.
Theorem 4.1**.**
Under the general assumptions of this paper, there exists a solution to the fully discrete Crank-Nicolson scheme (20) such that the following a priori error estimates hold
[TABLE]
With this we are ready to state our final theorem.
Theorem 4.2** (Optimal -error estimates for the fully discrete method).**
Let denote the fully-discrete Crank-Nicolson approximations from Theorem 4.1, then it holds
[TABLE]
Proof.
First, we recall the inverse estimate on quasi-uniform meshes (cf. [11]), i.e. for all , which implies
[TABLE]
With this, the convergence result (18) together with Theorem 4.1 suffice to show optimal -convergence rates for the fully discrete method. This is made clear by the following splitting.
[TABLE]
Here we have made use of the inequality (19), the uniform -regularity of , i.e. (cf. (5)) and the optimal -estimates. In virtue of Theorem 3.2 we may thus conclude:
[TABLE]
∎
Detailed numerical studies that confirm the optimal convergence rates stated in Theorem 4.1 and Theorem 4.2 are presented in [21, 22].
5 Implementation and Numerical Examples
In this section we will discuss how the Crank-Nicolson FEM discretization can be efficiently implemented and practically used. Afterwards, we present two numerical experiments. The first one is to confirm the theoretically predicted convergence rates in Theorem 4.1 and the second experiment demonstrates that our approach is fully competitive in low regularity regimes, where we compare it with a time-splitting spectral method.
5.1 Efficient implementation
The Crank Nicolson method (20), albeit popular, suffers from the drawback that it requires solving a fully nonlinear system of equations in each time step. Furthermore, this system of equations is often solved through a Newton step, the implementation of which can become complicated and expensive for general nonlinearities. We present here a competitive fixed point solver which makes the method perform on par in terms of computational time with linearized time-stepping methods such as the RE-FEM proposed by C. Besse [8] which was found to be best performing in [22].
To detail the proposed fixed-point iteration, let denote the vector of nodal values that belongs to the function . Introducing the following matrix notation:
[TABLE]
the equation (20) in matrix form becomes :
[TABLE]
Let and . Our fixed point iteration takes the form:
[TABLE]
Here we note that matrix does not change with time. Hence, the above iteration can be done efficiently by precomputing the LU-factorization of . After it is precomputed, each time step only involves matrix-vector multiplications, but no longer the solving of a linear system of equations. In fact, the main cost in each time step account for the assembly of the updated mass matrix with the densities from the previous time step and the previous iteration. Compared to this, all other costs are essentially negligible. We find that typically, but dependent on , 4-8 iterations are required to reach a tolerance of machine epsilon. To illustrate the efficiency we conclude with two numerical test problems.
5.2 Harmonic potential
First we consider a smooth potential to confirm the expected convergences rates for a type of nonlinearity that complements previous test cases [21, 22]. Here we seek with
[TABLE]
where we consider the saturated nonlinearity (cf. [29, 15, 23]) . Furthermore, is the computational domain, the maximum time is selected as and the trapping potential . For the time-dependent problem we set the trapping frequencies to and . The initial value is the unique positive ground state with to the problem with , i.e. it solves the eigenvalue problem
[TABLE]
with ground state eigenvalue (chemical potential) . The -errors are presented in Table 1. The -convergence is best seen in column , where initially the convergence is but flattens out to for the last data point. Since the reference solution is also computed with , it is expected that this last order of convergence is an overestimate. Using the values in row we estimate the order of convergence with respect to to be , hence, confirming the theoretically predicted rates from Theorem 4.1.
5.3 Discontinuous potential
This example illustrates a moderate setting where, due to reduced regularity of the exact solution, finite element based methods are preferable over spectral methods. In the following we compare the Crank-Nicolson approach with a Strang splitting spectral method of order 2 (SP2) [7] which is known to show a very good performance in smooth settings.
In this test problem we seek with
[TABLE]
where we consider the saturated nonlinearity . For a fair comparison with the SP2, we consider our problem with periodic boundary conditions which are easier to handle by the spectral method. The generalization of the Crank-Nicolson method to periodic boundary conditions is straightforward. Furthermore, is again the computational domain and the maximum time is selected as . The trapping potential , with trapping frequencies and , is discontinuous and causes a slight loss of regularity. We stress that this is a moderate test case, as illustrated in Fig. 1 most of the dynamics take place within the unit cube where the potential is smooth. The initial value is the unique positive ground state with and , i.e. it solves the eigenvalue problem
[TABLE]
The errors and the computational times of the CN-FEM are presented in Table 2 and the errors and computational times of the SP2 in Table 3. The reference solution, , is computed using the CN-FEM with and . The implantation was done in Julia. It is important to keep in mind that the SP2 uses mostly inbuilt functions such as the fast Fourier transform from the C subroutine library (FFTW). These functions are heavily optimized and show an extremely good performance. In spite of this we see, comparing the errors of the CN-FEM for and to those of the SP2 for and , that they are on par with respect to CPU time relative to accuracy, with a slight computational advantage for the CN-FEM. This advantage becomes clearer, the larger the region of reduced regularity (e.g. in the context of optical lattices or disorder potentials). This justifies the usage of CN-FEM in low regularity regimes. Furthermore, it is clearly seen that the space discretization dominates the error of the SP2, in order for the spectral method to catch up in terms of accuracy with the CN-FEM with , an estimated 10 to 40 million degrees of freedom would be needed and thus the memory cost would become an issue.
Acknowledgements. We thank the anonymous referees for their helpful and insightful comments that improved the contents of this paper.
Appendix A Explicit decomposition of the consistency error
Here we make the consistency error (7) and its estimate (9) explicit and highlight where the regularity assumptions come in. For this we use the following standard integral remainder of Taylor expansion (for Sobolev functions ):
[TABLE]
where is the point of expansion and the Taylor polynomial of degree of evaluated in and . Recalling that , the Taylor expansion implies in our case:
[TABLE]
Thus
[TABLE]
Likewise we have
[TABLE]
and
[TABLE]
For the estimate of the term coming from the nonlinearity, we set for the sake of brevity , and to obtain
[TABLE]
Where lies between and . Thus
[TABLE]
which proves (9). Finally we use the above expression for , to bound ,
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] G. P. Agrawal. Nonlinear fiber optics. In P. L. Christiansen, M. P. Sørensen, and A. C. Scott, editors, Nonlinear Science at the Dawn of the 21st Century , pages 195–211, Berlin, Heidelberg, 2000. Springer Berlin Heidelberg.
- 2[2] G. D. Akrivis, V. A. Dougalis, and O. A. Karakashian. On fully discrete Galerkin methods of second-order temporal accuracy for the nonlinear Schrödinger equation. Numer. Math. , 59(1):31–53, 1991.
- 3[3] X. Antoine, W. Bao, and C. Besse. Computational methods for the dynamics of the nonlinear Schrödinger/Gross-Pitaevskii equations. Comput. Phys. Commun. , 184(12):2621–2633, 2013.
- 4[4] W. Bao and Y. Cai. Uniform error estimates of finite difference methods for the nonlinear Schrödinger equation with wave operator. SIAM J. Numer. Anal. , 50(2):492–521, 2012.
- 5[5] W. Bao and Y. Cai. Mathematical theory and numerical methods for Bose-Einstein condensation. Kinet. Relat. Models , 6(1):1–135, 2013.
- 6[6] W. Bao and Y. Cai. Optimal error estimates of finite difference methods for the Gross-Pitaevskii equation with angular momentum rotation. Math. Comp. , 82(281):99–128, 2013.
- 7[7] W. Bao, S. Jin, and P. A. Markowich. Numerical study of time-splitting spectral discretizations of nonlinear Schrödinger equations in the semiclassical regimes. SIAM J. Sci. Comput. , 25(1):27–64, 2003.
- 8[8] C. Besse. A relaxation scheme for the nonlinear Schrödinger equation. SIAM J. Numer. Anal. , 42(3):934–952, 2004.
