mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Xslibrary path now refers to actual xsdata file, not just containing directory. Changed settings.xml for examples and benchmarks. Closes gh-36.
This commit is contained in:
parent
28b2eff77d
commit
7f9ab9f8c3
6 changed files with 6 additions and 11 deletions
|
|
@ -10,7 +10,7 @@
|
|||
==========================================
|
||||
-->
|
||||
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7" />
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7/xsdata" />
|
||||
|
||||
<criticality>
|
||||
<cycles>3000</cycles>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
==========================================
|
||||
-->
|
||||
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7" />
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7/xsdata" />
|
||||
|
||||
<criticality>
|
||||
<cycles>3000</cycles>
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
===============================================================
|
||||
-->
|
||||
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7" />
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7/xsdata" />
|
||||
|
||||
<criticality>
|
||||
<cycles>3000</cycles>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<settings>
|
||||
|
||||
<!-- Path for cross section library -->
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7" />
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7/xsdata" />
|
||||
|
||||
<!-- Parameters for criticality calculation -->
|
||||
<criticality>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<settings>
|
||||
|
||||
<!-- Path for cross section library -->
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7" />
|
||||
<xslibrary path="/opt/serpent/xsdata/endfb7/xsdata" />
|
||||
|
||||
<!-- Parameters for criticality calculation -->
|
||||
<criticality>
|
||||
|
|
|
|||
|
|
@ -1253,12 +1253,7 @@ contains
|
|||
call message(msg, 5)
|
||||
|
||||
! Construct filename
|
||||
n = len(path)
|
||||
if (path(n:n) == '/') then
|
||||
filename = trim(path) // 'xsdata'
|
||||
else
|
||||
filename = trim(path) // '/xsdata'
|
||||
end if
|
||||
filename = trim(path)
|
||||
|
||||
! Check if xsdata exists and is readable
|
||||
inquire(FILE=filename, EXIST=file_exists, READ=readable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue