GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       quadrature_option_type - send options to the integrate function

SYNOPSYS

       The  quadrature_option_type  class  is  used  to  send  options  to the
       integrate 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.

IMPLEMENTATION

       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<size_type>::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;
       };

SEE ALSO

       integrate(4), quadrature(2)



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.109 seconds. Last modified: November 04 2018 12:49:43.