[fluka-discuss]: ROT-DEFI indices and names
Hello FLUKA experts,
How do ROT-DEFI indices and names interact? I'm trying to (programmatically) define a composite rototranslation (i.e. multiple ROT-DEFI cards with the same identifier). I'd like to only have to provide a name and not worry about the index. Here's the relevant manual excerpt:
WHAT(1) : assigns a transformation index and the corresponding
rotation axis
=< 0.0 : the card is ignored if SDUM is empty, otherwise SDUM is
kept as the rotation name, and the first free rotation
number is used
> 1000 : interpreted as j + i * 1000
> 100 and < 1000 : interpreted as i + j * 100
(note the inversion of i and j!)
> 0 and =< 100 : interpreted as i, and j assumed to be = 0
where i = index of the rotation
j = 1 rotation with respect to x axis
= 2 rotation with respect to y axis
= 0 or 3 rotation with respect to z axis
(see Note 4)
Default = 0.0 (no transformation defined)
Two things puzzle me about this:
* I can only give the transformation a name if I set WHAT(1) <= 0, but then I can't choose j.
* Two cards with the same name and unspecified index (WHAT(1) = 0) will be assigned different indices.
It would be great if someone could shed some light on this situation.
Many thanks,
Tim
Received on Thu Sep 25 2014 - 12:03:30 CEST
This archive was generated by hypermail 2.3.0
: Thu Sep 25 2014 - 12:03:31 CEST