mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
re-added back in fatal error if petsc is not compiled when using cmfd
This commit is contained in:
parent
cc553da527
commit
4b6b1a7b98
1 changed files with 4 additions and 0 deletions
|
|
@ -561,6 +561,10 @@ contains
|
|||
call lower_case(run_cmfd_)
|
||||
if (run_cmfd_ == 'true' .or. run_cmfd_ == '1') then
|
||||
cmfd_run = .true.
|
||||
#ifndef PETSC
|
||||
message = 'CMFD is not available, recompile OpenMC with PETSc'
|
||||
call fatal_error()
|
||||
#endif
|
||||
end if
|
||||
|
||||
end subroutine read_settings_xml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue