ug4
|
#include <gauss_tensor_prod.h>
Public Member Functions | |
GaussQuadraturePyramid (size_t order) | |
constructor More... | |
~GaussQuadraturePyramid () | |
destructor More... | |
Public Member Functions inherited from ug::QuadratureRule< 3 > | |
size_t | order () const |
returns the order More... | |
const MathVector< dim > & | point (size_t i) const |
returns i'th integration point More... | |
const MathVector< dim > * | points () const |
returns all positions in an array of size() More... | |
QuadratureRule () | |
constructor More... | |
size_t | size () const |
number of integration points More... | |
number | weight (size_t i) const |
return the i'th weight More... | |
const number * | weights () const |
returns all weights in an array of size() More... | |
virtual | ~QuadratureRule () |
destructor More... | |
Additional Inherited Members | |
Public Types inherited from ug::QuadratureRule< 3 > | |
typedef MathVector< dim > | position_type |
Position Type in Reference Element Space. More... | |
typedef number | weight_type |
Type of weights. More... | |
Static Public Attributes inherited from ug::QuadratureRule< 3 > | |
static const int | dim |
Dimension of Reference Element. More... | |
Protected Attributes inherited from ug::QuadratureRule< 3 > | |
size_t | m_numPoints |
number of points More... | |
int | m_order |
Order of rule. More... | |
const MathVector< dim > * | m_pvPoint |
Integration points. More... | |
const number * | m_pvWeight |
Weights. More... | |
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.