Variables | |
| int | ccos = cos( 2*pi / numberOfPoints * i ) + 1 |
| int | csin = sin( 2*pi / numberOfPoints * i ) + 1 |
| ct = gBenchmark.GetCpuTime( 'tornado' ) | |
| int | d = 16 |
| int | esin = sin( 2*pi / (numberOfCircles*d) * j ) + 1 |
| int | numberOfCircles = 40 |
| int | numberOfPoints = 200 |
| pm3d = TPolyMarker3D( numberOfPoints ) | |
| list | polymarkers = [] |
| int | rng = numberOfCircles * d |
| sky = TCanvas( 'sky', 'Tornado', 300, 10, 700, 500 ) | |
| text = TPaveText( 0.1, 0.81, 0.9, 0.97 ) | |
| str | timeStr = 'Execution time: %g sec.' % ct |
| view = TView.CreateView() | |
| x = j * ( csin + esin ); | |
| int | y = j * ccos; |
| z = j; | |
| int tornado.ccos = cos( 2*pi / numberOfPoints * i ) + 1 |
Definition at line 39 of file tornado.py.
| int tornado.csin = sin( 2*pi / numberOfPoints * i ) + 1 |
Definition at line 38 of file tornado.py.
| tornado.ct = gBenchmark.GetCpuTime( 'tornado' ) |
Definition at line 59 of file tornado.py.
| int tornado.d = 16 |
Definition at line 17 of file tornado.py.
| int tornado.esin = sin( 2*pi / (numberOfCircles*d) * j ) + 1 |
Definition at line 40 of file tornado.py.
| int tornado.numberOfCircles = 40 |
Definition at line 19 of file tornado.py.
| int tornado.numberOfPoints = 200 |
Definition at line 18 of file tornado.py.
| tornado.pm3d = TPolyMarker3D( numberOfPoints ) |
Definition at line 34 of file tornado.py.
| list tornado.polymarkers = [] |
Definition at line 30 of file tornado.py.
| int tornado.rng = numberOfCircles * d |
Definition at line 27 of file tornado.py.
| tornado.sky = TCanvas( 'sky', 'Tornado', 300, 10, 700, 500 ) |
Definition at line 22 of file tornado.py.
| tornado.text = TPaveText( 0.1, 0.81, 0.9, 0.97 ) |
Definition at line 62 of file tornado.py.
Definition at line 60 of file tornado.py.
| tornado.view = TView.CreateView() |
Definition at line 26 of file tornado.py.
Definition at line 41 of file tornado.py.
Definition at line 42 of file tornado.py.
| tornado.z = j; |
Definition at line 43 of file tornado.py.