This zip archive contains five source files:
integrator_def.h Integrator class definitions
integrators.h Integrator implementations
minimal.cpp Minimal example program, produces no output
dS.cpp Example program
dS outputs t, the nmesh components of the discretized wavefunction
as well as a rough approximation to the normalization
integral. The normalization integral should be
constant. Plotting the normalization integral (last
column) vs t therefore gives a rough idea of the quality of the
solution. An attractive space-time plot which shows the
evolution of the wavefunction can be obtained by
extracting the middle columns (perhaps using the Unix
cut command) and plotting them using a surface plotter
(such as gnuplot's splot command with the matrix
option).
Oregonator.cpp Example program
This is a three-variable, highly stiff problem. The output is t
followed by the three components of the solution.