Quadrature handler for Gauss-Legendre quadrature. More...
#include <gauss_legendre.hpp>
Public Member Functions | |
GaussLegendre (const size_t num_nodes) | |
GaussLegendre ()=default | |
virtual | ~GaussLegendre ()=default |
virtual bool | left_is_node () const override |
virtual bool | right_is_node () const override |
![]() | |
precision | expected_error () const |
Compute a rough estimate of the numerical error... More... | |
IQuadrature (const size_t num_nodes) | |
IQuadrature () | |
virtual | ~IQuadrature ()=default |
virtual const Matrix< precision > & | get_q_mat () const |
virtual const Matrix< precision > & | get_s_mat () const |
virtual const Matrix< precision > & | get_b_mat () const |
virtual const vector< precision > & | get_q_vec () const |
virtual const vector< precision > & | get_nodes () const |
virtual size_t | get_num_nodes () const |
Protected Member Functions | |
virtual void | compute_nodes () override |
![]() | |
virtual void | compute_weights () |
Static Protected Attributes | |
static const bool | LEFT_IS_NODE = false |
static const bool | RIGHT_IS_NODE = false |
![]() | |
static const bool | LEFT_IS_NODE = false |
static const bool | RIGHT_IS_NODE = false |
Additional Inherited Members | |
![]() | |
size_t | num_nodes |
Matrix< precision > | q_mat |
Matrix< precision > | s_mat |
vector< precision > | q_vec |
Matrix< precision > | b_mat |
vector< precision > | nodes |
Quadrature handler for Gauss-Legendre quadrature.
scalar | precision of quadrature (i.e. double ) |
Definition at line 23 of file gauss_legendre.hpp.
|
explicit |
Definition at line 14 of file gauss_legendre_impl.hpp.
References pfasst::quadrature::GaussLegendre< precision >::compute_nodes(), and pfasst::quadrature::IQuadrature< precision >::compute_weights().
|
default |
|
virtualdefault |
|
overrideprotectedvirtual |
pfasst::NotImplementedYet | if not overwritten by implementation; required for quadrature of any kind |
Reimplemented from pfasst::quadrature::IQuadrature< precision >.
Definition at line 34 of file gauss_legendre_impl.hpp.
References pfasst::quadrature::Polynomial< CoeffT >::legendre().
Referenced by pfasst::quadrature::GaussLegendre< precision >::GaussLegendre().
|
overridevirtual |
pfasst::NotImplementedYet | if not overwritten by implementation; required for quadrature of any kind |
Reimplemented from pfasst::quadrature::IQuadrature< precision >.
Definition at line 22 of file gauss_legendre_impl.hpp.
|
overridevirtual |
pfasst::NotImplementedYet | if not overwritten by implementation; required for quadrature of any kind |
Reimplemented from pfasst::quadrature::IQuadrature< precision >.
Definition at line 28 of file gauss_legendre_impl.hpp.
|
staticprotected |
Definition at line 28 of file gauss_legendre.hpp.
|
staticprotected |
Definition at line 29 of file gauss_legendre.hpp.