mcdc.Universe

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

Define a list of cells as a universe.

Parameters

namestr, optional

User label.

cellslist of Cell

List of cells that comprise the universe.

rootbool, optional

Flag to set as the root universe (ID = 0).

Returns

Universe

The universe object.

See Also

mcdc.Cell : Creates a cell that can be used to define a universe.