Adjusting interpolation enumeration values.

This commit is contained in:
Patrick Shriwise 2022-08-08 07:38:37 -05:00
parent 48a9ac9a2c
commit 445fb0af36
2 changed files with 3 additions and 2 deletions

View file

@ -319,7 +319,8 @@ enum class Interpolation {
lin_log = 3,
log_lin = 4,
log_log = 5,
cubic = 6
quadratic = 6,
cubic = 7
};
enum class RunMode {

View file

@ -13,7 +13,7 @@ from openmc.mixin import EqualityMixin
from .data import EV_PER_MEV
INTERPOLATION_SCHEME = {1: 'histogram', 2: 'linear-linear', 3: 'linear-log',
4: 'log-linear', 5: 'log-log', 6 : 'cubic'}
4: 'log-linear', 5: 'log-log', 6 : 'quadratic', 7 : 'cubic'}
def sum_functions(funcs):