WaveBlocksND
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
waveblocks::innerproducts::GaussHermiteQR< ORDER > Struct Template Reference

Structure providing weighted nodes for Gauss Hermite quadrature. More...

#include <gauss_hermite_qr.hpp>

Public Types

using NodeMatrix = Eigen::Matrix< real_t, 1, Eigen::Dynamic >
 
using WeightVector = Eigen::Matrix< real_t, 1, Eigen::Dynamic >
 

Static Public Member Functions

static dim_t number_nodes ()
 Return the number of nodes for the given order. More...
 
static NodeMatrix nodes ()
 Return the quadrature nodes. More...
 
static WeightVector weights ()
 Return the quadrature weights. More...
 
static std::tuple< NodeMatrix, WeightVectornodes_and_weights ()
 Return the quadrature nodes and weights. More...
 
static void clear_cache ()
 Free the precalculated nodes and weights. More...
 

Static Public Attributes

static const dim_t D = 1
 
static const dim_t order = ORDER
 

Detailed Description

template<dim_t ORDER>
struct waveblocks::innerproducts::GaussHermiteQR< ORDER >

Structure providing weighted nodes for Gauss Hermite quadrature.

Template Parameters
ORDERrequested order of the quadrature rule

Member Typedef Documentation

template<dim_t ORDER>
using waveblocks::innerproducts::GaussHermiteQR< ORDER >::NodeMatrix = Eigen::Matrix<real_t,1,Eigen::Dynamic>
template<dim_t ORDER>
using waveblocks::innerproducts::GaussHermiteQR< ORDER >::WeightVector = Eigen::Matrix<real_t,1,Eigen::Dynamic>

Member Function Documentation

template<dim_t ORDER>
static void waveblocks::innerproducts::GaussHermiteQR< ORDER >::clear_cache ( )
inlinestatic

Free the precalculated nodes and weights.

Does nothing, only for consistency with TensorProductQR.

template<dim_t ORDER>
static NodeMatrix waveblocks::innerproducts::GaussHermiteQR< ORDER >::nodes ( )
inlinestatic

Return the quadrature nodes.

template<dim_t ORDER>
static std::tuple<NodeMatrix,WeightVector> waveblocks::innerproducts::GaussHermiteQR< ORDER >::nodes_and_weights ( )
inlinestatic

Return the quadrature nodes and weights.

template<dim_t ORDER>
static dim_t waveblocks::innerproducts::GaussHermiteQR< ORDER >::number_nodes ( )
inlinestatic

Return the number of nodes for the given order.

In the case of GaussHermiteQR, this is the same as the order.

template<dim_t ORDER>
static WeightVector waveblocks::innerproducts::GaussHermiteQR< ORDER >::weights ( )
inlinestatic

Return the quadrature weights.

Member Data Documentation

template<dim_t ORDER>
const dim_t waveblocks::innerproducts::GaussHermiteQR< ORDER >::D = 1
static
template<dim_t ORDER>
const dim_t waveblocks::innerproducts::GaussHermiteQR< ORDER >::order = ORDER
static

The documentation for this struct was generated from the following file: