Go to the source code of this file.
◆ compute_linear_transformation()
template<int dim, int spacedim, int N>
| Quadrature<spacedim> compute_linear_transformation |
( |
const Quadrature< dim > & |
quadrature, |
|
|
const std::array< Point< spacedim >, N > & |
vertices |
|
) |
| |
Given a dim-dimensional quadrature formula to integrate over vertices, returns a spacedim-dimensional quadrature formula to integrate in the real space.
This function is a generalization of compute_affine_transformation().
- Template Parameters
-
| dim | The template dimension of the original Quadrature formula. |
| spacedim | The template dimension of the resulting Quadrature formula on the real space |
| N | The number of vertices of the element we need to integrate on. |
- Parameters
-
| quadrature | A Quadrature<dim> formula |
| vertices | The std::array with N vertices you wish to integrate on. |
- Returns
Quadrature<spacedim>object in the real space
References Assert, and vertices.