Fix typos (thanks @smharper)

This commit is contained in:
Paul Romano 2018-03-20 14:15:56 -05:00
parent 0da649fd90
commit e1da965f70
3 changed files with 5 additions and 7 deletions

View file

@ -570,7 +570,7 @@ class SurfaceFilter(WithIDFilter):
Parameters
----------
bins : openmc.Surface, int, or iterable of Integral
The surfaces to tally over. Either openmc.Surface objects of their ID
The surfaces to tally over. Either openmc.Surface objects or their ID
numbers can be used.
filter_id : int
Unique identifier for the filter
@ -578,7 +578,7 @@ class SurfaceFilter(WithIDFilter):
Attributes
----------
bins : Iterable of Integral
The surfaces to tally over. Either openmc.Surface objects of their ID
The surfaces to tally over. Either openmc.Surface objects or their ID
numbers can be used.
id : int
Unique identifier for the filter

View file

@ -2371,9 +2371,7 @@ contains
! Allocate according to the filter type
err = openmc_filter_set_type(i_start + i - 1, to_c_string(temp_str))
if (err /= 0) then
call fatal_error(to_f_string(openmc_err_msg))
end if
if (err /= 0) call fatal_error(to_f_string(openmc_err_msg))
! Read filter data from XML
call f % obj % from_xml(node_filt)

View file

@ -48,7 +48,7 @@ contains
n = node_word_count(node, "bins")
if (n /= 1) call fatal_error("Only one mesh can be &
&specified per mesh filter.")
&specified per meshsurface filter.")
! Determine id of mesh
call get_node_value(node, "bins", id)
@ -297,7 +297,7 @@ contains
!===============================================================================
function openmc_meshsurface_filter_set_mesh(index, index_mesh) result(err) bind(C)
! Set the mesh for a mesh filter
! Set the mesh for a mesh surface filter
integer(C_INT32_T), value, intent(in) :: index
integer(C_INT32_T), value, intent(in) :: index_mesh
integer(C_INT) :: err