nag_pde_parab_1d_cd_ode_remesh (d03psc) Example Program Results


Example 1

  npts =   61 atol =  1.000e-04 rtol =  1.000e-04

(User-supplied callback uvin1, first invocation.)
(User-supplied callback monit1, first invocation.)
(User-supplied callback bndry1, first invocation.)
(User-supplied callback pdef1, first invocation.)
(User-supplied callback nmflx1, first invocation.)
 t =  0.100
 x           0.2000   0.3000   0.4000   0.5000   0.6000   0.7000   0.8000
 Approx u    0.0000   0.1198   0.9461   0.1182   0.0000   0.0000   0.0000

 t =  0.200
 x           0.2000   0.3000   0.4000   0.5000   0.6000   0.7000   0.8000
 Approx u    0.0000   0.0007   0.1631   0.9015   0.1629   0.0001   0.0000

 t =  0.300
 x           0.2000   0.3000   0.4000   0.5000   0.6000   0.7000   0.8000
 Approx u    0.0000   0.0000   0.0025   0.1924   0.8596   0.1946   0.0002

 Number of integration steps in time =     92
 Number of function evaluations =    443
 Number of Jacobian evaluations =    39
 Number of iterations =    231



Example 2

 npts =   61 atol =  5.000e-04 rtol =  5.000e-02

(User-supplied callback uvin2, first invocation.)
(User-supplied callback monit2, first invocation.)
(User-supplied callback bndry2, first invocation.)
(User-supplied callback pdef2, first invocation.)
(User-supplied callback nmflx2, first invocation.)
 t =  0.200
        x        Approx u    Exact u

      0.0000      1.0000      1.0000
      0.3000      0.9507      1.0000
      0.4000      0.0000      0.0000
      0.5000      0.0000      0.0000
      0.6000      0.0000      0.0000
      0.7000     -0.0000      0.0000
      1.0000     -0.0000      0.0000
 t =  0.400
        x        Approx u    Exact u

      0.0000      1.0000      1.0000
      0.3000      1.0000      1.0000
      0.4000      1.0000      1.0000
      0.5000      0.9694      1.0000
      0.6000     -0.0000      0.0000
      0.7000     -0.0000      0.0000
      1.0000      0.0000      0.0000
 Number of integration steps in time =    468
 Number of function evaluations =   1059
 Number of Jacobian evaluations =     1
 Number of iterations =      2