mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
fixed typos in comments and descrptions in Python API
This commit is contained in:
parent
b469d74879
commit
8730a243c3
3 changed files with 5 additions and 3 deletions
|
|
@ -404,7 +404,7 @@ class StatePoint(object):
|
|||
for j in range(i+1, n_filters):
|
||||
filter.stride *= tally.filters[j].num_bins
|
||||
|
||||
# Read scattering moment order strings (e.g., P3, Y-1,2, etc.)
|
||||
# Read scattering moment order strings (e.g., P3, Y1,2, etc.)
|
||||
moments = self._f['{0}{1}/moment_orders'.format(
|
||||
base, tally_key)].value
|
||||
|
||||
|
|
|
|||
|
|
@ -518,7 +518,7 @@ class Summary(object):
|
|||
# Create Tally object and assign basic properties
|
||||
tally = openmc.Tally(tally_id, tally_name)
|
||||
|
||||
# Read scattering moment order strings (e.g., P3, Y-1,2, etc.)
|
||||
# Read scattering moment order strings (e.g., P3, Y1,2, etc.)
|
||||
moments = self._f['{0}/moment_orders'.format(subbase)].value
|
||||
|
||||
# Read score metadata
|
||||
|
|
|
|||
|
|
@ -66,7 +66,9 @@ class Tally(object):
|
|||
triggers : list of openmc.trigger.Trigger
|
||||
List of tally triggers
|
||||
num_scores : Integral
|
||||
Total number of user-specified scores
|
||||
Total number of scores, accounting for the fact that a single
|
||||
user-specified score, e.g. scatter-P3 or flux-Y2,2, might have multiple
|
||||
bins
|
||||
num_filter_bins : Integral
|
||||
Total number of filter bins accounting for all filters
|
||||
num_bins : Integral
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue