|
ug4
|
#include <gauss_tensor_prod.h>
Inheritance diagram for ug::GaussQuadraturePyramid:Public Member Functions | |
| GaussQuadraturePyramid (size_t order) | |
| constructor | |
| ~GaussQuadraturePyramid () | |
| destructor | |
Public Member Functions inherited from ug::QuadratureRule< 3 > | |
| size_t | order () const |
| returns the order | |
| const MathVector< dim > & | point (size_t i) const |
| returns i'th integration point | |
| const MathVector< dim > * | points () const |
| returns all positions in an array of size() | |
| QuadratureRule () | |
| constructor | |
| size_t | size () const |
| number of integration points | |
| number | weight (size_t i) const |
| return the i'th weight | |
| const number * | weights () const |
| returns all weights in an array of size() | |
| virtual | ~QuadratureRule () |
| destructor | |
Additional Inherited Members | |
Public Types inherited from ug::QuadratureRule< 3 > | |
| typedef MathVector< dim > | position_type |
| Position Type in Reference Element Space. | |
| typedef number | weight_type |
| Type of weights. | |
Static Public Attributes inherited from ug::QuadratureRule< 3 > | |
| static const int | dim |
| Dimension of Reference Element. | |
Protected Attributes inherited from ug::QuadratureRule< 3 > | |
| size_t | m_numPoints |
| number of points | |
| int | m_order |
| Order of rule. | |
| const MathVector< dim > * | m_pvPoint |
| Integration points. | |
| const number * | m_pvWeight |
| Weights. | |
The following class provides QuadratureRules for pyramids by using Gauss Jacobi Quadrature and Gauss Legendre Quadrature
The idea of this quadrature is to divide the pyramid into two tetrahdrons given by {x,0,1},{y,0,x},{z,0,1-x} and {x,0,1},{y,x,1},{z,0,1-y} and carry out integration on those using GaussQuadratureTetrehedron
| ug::GaussQuadraturePyramid::GaussQuadraturePyramid | ( | size_t | order | ) |
constructor
References ug::DimReferenceMapping< TDim, TWorldDim >::local_to_global(), ug::QuadratureRule< 3 >::m_numPoints, ug::QuadratureRule< 3 >::m_order, ug::QuadratureRule< 3 >::m_pvPoint, ug::QuadratureRule< 3 >::m_pvWeight, ug::QuadratureRule< TDim >::order(), ug::QuadratureRule< 3 >::order(), ug::QuadratureRule< TDim >::point(), ug::ROID_TETRAHEDRON, ug::QuadratureRule< TDim >::size(), ug::DimReferenceMapping< TDim, TWorldDim >::sqrt_gram_det(), and ug::QuadratureRule< TDim >::weight().
| ug::GaussQuadraturePyramid::~GaussQuadraturePyramid | ( | ) |
destructor
References ug::QuadratureRule< 3 >::m_pvPoint, and ug::QuadratureRule< 3 >::m_pvWeight.