To create a working copy of the demo roess change to a directory where you would like to do your computations, for example, ${HOME}/rauto. Then type `rdm roess'. This will create the sub-directory roess, which contains the files roess.f, r.roess and demo. Change to the directory roess.
The equations file roess.f defines the right hand side of the Rössler equation
Constants inheritance creates a dependency of a restarted or child run on its restart or parent run. The objective is to trigger a recomputation of a child run whenever its restart solution in the parent run might have changed, including changes in the discretization. This feature is essential, for example, for
The demonstration program computes a variable number of steps of a period-doubling cascade occurring in Rössler's equation. It uses a loop over the index of the step and makes full use of constants inheritance for doubling the number of mesh points and reducing the initial, minimal and maximal step size by a factor of every iteration. The full command for calling the demonstration program is `demo [steps]', where the optional argument steps specifies how many steps of the period-doubling sequence shall be computed, default is 3. The author was able to go up to step, which seems to be the accuracy limit of AUTO. Note that you might need to recompile AUTO with NTSTX and NCOLX set to sufficiently high values; see [1] for details. The demonstration program executes the rauto commands
rauto roess alf rrun=alf rauto roess po1 $rrun -ICP 1 11 -IRS `splabs $rrun HB` \ -DS 0.1 -DSMAX 0.5 -ISW -1 -IPS 2 -NPR 1 for (( i=2 ; $i <= ${1:-3} ; ++i )) do # names of run and restart run run=po$i rrun=po$(( $i - 1 )) # read step sizes from restart run h0=$(printac $rrun DS ) hmin=$(printac $rrun DSMIN ) hmax=$(printac $rrun DSMAX ) # reduce step sizes and double NTST h0=$( dc -e "8 k $h0 4.67 / p" ) hmin=$( dc -e "8 k $hmin 4.67 / p" ) hmax=$( dc -e "8 k $hmax 4.67 / p" ) NTST=$(( 2*$(printac $rrun NTST) )) # print current settings and perform run echo "NTST=$NTST, DS=$h0, DSMIN=$hmin, DSMAX=$hmax" rauto roess $run $rrun -ICP 1 11 -IRS `splabs $rrun PD` \ -DS $h0 -DSMIN $hmin -DSMAX $hmax -NTST $NTST \ -ISW -1 -IPS 2 -NPR 5 done
Note the use of default value substitution ${1:-3}
, command substitution $(...)
and arithmetic expansion $((...))
. Use the commands plotbd and plotsol as shown in Figure 8 to plot the bifurcation diagram and families of solutions.
|