mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Fix typos (thanks @smharper)
This commit is contained in:
parent
0da649fd90
commit
e1da965f70
3 changed files with 5 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue