Greetings Dirk,
You can find all the available expressions in the "Calculator" usually one of the hidden tabs in the top right corner of flair.
Everything available there, on the top part of the tab, you can in principle use as an expression for the WHAT() cards.
Kind regards
Lefteris
-----------------------
Eleftherios Skordis
Dep. EN/STI, CERN
CH-1211 GENEVA 23
SWITZERLAND
OFFICE: +41-22-7679541<tel:%2B41-22-7675461>
________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Bartkoski,Dirk Alan [DABartkoski_at_mdanderson.org]
Sent: 08 December 2014 18:14
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Mathematical Expressions in Fluka/Flair Input
I have found only a couple of examples of the use of mathematical expressions in Flair WHAT parameters. Such as, if I define a variable X, I can use that variable in Flair by putting "=X " in the WHAT variable of interest. Additionally, I know from trial and error that simple math such as "=2*X" may be used in WHAT positions. I am wondering the extent of mathematical expressions that may be used and if there is any documentation describing the use of expressions and defined variables in more detail? For example, may cosine and sine functions be used in WHATs? What other expressions are available?
________________________________
Dirk A. Bartkoski, Ph.D.
Postdoctoral Fellow | Radiation Physics
[MDACC Logo]
Mays Clinic (ACBP1.2972.1)
1515 Holcombe Blvd., Unit 1202
Houston, TX 77030
(713) 745-8124 Office | (865) 310-7349 Mobile
dabartkoski_at_mdanderson.org<mailto:dabartkoski_at_mdanderson.org>
Received on Mon Dec 08 2014 - 20:16:44 CET