pyopensn.aquad.LebedevQuadrature2DXY

class pyopensn.aquad.LebedevQuadrature2DXY

Lebedev quadrature for 2D, XY geometry.

This is a 2D version of the Lebedev quadrature that only includes points in the upper hemisphere (z >= 0). Points on the equator (z = 0) have their weights halved since they are shared between hemispheres.

Wrapper of opensn::LebedevQuadrature2DXY.

__init__(self: pyopensn.aquad.LebedevQuadrature2DXY, **kwargs) None

Constructs a Lebedev quadrature for 2D, XY geometry.

Parameters:
  • quadrature_order (int) – The order of the quadrature.

  • scattering_order (int) – Maximum scattering order supported by the angular quadrature.

  • verbose (bool, default=False) – Whether to print verbose output during initialization.

property abscissae

Vector of polar and azimuthal angles.

property omegas

Vector of direction vectors.

property weights

Quadrature weights.