Class GLCTriangularQuadrature2DXY

Inheritance Relationships

Base Type

Class Documentation

class GLCTriangularQuadrature2DXY : public opensn::TriangularQuadrature

Triangular GLC quadrature for 2D XY geometry.

Similar to GLCProductQuadrature2DXY, but with fewer azimuthal angles as the polar angle moves away from the equatorial plane. Only includes upper hemisphere points (z >= 0). The number of azimuthal angles is maximized automatically based on Npolar.

Public Functions

explicit GLCTriangularQuadrature2DXY(unsigned int Npolar, unsigned int scattering_order, bool verbose = false)

Construct a 2D XY triangular Gauss-Legendre Chebyshev quadrature.

For each polar angle away from the equator, there is 1 less azimuthal angle per octant. The maximum number of azimuthal angles (at the equator) is computed as 2 * Npolar.

Parameters:
  • Npolar – Number of polar angles.

  • scattering_order – Scattering order for moment calculations.

  • verbose – Flag to enable verbose output.