Reference documentation for deal.II version 9.6.0

#include <deal.II/base/quadrature.h>
Public Member Functions  
QIterated (const Quadrature< 1 > &base_quadrature, const unsigned int n_copies)  
QIterated (const Quadrature< 1 > &base_quadrature, const std::vector< Point< 1 > > &intervals)  
QIterated (const Quadrature< 1 > &, const std::vector< Point< 1 > > &)  
QIterated (const Quadrature< 1 > &, const unsigned int)  
QIterated (const Quadrature< 1 > &base_quadrature, const std::vector< Point< 1 > > &intervals)  
QIterated (const Quadrature< 1 > &base_quadrature, const unsigned int n_copies)  
Static Public Member Functions  
static ::ExceptionBase &  ExcInvalidQuadratureFormula () 
Quadrature formula constructed by iteration of another quadrature formula in each direction. In more than one space dimension, the resulting quadrature formula is constructed in the usual way by building the tensor product of the respective iterated quadrature formula in one space dimension.
In one space dimension, the given base formula is copied and scaled onto a given number of subintervals of length 1/n_copies
. If the quadrature formula uses both end points of the unit interval, then in the interior of the iterated quadrature formula there would be quadrature points which are used twice; we merge them into one with a weight which is the sum of the weights of the left and the rightmost quadrature point.
Since all dimensions higher than one are built up by tensor products of one dimensional and dim1
dimensional quadrature formulae, the argument given to the constructor needs to be a quadrature formula in one space dimension, rather than in dim
dimensions.
The aim of this class is to provide a low order formula, where the error constant can be tuned by increasing the number of quadrature points. This is useful in integrating nondifferentiable functions on cells.
Definition at line 434 of file quadrature.h.
QIterated< dim >::QIterated  (  const Quadrature< 1 > &  base_quadrature, 
const unsigned int  n_copies ) 
Constructor. Iterate the given quadrature formula n_copies
times in each direction. The result is a tensor product quadrature formula defined on the unit hypercube (i.e., the line segment, unit square, or unit cube in 1d, 2d, and 3d respectively).
Definition at line 662 of file quadrature.cc.
QIterated< dim >::QIterated  (  const Quadrature< 1 > &  base_quadrature, 
const std::vector< Point< 1 > > &  intervals ) 
Constructor. Iterate the given quadrature formula on the given subintervals defined by adjacent points in intervals
in each direction. The resulting quadrature rule will have base_quadrature.size() * (intervals.size()  1)
quadrature points if no quadrature point of base_quadrature
is positioned on the boundaries. The result is a tensor product quadrature formula defined on the unit hypercube (i.e., the line segment, unit square, or unit cube in 1d, 2d, and 3d respectively).
intervals.front() == 0
and interval.back() == 1
. Definition at line 653 of file quadrature.cc.
QIterated< 0 >::QIterated  (  const Quadrature< 1 > &  , 
const std::vector< Point< 1 > > &  ) 
Definition at line 508 of file quadrature.cc.
QIterated< 0 >::QIterated  (  const Quadrature< 1 > &  , 
const unsigned int  ) 
Definition at line 517 of file quadrature.cc.
QIterated< 1 >::QIterated  (  const Quadrature< 1 > &  base_quadrature, 
const std::vector< Point< 1 > > &  intervals ) 
Definition at line 526 of file quadrature.cc.
QIterated< 1 >::QIterated  (  const Quadrature< 1 > &  base_quadrature, 
const unsigned int  n_copies ) 
Definition at line 637 of file quadrature.cc.