Use CF4Integrator in restart tests

This commit is contained in:
Andrew Johnson 2019-07-26 09:52:55 -05:00
parent 39b4d8a1fe
commit e30e6e3f99
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB

View file

@ -8,7 +8,7 @@ from pytest import approx
import openmc.deplete
from openmc.deplete import (
CECMIntegrator, PredictorIntegrator, CELIIntegrator, LEQIIntegrator,
EPC_RK4_Integrator,
EPC_RK4_Integrator, CF4Integrator
)
from tests import dummy_operator
@ -186,7 +186,7 @@ def test_restart_cf4(run_in_tmpdir):
# Perform simulation
dt = [0.75]
power = 1.0
openmc.deplete.cf4(op, dt, power, print_out=False)
CF4Integrator(op, dt, power).integrate()
# Load the files
prev_res = openmc.deplete.ResultsList(op.output_dir / "depletion_results.h5")
@ -196,7 +196,7 @@ def test_restart_cf4(run_in_tmpdir):
op.output_dir = output_dir
# Perform restarts simulation
openmc.deplete.cf4(op, dt, power, print_out=False)
CF4Integrator(op, dt, power).integrate()
# Load the files
res = openmc.deplete.ResultsList(op.output_dir / "depletion_results.h5")