NiHu  2.0
NiHu::gaussian_quadrature< line_domain > Class Reference

Gaussian quadrature over a line domain. More...

#include <gaussian_quadrature.hpp>

Public Types

typedef quadrature_base< gaussian_quadrature< line_domain > > base_t
 the base class
 
typedef base_t::xi_t xi_t
 the location type
 
typedef base_t::scalar_t scalar_t
 the scalar type
 
typedef gaussian_quadrature type
 self-returning
 
- Public Types inherited from NiHu::quadrature_base< gaussian_quadrature< line_domain > >
typedef eigen_std_vector< typename quadr_elem< gaussian_quadrature< line_domain > >::type >::type base_t
 the base vector class of the quadrature
 
typedef quadrature_traits< gaussian_quadrature< line_domain > > traits_t
 traits type
 
typedef traits_t::domain_t domain_t
 domain type
 
typedef domain_t::xi_t xi_t
 local coordinate type
 
typedef domain_t::scalar_t scalar_t
 local scalar type
 
typedef quadrature_elem< xi_t, scalar_tquadrature_elem_t
 quadrature elem type
 

Public Member Functions

 gaussian_quadrature ()
 default constructor creating an empty quadrature
 
 gaussian_quadrature (size_t degree)
 constructor for a given polynomial degree More...
 
- Public Member Functions inherited from NiHu::quadrature_base< gaussian_quadrature< line_domain > >
 quadrature_base (size_t N=0)
 constructor allocating space for the quadrature elements More...
 
scalar_t sum_of_weights (void) const
 return sum of quadrature weights More...
 
std::ostream & print (std::ostream &os) const
 print a quadrature into an output stream More...
 
gaussian_quadrature< line_domain > & operator*= (scalar_t const &c)
 multiply the quadrature by a scalar More...
 
gaussian_quadrature< line_domaintransform (Eigen::Matrix< scalar_t, LSet::num_nodes, LSet::domain_t::dimension > const &coords) const
 transform the domain of the quadrature with a given shape set and corner points More...
 
gaussian_quadrature< line_domain > & transform_inplace (const Eigen::Matrix< scalar_t, LSet::num_nodes, LSet::domain_t::dimension > &coords)
 transform the domain of the quadrature in place More...
 
gaussian_quadrature< line_domainoperator+ (const quadrature_base< otherDerived > &other) const
 add two quadratures More...
 
gaussian_quadrature< line_domain > & operator+= (const quadrature_base< otherDerived > &other)
 add another quadrature to this More...
 

Detailed Description

Gaussian quadrature over a line domain.

Definition at line 107 of file gaussian_quadrature.hpp.

Constructor & Destructor Documentation

◆ gaussian_quadrature()

constructor for a given polynomial degree

Parameters
[in]degreepolynomial degree of the quadrature

Definition at line 133 of file gaussian_quadrature.hpp.


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