mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Move deplete function to dedicated pool module; removed timed_deplete
This commit is contained in:
parent
24212ae731
commit
46e98e4a01
4 changed files with 61 additions and 80 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue