pyopensn.aquad.GLCTriangularQuadrature2DXY

class pyopensn.aquad.GLCTriangularQuadrature2DXY

Triangular Gauss-Legendre-Chebyshev quadrature for 2D, XY geometry.

Only includes points in the upper hemisphere (z >= 0).

Wrapper of opensn::GLCTriangularQuadrature2DXY.

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

Construct a Triangular Gauss-Legendre-Chebyshev quadrature for 2D, XY geometry.

Parameters:
  • n_polar (int) – Number of polar angles (only upper hemisphere will be used). The maximum number of azimuthal angles (at the equator) is automatically computed as 2 * n_polar.

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

  • verbose (bool, default=False) – Verbosity.

property abscissae

Vector of polar and azimuthal angles.

property omegas

Vector of direction vectors.

property weights

Quadrature weights.