RE: Coordinates of prototypes and replicas

From: Stefan Roesler <sroesler_at_mail.cern.ch>
Date: Tue, 5 Oct 2010 22:33:26 +0200

Hi Makis,

It is

       ENTRY NM2ROT ( IRTN, NAMERT )

NAMERT (CHARACTER*10) is the name and it returns the index IRTN.

Cheers
Stefan

On Mon, 4 Oct 2010, Chrysostomos Valderanis wrote:

> Dear Stefan,
>
> Thank you very much for your answer. I will definitely try it out! But I still
> have a question. In my input file I dont giverotation indexes explicitely. I use
> rotation names and letFluka calculate the correct index. So, is there also a
> subroutine toreturn the transformation index from the transformation name?
> (something like GEON2L and GEON2R).
>
> Thank you,
> Makis
>
> ps. Since I give the same name to more than one transformations, so that fluka can
> use all of them, I do hope that the above requested subroutine name does return an
> array of indexes.
>
> __________________________________________________________________________________
> From: Stefan Roesler
> Sent: Sun 03/10/2010 20:27
> To: fluka-discuss_at_fluka.org
> Cc: Chrysostomos Valderanis Subject: Re: Coordinates of prototypes and replicas
>
> Hi Makis
>
> This info is not in a common but you have to do the transformation calling
> the subroutine DOTRSF
>
> SUBROUTINE DOTRSF ( NPOINT, XPOINT, YPOINT, ZPOINT, KROTAT )
>
> Set NPOINT=1, KROTAT=index of your transformation and XPOINT, YPOINT,
> ZPOINT to the point which you want to transform.
>
> Be careful, XPOINT, YPOINT, ZPOINT are both input and output variables,
> i.e. the original value will be overwritten in DOTRSF. Thus, save the
> original coordinates first on a local variable and use them in the DOTRSF
> parameter list.
>
> Cheers
> Stefan
>
>
> From: Chrysostomos Valderanis <Chrysostomos.Valderanis_at_cern.ch>
> Date: Mon, 13 Sep 2010 15:30:47 +0200
>
> Hello,
>
> I have a geometry based on the use of LATTICE cards with the
> corresponding ROT-DEFI cards. When looking for the x,y,z coordinates of
> a particle from (TRACKR), I get the absolute coordinates of it. What I
> would like to have access to, is to the equivalent "prototype"
> coordinates. Is there a way to get this information out from some common
> block?
>
> Thank you in advance,
> Makis
>
>
>
---1970692723-930333588-1286310807=:12417--
Received on Wed Oct 06 2010 - 09:29:09 CEST

This archive was generated by hypermail 2.2.0 : Wed Oct 06 2010 - 09:29:17 CEST