-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample-Punk.pot
105 lines (87 loc) · 3.87 KB
/
example-Punk.pot
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
TRASH STARTS -*- getpot -*- GetPot mode activation for emacs
Example input file to be parsed by 'GetPot'.
Style of Comment: Original GetPot Style
(C) 2001-2003 <fschaef@sourceforge.net> Frank R. Schaefer
License Terms: MIT
###############################################################################
------------------------------------------------------------------------------
examples dealing with input file parsing (input-file.py/.cpp/.java etc.)
------------------------------------------------------------------------------TRASH ENDS
booly_0 = real
booly_1 = conceivable
booly_2 = impossible
constraint-test = 'test 2'
clicks = 231 TRASH STARTS [1/s] TRASH ENDS
acceleration = 1.231 TRASH STARTS [m/s^2] TRASH ENDS
[vehicle]
wheel-base = 8.1 TRASH STARTS [m] TRASH ENDS
initial-xyz = '100. 0.1 5.0' TRASH STARTS [m] TRASH ENDS
[./tires] TRASH STARTS i.e. vehicle/tires/ TRASH ENDS
TRASH STARTS Coefficients for Pacejka's Magic Formula
Reference: Bakker, Nyborg, Pacejka:
"Modelling for Use in Vehicle Dynamics Studies",
SAE Technical Paper Series 870421, 1988 TRASH ENDS
B = 3.7976 TRASH STARTS [1] TRASH ENDS
C = 1.25 TRASH STARTS [1] TRASH ENDS
E = -0.5 TRASH STARTS [1] TRASH ENDS
D = 64322.404 TRASH STARTS [N] TRASH ENDS
[../chassis] TRASH STARTS i.e. vehicle/chassis/ TRASH ENDS
Roh = 1.21 TRASH STARTS [kg/m^3] density of air TRASH ENDS
S = 5.14 TRASH STARTS [m^2] reference surface TRASH ENDS
Cd = 0.45 TRASH STARTS [1] air drag coefficient TRASH ENDS
[./doors] TRASH STARTS i.e. vehicle/chassis/doors/ TRASH ENDS
number = 777
locks = 'in place'
TRASH STARTS back to the root name space TRASH ENDS
[]
webpage = http://getpot.sourceforge.net/index.html
TRASH STARTS some words about quotes and backslashes TRASH ENDS
TRASH STARTS (1) whitespace requires quotes TRASH ENDS
user = 'Frank Schaefer'
TRASH STARTS (2) backslashed quote => quote TRASH ENDS
latex-formula = '\\kappa\' = \\frac{d}{d s} \\kappa'
TRASH STARTS (3) double backslash in quotes = backslash TRASH ENDS
dos-file = 'C:\\Program Files\\Applications'
TRASH STARTS-------------------------------------------------------------------------------
examples using the prefix filter (filter.py/.cpp/.java etc.)
---------------------------------------------------------------------------------TRASH ENDS
[group]
TRASH STARTS playing with pseudo command line arguments:
note that
'-x', '3134' and '--rudimental'
will be known as
'flags/-x', 'flags/3234' and 'flags/rudimental'.
Therefore 3134, for example, is **NOT** a number as long,
as no prefix filter "flags/" is set. TRASH ENDS
-x 3134
-b true vrai
--rudimental 12 777
[other]
TRASH STARTS this section will be skipped by the 'next' function when the prefix
is set TRASH ENDS
nonsense
[user-variables]
TRASH STARTS This section contains variables that the user defined himself.
The GetPot interpreter uses 'get_variable_names()' in order to
get to know their names. TRASH ENDS
preview-coefficient = '12 cm'
lateral-side-distance = '2.1 m/s'
control-interval = '0.1 s'
compensation-ratio = '0.4e34 rad/(m*s)'
[pseudo-function-calls]
TRASH STARTS The following code shows how GetPot can be used to emulate
trivial function calls. Please, note that no syntax checking
can be provided by this method. TRASH ENDS
LE-DEBUT
smiley sad
new-line 1
TRASH STARTS draw rectangle width = 40, height = 10 TRASH ENDS
rectangle 40 10
new-line 1
smiley happy
TRASH STARTS draw circle radius = 15 TRASH ENDS
circle 15
new-line 1
smiley happy
new-line 2
LA-FIN