From 99695b514eedc5ee9745c8a46a733268197488ac Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Wed, 23 Jul 2014 23:59:30 -0400 Subject: [PATCH] Update documentation for . --- docs/source/usersguide/input.rst | 16 ++++++++++------ src/relaxng/settings.rnc | 3 ++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/source/usersguide/input.rst b/docs/source/usersguide/input.rst index c9aa8cc866..3bf31dcc38 100644 --- a/docs/source/usersguide/input.rst +++ b/docs/source/usersguide/input.rst @@ -134,13 +134,17 @@ should be performed. It has the following attributes/sub-elements: ------------------------- The ```` element determines the treatment of the energy grid during -a simulation. Setting this element to "nuclide" will cause OpenMC to use a -nuclide's energy grid when determining what points to interpolate between for -determining cross sections (i.e. non-unionized energy grid). To use a unionized -energy grid, set this element to "union". Note that the unionized energy grid -treatment is slightly different than that employed in Serpent. +a simulation. The valid options are "nuclide", "union", and "logarithm". Setting +this element to "nuclide" will cause OpenMC to use a nuclide's energy grid when +determining what points to interpolate between for determining cross sections +(i.e. non-unionized energy grid). Setting this element to "union" results in a +unionized energy grid with pointers to nuclide grids. Setting this element to +"logarithm" causes OpenMC to use a logarithmic mapping technique described in +LA-UR-14-24530_. - *Default*: union + *Default*: logarithm + +.. _LA-UR-14-24530: https://laws.lanl.gov/vhosts/mcnp.lanl.gov/pdf_files/la-ur-14-24530.pdf ```` Element --------------------- diff --git a/src/relaxng/settings.rnc b/src/relaxng/settings.rnc index ea3ecabf54..b083c56928 100644 --- a/src/relaxng/settings.rnc +++ b/src/relaxng/settings.rnc @@ -27,7 +27,8 @@ element settings { (element weight_avg { xsd:double } | attribute weight_avg { xsd:double })? }? & - element energy_grid { ( "nuclide" | "union" | "lethargy" ) }? & + element energy_grid { ( "nuclide" | "union" | "log" | + "logarithm" | "logarithmic" ) }? & element entropy { (element dimension { list { xsd:int+ } } |