Public Types | Public Member Functions

rt_gauss_quad_1< InterfaceType > Class Template Reference

Gauss quadrature rule with first-order accuracy. More...

#include <numerical_quadrature.hpp>

Inheritance diagram for rt_gauss_quad_1< InterfaceType >:
numerical_quadrature_interface< InterfaceType >

Public Types

enum  { id = 1 }
typedef BaseType::numeric_type numeric_type

Public Member Functions

BaseTypeclone () const
 Returns a copy of the quadrature rule. The caller must ensure proper deletion of the object.
numeric_type eval (rt_interval< InterfaceType > const &interv, rt_expr< InterfaceType > const &e, rt_variable< InterfaceType > const &var) const
 Evaluates the provided expression using the respective numerical quadrature rule.

Detailed Description

template<typename InterfaceType = default_interface_type>
class viennamath::rt_gauss_quad_1< InterfaceType >

Gauss quadrature rule with first-order accuracy.


Member Typedef Documentation


Member Enumeration Documentation

anonymous enum
Enumerator:
id 

Member Function Documentation

BaseType* clone (  )  const [inline, virtual]

Returns a copy of the quadrature rule. The caller must ensure proper deletion of the object.

Implements numerical_quadrature_interface< InterfaceType >.

numeric_type eval ( rt_interval< InterfaceType > const &  interv,
rt_expr< InterfaceType > const &  e,
rt_variable< InterfaceType > const &  var 
) const [inline, virtual]

Evaluates the provided expression using the respective numerical quadrature rule.

Implements numerical_quadrature_interface< InterfaceType >.


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