.\" .de Id .. .de Sp .if n .sp .if t .sp 0.4 .. .TH quadrature_option_type 2rheolef "rheolef-6.5" "rheolef-6.5" "rheolef-6.5" .\" label: /*Class:quadrature .SH NAME \fBquadrature_option_type\fP - send options to the integrate function .\" skip: @cindex quadrature formulae .\" skip: @clindex quadrature .\" skip: @clindex reference_element .SH SYNOPSYS The \fBquadrature_option_type\fP class is used to send options to the \fBintegrate\fP function see integrate(4). This class allows to set the family (Gauss, Gauss-Lobatto, etc) and the polynomial degree that is exactly integrated. See also the see quadrature(2) for more on quadrature formulae. .\" END .SH IMPLEMENTATION .\" begin_example .Sp .nf class quadrature_option_type { public: // typedefs: typedef size_t size_type; typedef enum { gauss = 0, gauss_lobatto = 1, gauss_radau = 2, middle_edge = 3, superconvergent = 4, max_family = 5 } family_type; // update also family_name[] in quatrature.cc // allocators: quadrature_option_type( family_type ft = quadrature_option_type::gauss, size_type k = std::numeric_limits::max()); quadrature_option_type (const quadrature_option_type& qopt); quadrature_option_type& operator= (const quadrature_option_type& qopt); // accessors & modifiers: size_t get_order() const; family_type get_family() const; std::string get_family_name() const; void set_order (size_t r); void set_family (family_type ft); // data: protected: family_type _family; size_t _order; }; .Sp .fi .\" end_example .\" LENGTH = 2 .SH SEE ALSO integrate(4), quadrature(2)