Hi, I am having difficulties with the correct syntax here,Andy_Turner wrote:Jaakko Leppänen wrote:Serpent allows using user-defined response functions with reaction identifier -100:

where <int> is the interpolation type used between the points (1 = histogram, 2 = lin-lin, 3 = lin-log, 4 = log-lin, 5 = log-log), <np> is the number of points and <En> <fn> are the energy-value pairs.Code: Select all

`dr -100 <int> <np> <E1> <f1> <E2> <f2> ...`

My detector is defined like below, but I get the following error message:

"Input error in parameter "det" on line 302 in file "FC1m":

Invalid detector parameter "25""

det 1d dc 200 dr -100 1 25

1.00E-02 7.72E-12 1.50E-02 3.08E-12 2.00E-02 1.63E-12 3.00E-02 7.11E-13 4.00E-02 4.33E-13 5.00E-02 3.33E-13

6.00E-02 3.08E-13 8.00E-02 3.33E-13 1.00E-01 4.08E-13 1.50E-01 6.61E-13 2.00E-01 9.58E-13 3.00E-01 1.54E-12

4.00E-01 2.14E-12 5.00E-01 2.53E-12 6.00E-01 3.17E-12 8.00E-01 4.08E-12 1.00E+00 4.97E-12 1.50E+00 6.78E-12

2.00E+00 8.42E-12 3.00E+00 1.11E-11 4.00E+00 1.32E-11 5.00E+00 1.54E-11 6.00E+00 1.74E-11 8.00E+00 2.14E-11

1.00E+01 2.53E-11

Also, should there be a material defined somewhere in the above detector definition?