mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Add IncoherentInelasticAEContinuous class stub
This commit is contained in:
parent
8ea8206193
commit
c65366d7a0
2 changed files with 7 additions and 3 deletions
|
|
@ -19,12 +19,12 @@ from . import HDF5_VERSION, HDF5_VERSION_MAJOR, endf
|
|||
from .data import K_BOLTZMANN, ATOMIC_SYMBOL, EV_PER_MEV, NATURAL_ABUNDANCE
|
||||
from .ace import Table, get_table, Library
|
||||
from .angle_energy import AngleEnergy
|
||||
from .correlated import CorrelatedAngleEnergy
|
||||
from .function import Tabulated1D, Function1D
|
||||
from .njoy import make_ace_thermal
|
||||
from .thermal_angle_energy import (CoherentElasticAE, IncoherentElasticAE,
|
||||
IncoherentElasticAEDiscrete,
|
||||
IncoherentInelasticAEDiscrete)
|
||||
IncoherentInelasticAEDiscrete,
|
||||
IncoherentInelasticAEContinuous)
|
||||
|
||||
|
||||
_THERMAL_NAMES = {
|
||||
|
|
@ -673,7 +673,7 @@ class ThermalScattering(EqualityMixin):
|
|||
breakpoints = [n_energy]
|
||||
interpolation = [2]
|
||||
energy = inelastic_xs.x
|
||||
distribution = CorrelatedAngleEnergy(
|
||||
distribution = IncoherentInelasticAEContinuous(
|
||||
breakpoints, interpolation, energy, energy_out, mu_out)
|
||||
|
||||
table.inelastic = ThermalScatteringReaction(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import numpy as np
|
||||
|
||||
from .angle_energy import AngleEnergy
|
||||
from .correlated import CorrelatedAngleEnergy
|
||||
|
||||
|
||||
class CoherentElasticAE(AngleEnergy):
|
||||
|
|
@ -134,3 +135,6 @@ class IncoherentInelasticAEDiscrete(AngleEnergy):
|
|||
mu_out = group['mu_out'][()]
|
||||
skewed = bool(group['skewed'])
|
||||
return cls(energy_out, mu_out, skewed)
|
||||
|
||||
class IncoherentInelasticAEContinuous(CorrelatedAngleEnergy):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue