NiHu
2.0
|
Log-Gaussian quadrature over a line domain. More...
#include <gaussian_quadrature.hpp>
Public Types | |
typedef quadrature_base< log_gaussian_quadrature > | 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 log_gaussian_quadrature | type |
self-returning | |
Public Types inherited from NiHu::quadrature_base< log_gaussian_quadrature > | |
typedef eigen_std_vector< typename quadr_elem< log_gaussian_quadrature >::type >::type | base_t |
the base vector class of the quadrature | |
typedef quadrature_traits< log_gaussian_quadrature > | 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_t > | quadrature_elem_t |
quadrature elem type | |
Public Member Functions | |
log_gaussian_quadrature () | |
default constructor creating an empty quadrature | |
log_gaussian_quadrature (size_t degree) | |
constructor for a given polynomial degree More... | |
Public Member Functions inherited from NiHu::quadrature_base< log_gaussian_quadrature > | |
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... | |
log_gaussian_quadrature & | operator*= (scalar_t const &c) |
multiply the quadrature by a scalar More... | |
log_gaussian_quadrature | transform (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... | |
log_gaussian_quadrature & | transform_inplace (const Eigen::Matrix< scalar_t, LSet::num_nodes, LSet::domain_t::dimension > &coords) |
transform the domain of the quadrature in place More... | |
log_gaussian_quadrature | operator+ (const quadrature_base< otherDerived > &other) const |
add two quadratures More... | |
log_gaussian_quadrature & | operator+= (const quadrature_base< otherDerived > &other) |
add another quadrature to this More... | |
Static Public Member Functions | |
static Eigen::Matrix< scalar_t, Eigen::Dynamic, 2 > | log_gauss_impl (size_t N) |
return 1D N-point log Gaussian quadrature More... | |
Log-Gaussian quadrature over a line domain.
Definition at line 540 of file gaussian_quadrature.hpp.
|
inline |
constructor for a given polynomial degree
[in] | degree | polynomial degree of the quadrature |
Definition at line 681 of file gaussian_quadrature.hpp.
|
inlinestatic |
return 1D N-point log Gaussian quadrature
scalar_t | the scalar type |
[in] | N | number of quadrature points |
Definition at line 558 of file gaussian_quadrature.hpp.