[fluka-discuss]: RE: Mapping between lattice replicas and their prototypes

From: Anton Lechner <Anton.Lechner_at_cern.ch>
Date: Mon, 8 Dec 2014 12:27:32 +0000

Dear Tim,

You can find a description of such routines on page 18 of following slides (from the last FLUKA course):
https://indico.cern.ch/event/334606/contribution/18/material/slides/0.pdf
More precisely, the routines you are looking for are:
DOTRSF ( NPOINT, XPOINT, YPOINT, ZPOINT, KROTAT)
UNDOTR ( NPOINT, XPOINT, YPOINT, ZPOINT, KROTAT)
where XPOINT, YPOINT, ZPOINT are arrays of dimension NPOINT, and KROTAT is the rotation index corresponding to the lattice you are interested in (i.e. the index of WHAT(1) of the ROT-DEFI cards which have been assigned to the lattice transformation).

Note that by calling above routines the X/Y/ZPOINT will be overwritten with the transformed coordinates. If you want to keep the original ones, you need to make a copy first.

Cheers, Anton


________________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Timotheus Cooijmans [tim.cooijmans_at_cern.ch]
Sent: 08 December 2014 11:39
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Mapping between lattice replicas and their prototypes

Dear Fluka experts,

In USRRNC I'd like to map nuclides that reside in lattice replicas into the prototype/elementary/basic space and back. More precisely, is there a routine that, given a particle's X, Y and Z coordinates and region and lattice numbers, returns the coordinates after applying the appropriate lattice transformation? Ideally this would be a pair of routines, one applying the lattice transformation, the other its inverse.

Many thanks,
Tim "Hannibal" Cooijmans
Received on Mon Dec 08 2014 - 14:53:27 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 08 2014 - 14:53:28 CET