File: node61.html

package info (click to toggle)
dstooltk-doc 2.0-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,024 kB
  • ctags: 451
  • sloc: perl: 753; makefile: 49; sh: 8
file content (133 lines) | stat: -rw-r--r-- 5,105 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998)
originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Periodic Variables</TITLE>
<META NAME="description" CONTENT="Periodic Variables">
<META NAME="keywords" CONTENT="userman">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<LINK REL="STYLESHEET" HREF="userman.css">
<LINK REL="next" HREF="node62.html">
<LINK REL="previous" HREF="node60.html">
<LINK REL="up" HREF="node57.html">
<LINK REL="next" HREF="node62.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A NAME="tex2html1296"
 HREF="node62.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/lib/latex2html/icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1293"
 HREF="node57.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/lib/latex2html/icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1287"
 HREF="node60.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/lib/latex2html/icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1295"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/lib/latex2html/icons.gif/contents_motif.gif"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html1297"
 HREF="node62.html">Numerical Algorithms</A>
<B> Up:</B> <A NAME="tex2html1294"
 HREF="node57.html">Defining Labels and Initial</A>
<B> Previous:</B> <A NAME="tex2html1288"
 HREF="node60.html">Auxiliary Functions</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<H3><A NAME="SECTION00625400000000000000">
Periodic Variables</A>
</H3>
We must tell DsTool whether our phase space contains any periodic variables.  The
coding of this information is accomplished through two C-language constants:
EUCLIDEAN or PERIODIC.  If there are no periodic variables, then
the phase space is EUCLIDEAN; if there is at least one periodic variable, the
phase space is classified as PERIODIC.  For PERIODIC phase spaces, we must
also inform DsTool as to which variables are periodic and what interval to use as
a fundamental domain.

<P>
For our example, since the equations of motion are invariant under the transformation

<!-- MATH: $\phi \to \phi + 2 n \pi$ -->
78#78
for any integer <I>n</I>, we may consider 64#64
to be a 
periodic variable with period 82#82.
We may choose <EM>any</EM> interval of length
82#82
as a fundamental domain for the variable 64#64.
Common choices are 
the intervals 
<!-- MATH: $[-\pi, \pi]$ -->
85#85
and 
<!-- MATH: $[0, 2 \pi]$ -->
80#80.
We make the latter choice.
To pass this information into DsTool, we edit yet a few more lines in bball_init():
<PRE>
int           manifold_type=PERIODIC;   /* EUCLIDEAN or PERIODIC                */
static int    periodic_varb[]={TRUE, FALSE}; /* if PERIODIC, which varbs periodic? */
static double period_start[]={0.,0.};   /*if PERIODIC, begin fundamental domain */
static double period_end[]={TWOPI, 1.}; /*if PERIODIC, end of fundamental domain*/
</PRE>

<P>
We remark on the variables period_start and
period_end.  If the <I>j</I>th coordinate is not periodic (, the
value of periodic_varb[<I>j</I>] is FALSE) then it does not
matter what period_start[<I>j</I>] and period_end[<I>j</I>] are because
the entries are ignored by DsTool.  Similarly, if the variable
manifold_type is EUCLIDEAN, then it doesn't matter what
values are given for the entries of periodic_varb.  It is
always safe, of course, to set each entry of periodic_varb to
FALSE.  As mentioned in Section&nbsp;<A HREF="node58.html#varbs"><IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]"
 SRC="/usr/lib/latex2html/icons.gif/cross_ref_motif.gif"></A>, TWOPI is a global
constant.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html1296"
 HREF="node62.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/lib/latex2html/icons.gif/next_motif.gif"></A> 
<A NAME="tex2html1293"
 HREF="node57.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/lib/latex2html/icons.gif/up_motif.gif"></A> 
<A NAME="tex2html1287"
 HREF="node60.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/lib/latex2html/icons.gif/previous_motif.gif"></A> 
<A NAME="tex2html1295"
 HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="/usr/lib/latex2html/icons.gif/contents_motif.gif"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html1297"
 HREF="node62.html">Numerical Algorithms</A>
<B> Up:</B> <A NAME="tex2html1294"
 HREF="node57.html">Defining Labels and Initial</A>
<B> Previous:</B> <A NAME="tex2html1288"
 HREF="node60.html">Auxiliary Functions</A>
<!--End of Navigation Panel-->
<ADDRESS>
<I>John Lapeyre</I>
<BR><I>1998-09-04</I>
</ADDRESS>
</BODY>
</HTML>