Move deplete function to dedicated pool module; removed timed_deplete

This commit is contained in:
Andrew Johnson 2020-05-09 14:38:46 -04:00
parent 24212ae731
commit 46e98e4a01
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB
4 changed files with 61 additions and 80 deletions

View file

@ -7,7 +7,7 @@ import os
from pathlib import Path
import numpy as np
from openmc.deplete import comm, Chain, reaction_rates, nuclide, cram
from openmc.deplete import comm, Chain, reaction_rates, nuclide, cram, pool
import pytest
from tests import cdtemp
@ -414,7 +414,7 @@ def test_fission_yield_attribute(simple_chain):
dummy_conc = [[1, 2]] * (len(empty_chain.fission_yields) + 1)
with pytest.raises(
ValueError, match="fission yield.*not equal.*compositions"):
cram.deplete(cram.CRAM48, empty_chain, dummy_conc, None, 0.5)
pool.deplete(cram.CRAM48, empty_chain, dummy_conc, None, 0.5)
def test_validate(simple_chain):