PDF version (NAG web site
, 64-bit version, 64-bit version)
NAG Toolbox: nag_pde_1d_parab_coll (d03pd)
Purpose
nag_pde_1d_parab_coll (d03pd) integrates a system of linear or nonlinear parabolic partial differential equations (PDEs) in one space variable. The spatial discretization is performed using a Chebyshev collocation method, and the method of lines is employed to reduce the PDEs to a system of ordinary differential equations (ODEs). The resulting system is solved using a backward differentiation formula method.
Syntax
[
ts,
u,
x,
rsave,
isave,
ind,
user,
cwsav,
lwsav,
iwsav,
rwsav,
ifail] = d03pd(
m,
ts,
tout,
pdedef,
bndary,
u,
xbkpts,
npoly,
uinit,
acc,
rsave,
isave,
itask,
itrace,
ind,
cwsav,
lwsav,
iwsav,
rwsav, 'npde',
npde, 'nbkpts',
nbkpts, 'npts',
npts, 'user',
user)
[
ts,
u,
x,
rsave,
isave,
ind,
user,
cwsav,
lwsav,
iwsav,
rwsav,
ifail] = nag_pde_1d_parab_coll(
m,
ts,
tout,
pdedef,
bndary,
u,
xbkpts,
npoly,
uinit,
acc,
rsave,
isave,
itask,
itrace,
ind,
cwsav,
lwsav,
iwsav,
rwsav, 'npde',
npde, 'nbkpts',
nbkpts, 'npts',
npts, 'user',
user)
Note: the interface to this routine has changed since earlier releases of the toolbox:
At Mark 22: |
lrsave and lisave were removed from the interface |
Description
nag_pde_1d_parab_coll (d03pd) integrates the system of parabolic equations:
where
,
and
depend on
,
,
,
and the vector
is the set of solution values
and the vector
is its partial derivative with respect to
. Note that
,
and
must not depend on
.
The integration in time is from to , over the space interval , where and are the leftmost and rightmost of a user-defined set of break-points . The coordinate system in space is defined by the value of ; for Cartesian coordinates, for cylindrical polar coordinates and for spherical polar coordinates.
The system is defined by the functions
,
and
which must be specified in
pdedef.
The initial values of the functions
must be given at
, and must be specified in
uinit.
The functions
, for
, which may be thought of as fluxes, are also used in the definition of the boundary conditions for each equation. The boundary conditions must have the form
where
or
.
The boundary conditions must be specified in
bndary. Thus, the problem is subject to the following restrictions:
(i) |
, so that integration is in the forward direction; |
(ii) |
, and the flux must not depend on any time derivatives; |
(iii) |
the evaluation of the functions , and is done at both the break-points and internally selected points for each element in turn, that is , and are evaluated twice at each break-point. Any discontinuities in these functions must therefore be at one or more of the break-points ; |
(iv) |
at least one of the functions must be nonzero so that there is a time derivative present in the problem; |
(v) |
if and , which is the left boundary point, then it must be ensured that the PDE solution is bounded at this point. This can be done by either specifying the solution at or by specifying a zero flux there, that is and . See also Further Comments. |
The parabolic equations are approximated by a system of ODEs in time for the values of
at the mesh points. This ODE system is obtained by approximating the PDE solution between each pair of break-points by a Chebyshev polynomial of degree
npoly. The interval between each pair of break-points is treated by
nag_pde_1d_parab_coll (d03pd) as an element, and on this element, a polynomial and its space and time derivatives are made to satisfy the system of PDEs at
spatial points, which are chosen internally by the code and the break-points. In the case of just one element, the break-points are the boundaries. The user-defined break-points and the internally selected points together define the mesh. The smallest value that
npoly can take is one, in which case, the solution is approximated by piecewise linear polynomials between consecutive break-points and the method is similar to an ordinary finite element method.
In total there are mesh points in the spatial direction, and ODEs in the time direction; one ODE at each break-point for each PDE component and () ODEs for each PDE component between each pair of break-points. The system is then integrated forwards in time using a backward differentiation formula method.
References
Berzins M (1990) Developments in the NAG Library software for parabolic equations Scientific Software Systems (eds J C Mason and M G Cox) 59–72 Chapman and Hall
Berzins M and Dew P M (1991) Algorithm 690: Chebyshev polynomial software for elliptic-parabolic systems of PDEs ACM Trans. Math. Software 17 178–206
Zaturska N B, Drazin P G and Banks W H H (1988) On the flow of a viscous fluid driven along a channel by a suction at porous walls Fluid Dynamics Research 4
Parameters
Compulsory Input Parameters
- 1:
– int64int32nag_int scalar
-
The coordinate system used:
- Indicates Cartesian coordinates.
- Indicates cylindrical polar coordinates.
- Indicates spherical polar coordinates.
Constraint:
, or .
- 2:
– double scalar
-
The initial value of the independent variable .
Constraint:
.
- 3:
– double scalar
-
The final value of to which the integration is to be carried out.
- 4:
– function handle or string containing name of m-file
-
pdedef must compute the values of the functions
,
and
which define the system of PDEs. The functions may depend on
,
,
and
and must be evaluated at a set of points.
[p, q, r, ires, user] = pdedef(npde, t, x, nptl, u, ux, ires, user)
Input Parameters
- 1:
– int64int32nag_int scalar
-
The number of PDEs in the system.
- 2:
– double scalar
-
The current value of the independent variable .
- 3:
– double array
-
Contains a set of mesh points at which , and are to be evaluated. and contain successive user-supplied break-points and the elements of the array will satisfy .
- 4:
– int64int32nag_int scalar
-
The number of points at which evaluations are required (the value of ).
- 5:
– double array
-
contains the value of the component where , for and .
- 6:
– double array
-
contains the value of the component where , for and .
- 7:
– int64int32nag_int scalar
-
Set to .
- 8:
– Any MATLAB object
pdedef is called from
nag_pde_1d_parab_coll (d03pd) with the object supplied to
nag_pde_1d_parab_coll (d03pd).
Output Parameters
- 1:
– double array
-
must be set to the value of where , for , and .
- 2:
– double array
-
must be set to the value of where , for and .
- 3:
– double array
-
must be set to the value of where , for and .
- 4:
– int64int32nag_int scalar
-
Should usually remain unchanged. However, you may set
ires to force the integration function to take certain actions as described below:
- Indicates to the integrator that control should be passed back immediately to the calling (sub)routine with the error indicator set to .
- Indicates to the integrator that the current time step should be abandoned and a smaller time step used instead. You may wish to set when a physically meaningless input or output value has been generated. If you consecutively set , then nag_pde_1d_parab_coll (d03pd) returns to the calling function with the error indicator set to .
- 5:
– Any MATLAB object
- 5:
– function handle or string containing name of m-file
-
bndary must compute the functions
and
which define the boundary conditions as in equation
(3).
[beta, gamma, ires, user] = bndary(npde, t, u, ux, ibnd, ires, user)
Input Parameters
- 1:
– int64int32nag_int scalar
-
The number of PDEs in the system.
- 2:
– double scalar
-
The current value of the independent variable .
- 3:
– double array
-
contains the value of the component
at the boundary specified by
ibnd, for
.
- 4:
– double array
-
contains the value of the component
at the boundary specified by
ibnd, for
.
- 5:
– int64int32nag_int scalar
-
Specifies which boundary conditions are to be evaluated.
- bndary must set up the coefficients of the left-hand boundary, .
- bndary must set up the coefficients of the right-hand boundary, .
- 6:
– int64int32nag_int scalar
-
Set to .
- 7:
– Any MATLAB object
bndary is called from
nag_pde_1d_parab_coll (d03pd) with the object supplied to
nag_pde_1d_parab_coll (d03pd).
Output Parameters
- 1:
– double array
-
must be set to the value of
at the boundary specified by
ibnd, for
.
- 2:
– double array
-
must be set to the value of
at the boundary specified by
ibnd, for
.
- 3:
– int64int32nag_int scalar
-
Should usually remain unchanged. However, you may set
ires to force the integration function to take certain actions as described below:
- Indicates to the integrator that control should be passed back immediately to the calling (sub)routine with the error indicator set to .
- Indicates to the integrator that the current time step should be abandoned and a smaller time step used instead. You may wish to set when a physically meaningless input or output value has been generated. If you consecutively set , then nag_pde_1d_parab_coll (d03pd) returns to the calling function with the error indicator set to .
- 4:
– Any MATLAB object
- 6:
– double array
-
If
the value of
u must be unchanged from the previous call.
- 7:
– double array
-
The values of the break-points in the space direction. must specify the left-hand boundary, , and must specify the right-hand boundary, .
Constraint:
.
- 8:
– int64int32nag_int scalar
-
The degree of the Chebyshev polynomial to be used in approximating the PDE solution between each pair of break-points.
Constraint:
.
- 9:
– function handle or string containing name of m-file
-
uinit must compute the initial values of the PDE components
, for
and
.
[u, user] = uinit(npde, npts, x, user)
Input Parameters
- 1:
– int64int32nag_int scalar
-
The number of PDEs in the system.
- 2:
– int64int32nag_int scalar
-
The number of mesh points in the interval .
- 3:
– double array
-
, contains the values of the th mesh point, for .
- 4:
– Any MATLAB object
uinit is called from
nag_pde_1d_parab_coll (d03pd) with the object supplied to
nag_pde_1d_parab_coll (d03pd).
Output Parameters
- 1:
– double array
-
must be set to the initial value , for and .
- 2:
– Any MATLAB object
- 10:
– double scalar
-
A positive quantity for controlling the local error estimate in the time integration. If
is the estimated error for
at the
th mesh point, the error test is:
Constraint:
.
- 11:
– double array
-
lrsave, the dimension of the array, must satisfy the constraint
.
If
,
rsave need not be set on entry.
If
,
rsave must be unchanged from the previous call to the function because it contains required information about the iteration.
- 12:
– int64int32nag_int array
-
lisave, the dimension of the array, must satisfy the constraint
.
If
,
isave need not be set on entry.
If
,
isave must be unchanged from the previous call to the function because it contains required information about the iteration. In particular:
- Contains the number of steps taken in time.
- Contains the number of residual evaluations of the resulting ODE system used. One such evaluation involves computing the PDE functions at all the mesh points, as well as one evaluation of the functions in the boundary conditions.
- Contains the number of Jacobian evaluations performed by the time integrator.
- Contains the order of the last backward differentiation formula method used.
- Contains the number of Newton iterations performed by the time integrator. Each iteration involves an ODE residual evaluation followed by a back-substitution using the decomposition of the Jacobian matrix.
- 13:
– int64int32nag_int scalar
-
Specifies the task to be performed by the ODE integrator.
- Normal computation of output values u at .
- One step and return.
- Stop at first internal integration point at or beyond .
Constraint:
, or .
- 14:
– int64int32nag_int scalar
-
The level of trace information required from
nag_pde_1d_parab_coll (d03pd) and the underlying ODE solver.
itrace may take the value
,
,
,
or
.
- No output is generated.
- Only warning messages from the PDE solver are printed on the current error message unit (see nag_file_set_unit_error (x04aa)).
- Output from the underlying ODE solver is printed on the current advisory message unit (see nag_file_set_unit_advisory (x04ab)). This output contains details of Jacobian entries, the nonlinear iteration and the time integration during the computation of the ODE system.
If , then is assumed and similarly if , then is assumed.
The advisory messages are given in greater detail as
itrace increases. You are advised to set
, unless you are experienced with
Sub-chapter D02M–N.
- 15:
– int64int32nag_int scalar
-
Indicates whether this is a continuation call or a new integration.
- Starts or restarts the integration in time.
- Continues the integration after an earlier exit from the function. In this case, only the arguments tout and ifail should be reset between calls to nag_pde_1d_parab_coll (d03pd).
Constraint:
or .
- 16:
– cell array of strings
-
- 17:
– logical array
-
- 18:
– int64int32nag_int array
-
- 19:
– double array
-
Optional Input Parameters
- 1:
– int64int32nag_int scalar
-
Default:
the first dimension of the array
u.
The number of PDEs in the system to be solved.
Constraint:
.
- 2:
– int64int32nag_int scalar
-
Default:
the dimension of the array
xbkpts.
The number of break-points in the interval .
Constraint:
.
- 3:
– int64int32nag_int scalar
-
Default:
the second dimension of the array
u.
The number of mesh points in the interval .
Constraint:
.
- 4:
– Any MATLAB object
user is not used by
nag_pde_1d_parab_coll (d03pd), but is passed to
pdedef,
bndary and
uinit. Note that for large objects it may be more efficient to use a global variable which is accessible from the m-files than to use
user.
Output Parameters
- 1:
– double scalar
-
The value of
corresponding to the solution values in
u. Normally
.
- 2:
– double array
-
will contain the computed solution at .
- 3:
– double array
-
The mesh points chosen by
nag_pde_1d_parab_coll (d03pd) in the spatial direction. The values of
x will satisfy
.
- 4:
– double array
-
If
,
rsave must be unchanged from the previous call to the function because it contains required information about the iteration.
- 5:
– int64int32nag_int array
-
If
,
isave must be unchanged from the previous call to the function because it contains required information about the iteration. In particular:
- Contains the number of steps taken in time.
- Contains the number of residual evaluations of the resulting ODE system used. One such evaluation involves computing the PDE functions at all the mesh points, as well as one evaluation of the functions in the boundary conditions.
- Contains the number of Jacobian evaluations performed by the time integrator.
- Contains the order of the last backward differentiation formula method used.
- Contains the number of Newton iterations performed by the time integrator. Each iteration involves an ODE residual evaluation followed by a back-substitution using the decomposition of the Jacobian matrix.
- 6:
– int64int32nag_int scalar
-
.
- 7:
– Any MATLAB object
- 8:
– cell array of strings
-
- 9:
– logical array
-
- 10:
– int64int32nag_int array
-
- 11:
– double array
-
- 12:
– int64int32nag_int scalar
unless the function detects an error (see
Error Indicators and Warnings).
Error Indicators and Warnings
Errors or warnings detected by the function:
Cases prefixed with W are classified as warnings and
do not generate an error of type NAG:error_n. See nag_issue_warnings.
-
-
On entry, | , |
or | is too small, |
or | , or , |
or | , or , |
or | and , |
or | , |
or | , |
or | or , |
or | , |
or | , |
or | or , |
or | break-points are not ordered, |
or | lrsave is too small, |
or | lisave is too small. |
- W
-
The underlying ODE solver cannot make any further progress across the integration range from the current point
with the supplied value of
acc. The components of
u contain the computed values at the current point
.
- W
-
In the underlying ODE solver, there were repeated errors or corrector convergence test failures on an attempted step, before completing the requested task. The problem may have a singularity or
acc is too small for the integration to continue. Integration was successful as far as
.
-
-
In setting up the ODE system, the internal initialization function was unable to initialize the derivative of the ODE system. This could be due to the fact that
ires was repeatedly set to
in at least
pdedef or
bndary, when the residual in the underlying ODE solver was being evaluated.
-
-
In solving the ODE system, a singular Jacobian has been encountered. You should check your problem formulation.
- W
-
When evaluating the residual in solving the ODE system,
ires was set to
in at least
pdedef or
bndary. Integration was successful as far as
.
-
-
The value of
acc is so small that the function is unable to start the integration in time.
-
-
In one of
pdedef or
bndary,
ires was set to an invalid value.
- (nag_ode_ivp_stiff_imp_revcom (d02nn))
-
A serious error has occurred in an internal call to the specified function. Check the problem specification and all arguments and array dimensions. Setting
may provide more information. If the problem persists, contact
NAG.
- W
-
The required task has been completed, but it is estimated that a small change in
acc is unlikely to produce any change in the computed solution. (Only applies when you are not operating in one step mode, that is when
.)
-
-
An error occurred during Jacobian formulation of the ODE system (a more detailed error description may be directed to the current error message unit).
-
-
Not applicable.
-
-
Not applicable.
-
-
The flux function was detected as depending on time derivatives, which is not permissible.
-
An unexpected error has been triggered by this routine. Please
contact
NAG.
-
Your licence key may have expired or may not have been installed correctly.
-
Dynamic memory allocation failed.
Accuracy
nag_pde_1d_parab_coll (d03pd) controls the accuracy of the integration in the time direction but not the accuracy of the approximation in space. The spatial accuracy depends on the degree of the polynomial approximation
npoly, and on both the number of break-points and on their distribution in space. In the time integration only the local error over a single step is controlled and so the accuracy over a number of steps cannot be guaranteed. You should therefore test the effect of varying the accuracy argument,
acc.
Further Comments
nag_pde_1d_parab_coll (d03pd) is designed to solve parabolic systems (possibly including elliptic equations) with second-order derivatives in space. The argument specification allows you to include equations with only first-order derivatives in the space direction but there is no guarantee that the method of integration will be satisfactory for such systems. The position and nature of the boundary conditions in particular are critical in defining a stable problem.
The time taken depends on the complexity of the parabolic system and on the accuracy requested.
Example
The problem consists of a fourth-order PDE which can be written as a pair of second-order elliptic-parabolic PDEs for
and
,
where
and
. The boundary conditions are given by
The initial conditions at
are given by
The absence of boundary conditions for
does not pose any difficulties provided that the derivative flux boundary conditions are assigned to the first PDE
(4) which has the correct flux,
. The conditions on
at the boundaries are assigned to the second PDE by setting
in equation
(3) and placing the Dirichlet boundary conditions on
in the function
.
Open in the MATLAB editor:
d03pd_example
function d03pd_example
fprintf('d03pd example results\n\n');
npde = 2;
intpts = 6;
nbkpts = 10;
npoly = int64(3);
npts = (nbkpts-1)*npoly + 1;
lisave = npde*npts + 24;
rsave = zeros(4000, 1);
u = zeros(npde, npts);
isave = zeros(lisave, 1, 'int64');
lwsav = false(100, 1);
iwsav = zeros(505, 1, 'int64');
rwsav = zeros(1100, 1);
cwsav = {''; ''; ''; ''; ''; ''; ''; ''; ''; ''};
xinterp = [-1:0.4:1];
niter = 20;
tsav = zeros(niter, 1);
usav = zeros(2, niter, npts);
isav = 0;
hx = 2/(nbkpts-1);
xbkpts = [-1:hx:1];
m = int64(0);
ts = 0.0;
tout = 0.1e-4;
acc = 1.0e-4;
itask = int64(1);
itrace = int64(0);
ind0 = int64(0);
alpha = -log(tout)/(niter-1);
fprintf('polynomial degree = %4d no. of elements = %4d\n', npoly, nbkpts-1);
fprintf('accuracy requirement = %10.3e number of points = %5d', acc, npts);
fprintf('\n\n t / x ');
fprintf('%8.4f', xinterp);
fprintf('\n\n');
for iter = 1:niter
tout = exp(alpha*(iter - niter));
[ts, u, x, rsave, isave, ind, user, cwsav, lwsav, iwsav, rwsav, ifail] = ...
d03pd( ...
m, ts, tout, @pdedef, ...
@bndary, u, xbkpts, npoly, @uinit, ...
acc, rsave, isave, itask, itrace, ind0, ...
cwsav, lwsav, iwsav, rwsav);
itype = int64(1);
[uinterp, rsave, ifail] = d03py( ...
u, xbkpts, npoly, xinterp, itype, rsave);
fprintf('%7.4f u(1)', ts);
fprintf('%8.4f', uinterp(1,:,1));
fprintf('\n u(2)');
fprintf('%8.4f', uinterp(2,:,1));
fprintf('\n\n');
isav = isav+1;
tsav(isav) = ts;
usav(1:2,isav,1:npts) = u(1:2,1:npts);
end
fprintf(' Number of integration steps in time = %6d\n', isave(1));
fprintf(' Number of function evaluations = %6d\n', isave(2));
fprintf(' Number of Jacobian evaluations = %6d\n', isave(3));
fprintf(' Number of iterations = %6d\n', isave(5));
fig1 = figure;
plot_results(x, tsav, squeeze(usav(1,:,:)), 'u_1');
fig2 = figure;
plot_results(x, tsav, squeeze(usav(2,:,:)), 'u_2');
function [p, q, r, ires, user] = pdedef(npde, t, x, nptl, u, ux, ires, user)
p = zeros(npde, npde, nptl);
q = zeros(npde, nptl);
r = zeros(npde, nptl);
for i = 1:double(nptl)
q(1,i) = u(2,i);
q(2,i) = u(1,i)*ux(2,i) - ux(1,i)*u(2,i);
r(1,i) = ux(1,i);
r(2,i) = ux(2,i);
p(2,2,i) = 1;
end;
function [beta, gamma, ires, user] = bndary(npde, t, u, ux, ibnd, ires, user)
beta = zeros(npde, 1);
gamma = zeros(npde, 1);
beta(1) = 1;
beta(2) = 0;
gamma(1) = 0;
if (ibnd == 0)
gamma(2) = u(1) - 1;
else
gamma(2) = u(1) + 1;
end
function [u, user] = uinit(npde, npts, x, user)
u = zeros(npde, npts);
piby2 = pi/2;
u(1,:) = -sin(piby2*x);
u(2,:) = -piby2*piby2*u(1,:);
function plot_results(x, t, u, ident)
mesh(x, t, u);
set(gca, 'YScale', 'log');
set(gca, 'YTick', [0.00001 0.0001 0.001 0.01 0.1 1]);
set(gca, 'YMinorGrid', 'off');
set(gca, 'YMinorTick', 'off');
xlabel('x');
ylabel('t');
zlabel([ident,'(x,t)']);
title({['Solution ',ident,' of elliptic-parabolic pair'], ...
'using Chebyshev Collocation and BDF'});
axis([x(1) x(end) t(1) t(end)]);
view(-165, 44);
d03pd example results
polynomial degree = 3 no. of elements = 9
accuracy requirement = 1.000e-04 number of points = 28
t / x -1.0000 -0.6000 -0.2000 0.2000 0.6000 1.0000
0.0000 u(1) 1.0000 0.8090 0.3090 -0.3090 -0.8090 -1.0000
u(2) -2.4690 -1.9961 -0.7624 0.7624 1.9961 2.4690
0.0000 u(1) 1.0000 0.8090 0.3090 -0.3090 -0.8090 -1.0000
u(2) -2.4687 -1.9961 -0.7624 0.7624 1.9961 2.4687
0.0000 u(1) 1.0000 0.8090 0.3090 -0.3090 -0.8090 -1.0000
u(2) -2.4700 -1.9961 -0.7624 0.7624 1.9961 2.4700
0.0001 u(1) 1.0000 0.8090 0.3090 -0.3090 -0.8090 -1.0000
u(2) -2.4724 -1.9960 -0.7624 0.7624 1.9960 2.4724
0.0001 u(1) 1.0000 0.8090 0.3090 -0.3090 -0.8090 -1.0000
u(2) -2.4767 -1.9959 -0.7624 0.7624 1.9959 2.4767
0.0002 u(1) 1.0000 0.8090 0.3090 -0.3090 -0.8090 -1.0000
u(2) -2.4840 -1.9957 -0.7623 0.7623 1.9957 2.4840
0.0004 u(1) 1.0000 0.8089 0.3090 -0.3090 -0.8089 -1.0000
u(2) -2.4960 -1.9953 -0.7621 0.7621 1.9953 2.4960
0.0007 u(1) 1.0000 0.8089 0.3089 -0.3089 -0.8089 -1.0000
u(2) -2.5142 -1.9946 -0.7619 0.7619 1.9946 2.5142
0.0013 u(1) 1.0000 0.8087 0.3089 -0.3089 -0.8087 -1.0000
u(2) -2.5374 -1.9933 -0.7614 0.7614 1.9933 2.5374
0.0023 u(1) 1.0000 0.8085 0.3087 -0.3087 -0.8085 -1.0000
u(2) -2.5611 -1.9910 -0.7605 0.7605 1.9910 2.5611
0.0043 u(1) 1.0000 0.8081 0.3085 -0.3085 -0.8081 -1.0000
u(2) -2.5869 -1.9866 -0.7588 0.7588 1.9866 2.5869
0.0078 u(1) 1.0000 0.8074 0.3081 -0.3081 -0.8074 -1.0000
u(2) -2.6183 -1.9787 -0.7558 0.7558 1.9787 2.6183
0.0144 u(1) 1.0000 0.8063 0.3075 -0.3075 -0.8063 -1.0000
u(2) -2.6604 -1.9643 -0.7503 0.7503 1.9643 2.6604
0.0264 u(1) 1.0000 0.8045 0.3064 -0.3064 -0.8045 -1.0000
u(2) -2.7128 -1.9394 -0.7402 0.7402 1.9394 2.7128
0.0483 u(1) 1.0000 0.8020 0.3046 -0.3046 -0.8020 -1.0000
u(2) -2.7723 -1.9042 -0.7222 0.7222 1.9042 2.7723
0.0886 u(1) 1.0000 0.7990 0.3022 -0.3022 -0.7990 -1.0000
u(2) -2.8331 -1.8684 -0.6915 0.6915 1.8684 2.8331
0.1624 u(1) 1.0000 0.7962 0.2996 -0.2996 -0.7962 -1.0000
u(2) -2.8840 -1.8423 -0.6512 0.6512 1.8423 2.8840
0.2976 u(1) 1.0000 0.7944 0.2978 -0.2978 -0.7944 -1.0000
u(2) -2.9140 -1.8287 -0.6218 0.6218 1.8287 2.9140
0.5456 u(1) 1.0000 0.7939 0.2973 -0.2973 -0.7939 -1.0000
u(2) -2.9225 -1.8250 -0.6129 0.6129 1.8250 2.9225
1.0000 u(1) 1.0000 0.7939 0.2972 -0.2972 -0.7939 -1.0000
u(2) -2.9233 -1.8247 -0.6120 0.6120 1.8247 2.9233
Number of integration steps in time = 38
Number of function evaluations = 237
Number of Jacobian evaluations = 9
Number of iterations = 89
PDF version (NAG web site
, 64-bit version, 64-bit version)
© The Numerical Algorithms Group Ltd, Oxford, UK. 2009–2015