deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QSplit< dim > Class Template Reference

#include <deal.II/base/quadrature_lib.h>

Inheritance diagram for QSplit< dim >:
Inheritance graph
[legend]

Public Member Functions

 QSplit (const QSimplex< dim > &base, const Point< dim > &split_point)
 

Detailed Description

template<int dim>
class QSplit< dim >

A quadrature to use when the cell should be split into subregions to integrate using one or more base quadratures.

Definition at line 838 of file quadrature_lib.h.

Constructor & Destructor Documentation

◆ QSplit()

template<int dim>
QSplit< dim >::QSplit ( const QSimplex< dim > &  base,
const Point< dim > &  split_point 
)

Construct a quadrature formula by splitting the reference hyper cube into the minimum number of simplices that have vertex zero coinciding with split_point, and patch together affine transformations of the base quadrature. The point split_point should be in the reference element, and an exception is thrown if this is not the case.

In two dimensions, the resulting quadrature formula will be composed of two, three, or four triangular quadrature formulas if split_point coincides with one of the vertices, if it lies on one of the edges, or if it is internal to the reference element respectively.

The same is true for the three dimensional case, with six, eight, ten, or twelve tetrahedral quadrature formulas if split_point coincides with one of the vertices, if it lies on one of the edges, on one of the faces, or if it is internal to the reference element respectively.

The resulting quadrature can be used, for example, to integrate functions with integrable singularities at the split point, provided that you select as base quadrature one that can integrate singular points on vertex zero of the reference simplex.

An example usage in dimension two is given by:

const unsigned int order = 5;
QSplit<2> quad(QTrianglePolar(order), Point<2>(.3,.4));
Definition point.h:111

The resulting quadrature will look like the following:

Parameters
baseBase QSimplex quadrature to use
split_pointWhere to split the hyper cube

Definition at line 1605 of file quadrature_lib.cc.


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