mcdc.Universe

class mcdc.Universe(name: str = '', cells: list[Cell] = [], root: bool = False)

Define a list of cells as a universe.

Parameters:
  • name (str, optional) – User label.

  • cells (list of Cell) – List of cells that comprise the universe.

  • root (bool, optional) – Flag to set as the root universe (ID = 0).

Returns:

The universe object.

Return type:

Universe

See also

mcdc.Cell

Creates a cell that can be used to define a universe.