nag_pde_parab_1d_cd_ode (d03plc) Example Program Results Example 1 npts = 141 atol = 1.000e-05 rtol = 2.500e-04 (User-supplied callback bndry1, first invocation.) (User-supplied callback pdedef, first invocation.) (User-supplied callback odedef, first invocation.) (User-supplied callback nmflx1, first invocation.) t = 0.500 x Approx u1 Exact u1 Approx u2 Exact u2 0.0000 -0.0432 -0.0432 0.0432 0.0432 0.1429 -0.0220 -0.0220 -0.0001 -0.0000 0.2857 -0.0200 -0.0199 -0.0232 -0.0231 0.4286 -0.0123 -0.0123 -0.0176 -0.0176 0.5714 0.0249 0.0245 0.0227 0.0224 0.7143 0.0835 0.0827 0.0833 0.0825 0.8571 0.1043 0.1036 0.1046 0.1039 1.0000 -0.0010 -0.0001 -0.0008 0.0001 Number of integration steps in time = 159 Number of function evaluations = 1156 Number of Jacobian evaluations = 16 Number of iterations = 415 Example 2 gamma = 1.400 elo = 2.500 ero = 0.250 rlo = 1.000 rro = 0.125 npts = 141 atol = 5.000e-03 rtol = 5.000e-04 x APPROX d EXACT d APPROX v EXACT v APPROX p EXACT p (User-supplied callback bndry2, first invocation.) (User-supplied callback nmflx2, first invocation.) t = 0.100 0.2000 1.0000 1.0000 -0.0000 0.0000 1.0000 1.0000 0.3000 1.0000 1.0000 -0.0000 0.0000 1.0000 1.0000 0.4000 0.8668 0.8775 0.1665 0.1527 0.8188 0.8327 0.5000 0.4299 0.4263 0.9182 0.9275 0.3071 0.3031 0.6000 0.2969 0.2656 0.9274 0.9275 0.3028 0.3031 0.7000 0.1250 0.1250 0.0000 0.0000 0.1000 0.1000 0.8000 0.1250 0.1250 -0.0000 0.0000 0.1000 0.1000 0.9000 0.1250 0.1250 -0.0000 0.0000 0.1000 0.1000 t = 0.200 0.2000 1.0000 1.0000 -0.0000 0.0000 1.0000 1.0000 0.3000 0.8718 0.8775 0.1601 0.1527 0.8253 0.8327 0.4000 0.6113 0.6029 0.5543 0.5693 0.5022 0.4925 0.5000 0.4245 0.4263 0.9314 0.9275 0.3014 0.3031 0.6000 0.4259 0.4263 0.9277 0.9275 0.3030 0.3031 0.7000 0.2772 0.2656 0.9272 0.9275 0.3031 0.3031 0.8000 0.2657 0.2656 0.9276 0.9275 0.3032 0.3031 0.9000 0.1250 0.1250 -0.0000 0.0000 0.1000 0.1000 Number of integration steps in time = 170 Number of function evaluations = 411 Number of Jacobian evaluations = 1 Number of iterations = 2