[fluka-discuss]: RE: Mathematical Expressions in Fluka/Flair Input

From: Eleftherios Skordis <eleftherios.skordis_at_cern.ch>
Date: Mon, 8 Dec 2014 17:51:53 +0000

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



Eleftherios Skordis
CH-1211 GENEVA 23

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

(image/png attachment: image001.png)

Received on Mon Dec 08 2014 - 20:16:44 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 08 2014 - 20:16:45 CET