Logo ROOT  
Reference Guide
tornado Namespace Reference

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;

Variable Documentation

◆ ccos

int tornado.ccos = cos( 2*pi / numberOfPoints * i ) + 1

Definition at line 39 of file tornado.py.

◆ csin

int tornado.csin = sin( 2*pi / numberOfPoints * i ) + 1

Definition at line 38 of file tornado.py.

◆ ct

tornado.ct = gBenchmark.GetCpuTime( 'tornado' )

Definition at line 59 of file tornado.py.

◆ d

int tornado.d = 16

Definition at line 17 of file tornado.py.

◆ esin

int tornado.esin = sin( 2*pi / (numberOfCircles*d) * j ) + 1

Definition at line 40 of file tornado.py.

◆ numberOfCircles

int tornado.numberOfCircles = 40

Definition at line 19 of file tornado.py.

◆ numberOfPoints

int tornado.numberOfPoints = 200

Definition at line 18 of file tornado.py.

◆ pm3d

tornado.pm3d = TPolyMarker3D( numberOfPoints )

Definition at line 34 of file tornado.py.

◆ polymarkers

list tornado.polymarkers = []

Definition at line 30 of file tornado.py.

◆ rng

int tornado.rng = numberOfCircles * d

Definition at line 27 of file tornado.py.

◆ sky

tornado.sky = TCanvas( 'sky', 'Tornado', 300, 10, 700, 500 )

Definition at line 22 of file tornado.py.

◆ text

tornado.text = TPaveText( 0.1, 0.81, 0.9, 0.97 )

Definition at line 62 of file tornado.py.

◆ timeStr

str tornado.timeStr = 'Execution time: %g sec.' % ct

Definition at line 60 of file tornado.py.

◆ view

tornado.view = TView.CreateView()

Definition at line 26 of file tornado.py.

◆ x

tornado.x = j * ( csin + esin );

Definition at line 41 of file tornado.py.

◆ y

int tornado.y = j * ccos;

Definition at line 42 of file tornado.py.

◆ z

tornado.z = j;

Definition at line 43 of file tornado.py.