mcdc.cell

mcdc.cell(region=None, fill=None, translation=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0))

Create a cell as model building block.

Parameters

regionRegionCard

Region that defines the cell geometry.

fillMaterialCard or UniverseCard or LatticeCard

Material/universe/lattice that fills the cell.

translationarray_like[float], optional

To translate the origin of the fill (if universe or lattice).

rotationarray_like[float], optional

To rotate the the fill (if universe or lattice).

Returns

CellCard

The cell card.

See also

mcdc.surface : Create a surface to define the region of a cell. mcdc.material : Create a material to fill a cell. mcdc.universe : Create a universe to fill a cell. mcdc.lattice : Create a lattice to fill a cell.