mcdc.MeshStructured

class mcdc.MeshStructured(name: str = '', x: Sequence[float] = [-10000000000.0, 10000000000.0], y: Sequence[float] = [-10000000000.0, 10000000000.0], z: Sequence[float] = [-10000000000.0, 10000000000.0])

Define a structured rectilinear mesh with arbitrary bin edges.

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

  • x (array_like of float, optional) – Bin edges along x (cm).

  • y (array_like of float, optional) – Bin edges along y (cm).

  • z (array_like of float, optional) – Bin edges along z (cm).

Returns:

The structured mesh object.

Return type:

MeshStructured

See also

mcdc.MeshUniform

Creates a uniform mesh.

mcdc.TallyMesh

Creates a tally on a mesh.