mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Removed add_bank_sites subroutine in source module.
This commit is contained in:
parent
3d79daebef
commit
fc516d6347
1 changed files with 0 additions and 24 deletions
|
|
@ -136,30 +136,6 @@ contains
|
|||
|
||||
end function get_source_particle
|
||||
|
||||
!===============================================================================
|
||||
! ADD_BANK_SITES
|
||||
!===============================================================================
|
||||
|
||||
subroutine add_bank_sites(p, nuc, n)
|
||||
|
||||
type(Particle), pointer :: p
|
||||
type(Nuclide), pointer :: nuc
|
||||
integer, intent(in) :: n
|
||||
|
||||
integer :: i
|
||||
|
||||
if (n == 0 .or. n_bank == 3*n_particles) return
|
||||
do i = n_bank + 1, min(n_bank + n, 3*n_particles)
|
||||
! Copy particle data
|
||||
fission_bank(i)%uid = p%uid
|
||||
fission_bank(i)%xyz = p%xyz
|
||||
|
||||
! TODO: Sample angle and energy from secondary distribution
|
||||
end do
|
||||
n_bank = min(n_bank + n, 3*n_particles)
|
||||
|
||||
end subroutine add_bank_sites
|
||||
|
||||
!===============================================================================
|
||||
! COPY_FROM_BANK
|
||||
!===============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue