mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Make sure settings::micro_xs is set for particle restarts
This commit is contained in:
parent
b34283ca40
commit
66f61a8011
1 changed files with 8 additions and 0 deletions
|
|
@ -33,12 +33,20 @@ contains
|
|||
integer :: previous_run_mode
|
||||
type(Particle) :: p
|
||||
|
||||
interface
|
||||
subroutine set_micro_xs() bind(C)
|
||||
end subroutine
|
||||
end interface
|
||||
|
||||
err = 0
|
||||
|
||||
! Set verbosity high
|
||||
verbosity = 10
|
||||
|
||||
!$omp parallel
|
||||
allocate(micro_xs(n_nuclides))
|
||||
!$omp end parallel
|
||||
call set_micro_xs()
|
||||
|
||||
! Initialize the particle to be tracked
|
||||
call particle_initialize(p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue