From 8deda73647971637051f2d31ea29cef4a1809355 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 26 Jun 2019 17:50:40 -0500 Subject: [PATCH] Update Results and ResultsList doc on proc_time Process time that is stored in the dataset is the average time spent depleting a material across all materials and processes. --- openmc/deplete/results.py | 7 +++++-- openmc/deplete/results_list.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/openmc/deplete/results.py b/openmc/deplete/results.py index 30a2dcf8ac..8c47706b75 100644 --- a/openmc/deplete/results.py +++ b/openmc/deplete/results.py @@ -48,7 +48,8 @@ class Results(object): data : numpy.ndarray Atom quantity, stored by stage, mat, then by nuclide. proc_time: int - Amount of process time spent depleting materials + Average time spent depleting a material across all + materials and processes """ def __init__(self): @@ -416,7 +417,9 @@ class Results(object): step_ind : int Step index. proc_time : float or None - time spent depleting materials. + Total process time spent depleting materials. This may + be process-dependent and will be reduced across MPI + processes. """ # Get indexing terms diff --git a/openmc/deplete/results_list.py b/openmc/deplete/results_list.py index 3442a8ce1e..58dcf0c59d 100644 --- a/openmc/deplete/results_list.py +++ b/openmc/deplete/results_list.py @@ -105,7 +105,7 @@ class ResultsList(list): return time, eigenvalue def get_depletion_time(self): - """Return an array of time spent depleting materials + """Return an array of the average time to deplete a material ..note::