Skip to content

Commit

Permalink
Merge remote-tracking branch 'scopatz/s' into v1.3.0-release
Browse files Browse the repository at this point in the history
Updating Separations with additional levels of nesting, interleaving, and
aliasing.
  • Loading branch information
Paul P.H. Wilson committed May 8, 2015
2 parents 226e46a + 4a5cbff commit 108a630
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ rs.cred
*.h5
*.dat
tests/run_inputs.py
cyclus.sqlite
16 changes: 9 additions & 7 deletions input/recycle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@
<config>
<Separations>
<streams>
<commod>sep_stream</commod>
<info>
<buf_size>1e100</buf_size>
<efficiencies>
<comp>Pu</comp> <eff>.99</eff>
</efficiencies>
</info>
<item>
<commod>sep_stream</commod>
<info>
<buf_size>1e100</buf_size>
<efficiencies>
<item><comp>Pu</comp> <eff>.99</eff></item>
</efficiencies>
</info>
</item>
</streams>

<leftover_commod>waste</leftover_commod>
Expand Down
20 changes: 11 additions & 9 deletions src/separations_tests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,18 @@ TEST(SeparationsTests, SepMaterial) {
}

TEST(SeparationsTests, SepMixElemAndNuclide) {
std::string config =
std::string config =
"<streams>"
" <commod>stream1</commod>"
" <info>"
" <buf_size>-1</buf_size>"
" <efficiencies>"
" <comp>U</comp> <eff>0.6</eff>"
" <comp>Pu239</comp> <eff>.7</eff>"
" </efficiencies>"
" </info>"
" <item>"
" <commod>stream1</commod>"
" <info>"
" <buf_size>-1</buf_size>"
" <efficiencies>"
" <item><comp>U</comp> <eff>0.6</eff></item>"
" <item><comp>Pu239</comp> <eff>.7</eff></item>"
" </efficiencies>"
" </info>"
" </item>"
"</streams>"
""
"<leftover_commod>waste</leftover_commod>"
Expand Down

0 comments on commit 108a630

Please sign in to comment.