mcdc.Cell¶
- class mcdc.Cell(region: Region | None = None, fill: MaterialBase | Universe | Lattice | None = None, name: str = '', translation: Sequence[float] = [0.0, 0.0, 0.0], rotation: Sequence[float] = [0.0, 0.0, 0.0])¶
Define a cell from a region and a fill.
- Parameters:
region (Region, optional) – The spatial region defining the cell boundaries. Constructed using
+surface/-surfacehalf-space operators.fill (Material or MaterialMG or Universe or Lattice, optional) – The material or universe that fills the cell.
name (str, optional) – User label.
translation (array_like of float, optional) – Translation vector
[tx, ty, tz]in cm.rotation (array_like of float, optional) – Rotation angles
[rx, ry, rz]in degrees.
See also
mcdc.SurfaceCreates surfaces that can be used to define cell regions.
mcdc.UniverseGroups cells into a universe.