ACEFormat icon indicating copy to clipboard operation
ACEFormat copied to clipboard

LAW=66 description omits distribution data

Open whaeck opened this issue 5 years ago • 6 comments

The LAW=66 write up in the ACE specifications do not mention the distribution data that is also produced by ACER and put there. See acefc.f90 (roughly around line 13400)

whaeck avatar Jun 10 '20 14:06 whaeck

@whaeck and/or @HunterBelanger, do you have an example ACE file where we can see the output?

jlconlin avatar Apr 05 '21 17:04 jlconlin

This ACE file uses the NBody for MT=16. It starts at index 40113 in the XSS block (C-style indexing). H2.txt

HunterBelanger avatar Apr 05 '21 18:04 HunterBelanger

Interesting -- I never realized ACER spits out tabulated distributions for LAW=66 after the main parameters. The density function has an analytical form that can be easily sampled, so that data is superfluous (not used by MCNP, Serpent, or OpenMC).

paulromano avatar Apr 07 '21 16:04 paulromano

It's actually not a problem since we have locators that point to specific pieces in the XSS array. If you look at the XSS array as a contiguous data array, then you might get into trouble if you do not know those distributions are there.

whaeck avatar Apr 07 '21 16:04 whaeck

Understood. I'm just curious as to why it was put in there in the first place. I suppose MCNP might have used that data once upon a time?

paulromano avatar Apr 07 '21 17:04 paulromano

I assume so.

whaeck avatar Apr 07 '21 17:04 whaeck