From 153281a490a55a814a7fbaae573080d447bc618e Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Sat, 21 Feb 2026 16:00:22 +0100 Subject: [PATCH] Remove unused class Tabulated2D (#3818) --- openmc/data/endf.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/openmc/data/endf.py b/openmc/data/endf.py index 73ae210b62..e163ad4c22 100644 --- a/openmc/data/endf.py +++ b/openmc/data/endf.py @@ -225,24 +225,3 @@ class Evaluation: self.target['mass_number'], self.target['isomeric_state']) - -class Tabulated2D: - """Metadata for a two-dimensional function. - - This is a dummy class that is not really used other than to store the - interpolation information for a two-dimensional function. Once we refactor - to adopt GNDS-like data containers, this will probably be removed or - extended. - - Parameters - ---------- - breakpoints : Iterable of int - Breakpoints for interpolation regions - interpolation : Iterable of int - Interpolation scheme identification number, e.g., 3 means y is linear in - ln(x). - - """ - def __init__(self, breakpoints, interpolation): - self.breakpoints = breakpoints - self.interpolation = interpolation