mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Force analog for tallies with spherical harmonics filter with cosine=scatter
This commit is contained in:
parent
e0e1dc6bd5
commit
69f97e6f2c
2 changed files with 5 additions and 2 deletions
|
|
@ -20,8 +20,8 @@ module tally_filter_sph_harm
|
|||
public :: openmc_sphharm_filter_set_order
|
||||
public :: openmc_sphharm_filter_set_cosine
|
||||
|
||||
integer, parameter :: COSINE_SCATTER = 1
|
||||
integer, parameter :: COSINE_PARTICLE = 2
|
||||
integer, public, parameter :: COSINE_SCATTER = 1
|
||||
integer, public, parameter :: COSINE_PARTICLE = 2
|
||||
|
||||
!===============================================================================
|
||||
! SPHERICALHARMONICSFILTER gives spherical harmonics expansion moments of a
|
||||
|
|
|
|||
|
|
@ -359,6 +359,9 @@ contains
|
|||
this % estimator = ESTIMATOR_ANALOG
|
||||
type is (SphericalHarmonicsFilter)
|
||||
j = FILTER_SPH_HARMONICS
|
||||
if (filt % cosine == COSINE_SCATTER) then
|
||||
this % estimator = ESTIMATOR_ANALOG
|
||||
end if
|
||||
type is (SpatialLegendreFilter)
|
||||
j = FILTER_SPTL_LEGENDRE
|
||||
this % estimator = ESTIMATOR_COLLISION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue