mcdc.surface¶
- mcdc.surface(type_, bc='interface', **kw)¶
Create a surface to define the region of a cell.
Parameters¶
- type_{“plane-x”, “plane-y”, “plane-z”, “plane”, “cylinder-x”, “cylinder-y”,
“cylinder-z”, “sphere”, “quadric”}
Surface type.
- bc{“interface”, “vacuum”, “reflective”}
Surface boundary condition.
Other Parameters¶
- x{float, array_like[float]}
x-position [cm] for “plane-x”.
- y{float, array_like[float]}
y-position [cm] for “plane-y”.
- z{float, array_like[float]}
z-position [cm] for “plane-z”.
- centerarray_like[float]
Center point [cm] for “cylinder-x” (y,z), “cylinder-y” (x,z), “cylinder-z” (x,y), or “sphere” (x,y,z).
- radiusfloat
Radius [cm] for “cylinder-x”, “cylinder-y”, “cylinder-z”, and “sphere”.
- A, B, C, Dfloat
Coefficients [cm] for “plane”.
- A, B, C, D, E, F, G, H, I, Jfloat
Coefficients [cm] for “quadric”.
Returns¶
- SurfaceCard
The surface card
See also¶
mcdc.cell : Create a cell whose region is defined by surfaces.