mcdc.source

mcdc.source(**kw)

Create a source card.

Other Parameters

pointarray_like

[x, y, z] point position for point source.

xarray_like

[x_min and x_max] for uniform source.

yarray_like

[y_min and y_max] for uniform source.

zarray_like

[z_min and z_max] for uniform source.

isotropicbool

Flag for whether source is isotropic.

directionarray_like

[ux, uy, uz] unit vector for parallel beam source.

white_directionarray_like

[nx, ny, nz] unit vector of the normal outward direction of the surface at which isotropic surface source is emitted. Note that it is similar to the mechanics of the typical white boundary condition in reactor physics.

energyarray_like

[MG] Probability mass function of the energy group for multigroup source. [CE] 2D array of piecewise linear pdf [eV, value].

timearray_like

[t_min and t_max] in/at which source is emitted.

probfloat

Relative probability (or strength) of the source.

Returns

dictionary

A source card.