openmc.data.ace.Library

class openmc.data.ace.Library(filename, table_names=None, verbose=False)[source]

A Library objects represents an ACE-formatted file which may contain multiple tables with data.

Parameters
  • filename (str) – Path of the ACE library file to load.

  • table_names (None, str, or iterable, optional) – Tables from the file to read in. If None, reads in all of the tables. If str, reads in only the single table of a matching name.

  • verbose (bool, optional) – Determines whether output is printed to the stdout when reading a Library

Variables

tables (list) – List of Table instances