mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Fixed bug when not specifying verbosity in settings.xml.
This commit is contained in:
parent
12a1288a0c
commit
d3c5c26dd4
2 changed files with 4 additions and 3 deletions
|
|
@ -157,7 +157,7 @@ module global
|
|||
|
||||
! The verbosity controls how much information will be printed to the
|
||||
! screen and in logs
|
||||
integer :: verbosity = 5
|
||||
integer :: verbosity = 7
|
||||
|
||||
contains
|
||||
|
||||
|
|
|
|||
|
|
@ -62,8 +62,9 @@ contains
|
|||
call fatal_error()
|
||||
end if
|
||||
|
||||
! Initialize path for cross_sections.xml
|
||||
! Initialize XML scalar variables
|
||||
cross_sections_ = ""
|
||||
verbosity_ = 0
|
||||
|
||||
! Parse settings.xml file
|
||||
call read_xml_file_settings_t(filename)
|
||||
|
|
@ -97,7 +98,7 @@ contains
|
|||
end if
|
||||
|
||||
! Verbosity
|
||||
verbosity = verbosity_
|
||||
if (verbosity_ > 0) verbosity = verbosity_
|
||||
|
||||
if (associated(source_ % coeffs)) then
|
||||
! Determine external source type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue