________________________________
发件人: 曹振
发送时间: 2014年3月18日 20:40
到: owner-fluka-discuss_at_mi.infn.it
主题: 转发: source.f question
________________________________
发件人: 曹振
发送时间: 2014年3月18日 20:27
到: marco.mauri_at_cern.ch
主题: source.f question
Dear FLUKA experts,I 'd like to ask your a question,[X][X] i want to sample the coordinates of the source particle in ring cylinder,the radius from 0.5cm to 0.6cm, the height is 0.45cm.and the source is isotropy,how i set the
Particle coordinates and Cosines (tx,ty,tz) in the source.f 。
the second question sample the coordinates of the source particle in cylindrical surface, the radius is 0.5cm,the height is 0.45cm.
the third question is can your explain this statement.
ZENMAX = PIPIPI
AZI = TWOTWO * PIPIPI * (FLRNDM(dummy))
CZMAX = COS(ZENMAX)
CZEN = FLRNDM(dummy) * (ONEONE - CZMAX) + CZMAX
SZEN = SQRT((ONEONE - CZEN)*(ONEONE + CZEN))
TXFLK (NPFLKA) = SZEN * COS(AZI)
TYFLK (NPFLKA) = SZEN*SIN(AZI)
TZFLK (NPFLKA) = - CZEN
thank you very much.
[
http://twebmail.mail.163.com/js5/s?func=mbox:getComposeData&sid=XAeafFWGOBrvZgKfBoGGViUlVbzWzrjg&composeId=XAuazFWGDXivZgYNPWGGSktaAxcpjMkg&attachId=1]
Kind regards, caozhen
Received on Mon Mar 24 2014 - 08:30:21 CET