mcdc.Cell

class mcdc.Cell(region: Region | None = None, fill: MaterialBase | Universe | Lattice | None = None, name: str = '', translation: Iterable[float] = [0.0, 0.0, 0.0], rotation: Iterable[float] = [0.0, 0.0, 0.0])

Define a cell from a region and a fill.

Parameters

regionRegion, optional

The spatial region defining the cell boundaries. Constructed using +surface / -surface half-space operators.

fillMaterial or MaterialMG or Universe or Lattice, optional

The material or universe that fills the cell.

namestr, optional

User label.

translationarray_like of float, optional

Translation vector [tx, ty, tz] in cm.

rotationarray_like of float, optional

Rotation angles [rx, ry, rz] in degrees.

See Also

mcdc.Surface : Creates surfaces that can be used to define cell regions. mcdc.Universe : Groups cells into a universe.