Skip to content

minimc_geom

Thomas Kittelmann edited this page Mar 9, 2026 · 3 revisions

MiniMC geometry cfg-strings

Four MiniMC simulation geometries are currently available, all representing a single convex volume centered around the origin and axis aligned where appropriate.

Specific geometries available

The available geometries are:

  • "sphere":

    A spherical volume centered at (0,0,0).

    Parameters:

    • r (default 0.01) : sphere radius [m].
  • "box":

    An axis-aligned box with corners at (+-dx,+-dy,+-dz).

    Parameters:

    • dx (default 0.01) : half-width [m].
    • dy (default 0.01) : half-height [m].
    • dz (default 0.01) : half-depth [m].
  • "slab":

    An unbounded slab bound by planes through (0,0,+-dz) and normals (0,0,1). This is essentially a box with dx=dy=infinity.

    Parameters:

    • dz (default 0.01) : half-depth [m].
  • "cyl":

    A cylinder around the y-axis. If dy!=0 the cylinder has finite length, with ends at y=+-dy.

    Parameters:

    • r (default 0.01) : cylinder radius radius [m].
    • dy (default 0) : Half-length of cylinder (0 means infinitely long) [m].

Clone this wiki locally