hummingbird
Solving the self-adjoint angular flux transport equation using spectral elements on Cartesian geometry
Loading...
Searching...
No Matches
hummingbird::GaussLegendreChebyshev Class Reference

Class defines a Gauss-Legendre-Chebyshev quadrature set on the unit sphere, where a Gauss-Legendre quadrature set is used along the polar direction, and a Gauss-Chebyshev quadrature set is used along the azimuthal direction. More...

#include <gauss_legendre_chebyshev.h>

Inheritance diagram for hummingbird::GaussLegendreChebyshev:
[legend]
Collaboration diagram for hummingbird::GaussLegendreChebyshev:
[legend]

Public Member Functions

 GaussLegendreChebyshev (const size_t n_half_azim, const size_t n_polar)
 Construct a new Gauss Legendre Chebyshev object.
Public Member Functions inherited from hummingbird::QuadratureBase< Ordinate >
 QuadratureBase ()=default
double GetWeight (const unsigned int abscissa_index) const
 Get the weight value corresponding to a given abscissa value.
Ordinate GetAbscissa (const unsigned int index) const
 Get the abscissa corresponding to the index.
double Integrate (const std::vector< QuadraturePair > &quad_pairs) const
 Integrate the function using the function value and its location on the quadrature grid.
const std::vector< Ordinate > & abscissas () const
 Getter for the abscissas in the quadrature set.
size_t n_points () const
 Get total number of abscissas.

Additional Inherited Members

Protected Member Functions inherited from hummingbird::QuadratureBase< Ordinate >
void CreateWeightMap ()
 Create the weight map.
virtual double ComputeWeight (const size_t k, const size_t n)
 Compute the weight for the k-th abscissa for n total points.
Protected Attributes inherited from hummingbird::QuadratureBase< Ordinate >
std::vector< Ordinate > abscissas_
 Abscissa values.
std::map< unsigned int, double > weight_map_
 Map to store the weights of the quadrature set where the keys are the indices corresponding to abscissa values.

Detailed Description

Class defines a Gauss-Legendre-Chebyshev quadrature set on the unit sphere, where a Gauss-Legendre quadrature set is used along the polar direction, and a Gauss-Chebyshev quadrature set is used along the azimuthal direction.

Definition at line 20 of file gauss_legendre_chebyshev.h.

Constructor & Destructor Documentation

◆ GaussLegendreChebyshev()

hummingbird::GaussLegendreChebyshev::GaussLegendreChebyshev ( const size_t n_half_azim,
const size_t n_polar )

Construct a new Gauss Legendre Chebyshev object.

Parameters
n_half_azimNumber of directions in a half-circle (directions will be mirrored, and thus doubled)
n_polarNumber of directions on the polar axis

Definition at line 10 of file gauss_legendre_chebyshev.cc.


The documentation for this class was generated from the following files: