Detector output m-file

Questions and discussion about applications, input, output and general user topics
Post Reply
User avatar
fabioalcaro
Posts: 7
Joined: Wed Sep 19, 2012 6:00 pm
Security question 1: No
Security question 2: 92
Location: Torino

Detector output m-file

Post by fabioalcaro » Mon Oct 01, 2012 4:37 pm

Hi,
while performing flux spectrum distribution calculations with Serpent 1.1.18, I noticed that the <inputName>_det<u>.m file of the detector output provides the same values of the minimum and mean energy in the energy bin boundaries of the variable DET<name>E. I suppose there is a +1 missing in the detectoroutput.c (line 155):

Code: Select all

 (DATA[ptr + eb] + DATA[ptr + eb + 1])/2.0);
cheers
Image Fabio

User avatar
Jaakko Leppänen
Site Admin
Posts: 2202
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Re: Detector output m-file

Post by Jaakko Leppänen » Tue Oct 02, 2012 12:12 pm

Thanks! I will fix this in the next update.
- Jaakko

Post Reply