mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Formatting
This commit is contained in:
parent
8228db6d47
commit
a6c5dd4d8a
1 changed files with 6 additions and 2 deletions
|
|
@ -80,9 +80,13 @@ def model():
|
|||
list(openmc.EnergyFunctionFilter.INTERPOLATION_SCHEMES.keys())
|
||||
for i_val in interpolation_vals:
|
||||
# breakpoint here is fake and unused
|
||||
t1d = openmc.data.Tabulated1D(x, y, breakpoints=[1], interpolation=[i_val])
|
||||
t1d = openmc.data.Tabulated1D(x,
|
||||
y,
|
||||
breakpoints=[1],
|
||||
interpolation=[i_val])
|
||||
f = openmc.EnergyFunctionFilter.from_tabulated1d(t1d)
|
||||
assert f.interpolation == openmc.EnergyFunctionFilter.INTERPOLATION_SCHEMES[i_val]
|
||||
assert f.interpolation == \
|
||||
openmc.EnergyFunctionFilter.INTERPOLATION_SCHEMES[i_val]
|
||||
|
||||
return model
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue