22.05.2014 Views

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

CERN Program Library Long Writeup W5013 - CERNLIB ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

This point-like light source can be moved in the space and its intensity can be changed (INTEN going from<br />

0 to 10) relatively to the ambience light.<br />

3.3 VAR5D tseqto nproc nmptot totmby tseq tlat tnet<br />

TSEQTO R “total sequential time”<br />

NPROC I “number of processors”<br />

NMPTOT I “number of message passing”<br />

TOTMBY R “total megabytes transfert”<br />

TSEQ R “not parallelized code”<br />

TLAT R “latency time”<br />

TNET R “network speed in Mbytes/sec”<br />

It sets the values of the parameters expressed in the formula and specify which variables must be assumed<br />

as x,y,z (setting their value to 1001,1002,1003, respectively).<br />

3.4 RANG5D x1min x1max y1min y1max z1min z1max<br />

X1MIN R “x coordinate min”<br />

X1MAX R “x coordinate max”<br />

Y1MIN R “y coordinate min”<br />

Y1MAX R “y coordinate max”<br />

Z1MIN R “z coordinate min”<br />

Z1MAX R “z coordinate max”<br />

It sets the range for the x,y,z variables.<br />

3.5 DVOLUME n namnum chnrs [ theta phi psi u0 v0 su sv ]<br />

N I “Number of elements in arrays LNAMES and LNUMBS” D=1<br />

NAMNUM C “Volume names and numbers (ex. "NAME1,NR1,NAME2,NR2")”<br />

CHNRS C “Reference system used” D=’MARS’<br />

THETA R “Viewing angle theta (for 3D projection)” R=0.:360.<br />

PHI R “Viewing angle phi (for 3D projection)” R=0.:360.<br />

PSI R “Viewing angle psi (for 2D rotation)” R=0.:180.<br />

U0 R “U-coord. (horizontal) of volume origin”<br />

V0 R “V-coord. (vertical) of volume origin”<br />

SU R “Scale factor for U-coord.”<br />

SV R “Scale factor for V-coord.”<br />

Possible CHNRS values are:<br />

MARS<br />

DRS<br />

CALL GDRVOL(n,lnames,lnumbs,nrs,theta,phi,psi,u0,v0,su,sv)<br />

N is the number of levels from the top of the geometry structure to the volume lnames(n),lnumbs(n) to<br />

XINT002 – 6 362

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!