mcdc.surface#
- mcdc.surface(type_, bc='interface', sensitivity=False, dsm_Np=1.0, **kw)#
Create a surface card and return SurfaceHandle to define cell domain.
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.
- sensitivitybool, optional
Set to True to calculate sensitivities to the nuclide.
- dsm_Npint
Average number of derivative particles produced at each sensitivity surface crossing.
Other Parameters#
- x{float, array_like}
x-position [cm] for plane-x. If a vector is passed, positions of the surface at the times specified by the parameter t.
- y{float, array_like}
y-position [cm] for plane-y. If a vector is passed, positions of the surface at the times specified by the parameter t.
- z{float, array_like}
z-position [cm] for plane-z. If a vector is passed, positions of the surface at the times specified by the parameter t.
- centerarray_like
Center point [cm] for cylinder-x (y,z), cylinder-y (x,z), cylinder-z (x,y), and 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#
- SurfaceHandle
A surface handle used for assigning surface, and its sense, to a cell card.
See also#
mcdc.cell : SurfaceHandle is used to define cell domain.