next up previous contents
Next: Initial Conditions and Default Up: Defining Dynamical Systems Using Previous: Basic Functionality   Contents


Periodic Variables

Phase space variables may be declared periodic on a fixed interval by using the PERIODIC command. We define the following map on the torus, $T^2= {\mbox{\Bbb R}} ^2/\mbox{\Bbb Z}^2$:

# The Kim-Ostlund torus map (kotorus.def)
x' = x + w1 - a / (2 PI) sin(2 PI y)
y' = y + w2 - a / (2 PI) sin(2 PI x)

INITIAL w1 0.6 w2 0.805 a 0.7
PERIODIC x 0 1 y 0 1

The PERIODIC command should only be given once in the definition and all periodic variables should be declared, but optionally may be placed on separate lines. When trying this example, don't forget to set the dynamical system type setting to Mapping before selecting ``Build model''.



2008-05-14