pyopensn.aquad.TriangularQuadrature

class pyopensn.aquad.TriangularQuadrature

Triangular quadrature base class.

Unlike product quadratures which have a fixed number of azimuthal angles per polar level, triangular quadratures have a varying number of azimuthal angles that decreases as the polar angle moves away from the equatorial plane.

Wrapper of opensn::TriangularQuadrature.

GetDiscreteToMomentOperator(self: pyopensn.aquad.AngularQuadrature) numpy.ndarray[numpy.float64]

Get the discrete-to-moment operator as a numpy array.

GetMomentToDiscreteOperator(self: pyopensn.aquad.AngularQuadrature) numpy.ndarray[numpy.float64]

Get the moment-to-discrete operator as a numpy array.

GetMomentToHarmonicsIndexMap(self: pyopensn.aquad.AngularQuadrature) list[pyopensn.aquad.HarmonicIndices]
property abscissae

Vector of polar and azimuthal angles.

property omegas

Vector of direction vectors.

property weights

Quadrature weights.