mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Added #ifdef around a variable declaration in state_point module.
This commit is contained in:
parent
5b91d7f175
commit
5779389d1d
1 changed files with 2 additions and 0 deletions
|
|
@ -312,7 +312,9 @@ contains
|
|||
integer :: n_bins ! total number of bins
|
||||
real(8), allocatable :: tally_temp(:,:,:) ! contiguous array of results
|
||||
real(8), target :: global_temp(2,N_GLOBAL_TALLIES)
|
||||
#ifdef MPI
|
||||
real(8) :: dummy ! temporary receive buffer for non-root reduces
|
||||
#endif
|
||||
type(TallyObject), pointer :: t => null()
|
||||
type(TallyResult), allocatable :: tallyresult_temp(:,:)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue