To create a working copy of the demo duff change to a directory where you would like to do your computations, for example, ${HOME}/rauto. Then type `rdm duff'. This will create the sub-directory duff, which contains the files duff.f, duff.dat, r.duff and demo. Change to the directory duff.
The Duffing equation
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
![]() |
![]() |
The master constants file is r.duff, which is set up for a continuation in PAR(2)
. The file demo is an executable shell script for the command interpreter bash serving as a demonstration program, which executes the rauto commands
rfcon duff rauto duff omf dat -IRS 1 rauto duff omb dat -IRS 1 -DS - -NMX 300 rauto duff po1 omb -IRS `splabs omb BP 1 1` -ISW -1 -NTST 30 -DSMAX 0.05 rauto duff po2 po1 -IRS `splabs po1 PD 1 1` -ISW -1 \ -NTST 60 -DS 0.01 -DSMAX 0.02 -NMX 1000 rauto duff po3 po2 -IRS `splabs po2 PD 1 1` -ISW -1 \ -NTST 100 -DS 0.001 -DSMAX 0.005 -NMX 4000
The first command performs the only initial run using the utility program rfcon. It converts the numerical data from file duff.dat into the internal data format used by AUTO. In general, running rfcon requires the three files name.f, name.dat and r.name. The function STPNT in the equations file name.f must initialize the free parameters. The file name.dat contains columns with sufficiently dense data points in , U(1), ..., U(NDIM). The file r.name provides values for the dimension NDIM and certain discretization constants. The numerical data is always converted into a solution with label 1 of the run `dat'.
The subsequent commands in the script perform in this order
|