![]() |
NeoPZ
|
Integration rule for pyramid. Numerical Integration. More...
#include <tpzintrulep3d.h>
Public Types | |
enum | { NRULESPYRAMID_ORDER } |
Public Member Functions | |
TPZIntRuleP3D (const TPZIntRuleP3D ©) | |
TPZIntRuleP3D & | operator= (const TPZIntRuleP3D ©) |
int | NInt () const |
Returns number of integration points. More... | |
void | Loc (int i, TPZVec< REAL > &pos) const |
Returns location of the ith point. More... | |
REAL | W (int i) const |
Returns weight for the ith point. More... | |
int | Order () |
return the order of the polynomial order that can be integrated More... | |
void | Print (std::ostream &out=std::cout) |
Prints the number of integration points, all points and weights (as one dimension) More... | |
Protected Member Functions | |
int | ComputingCubatureRuleForPyramid (int order) |
Computes the points and weights for pyramid cubature rule as first version of PZ. More... | |
Private Member Functions | |
TPZIntRuleP3D (int &order) | |
Constructor of cubature rule for pyramid. More... | |
~TPZIntRuleP3D () | |
Default destructor. More... | |
Private Attributes | |
int | fNumInt |
Number of integration points for this object. More... | |
TPZVec< long double > | fLocationKsi |
Location of the integration point Ksi. More... | |
TPZVec< long double > | fLocationEta |
Location of the integration point Eta. More... | |
TPZVec< long double > | fLocationZeta |
Location of the integration point ZEta. More... | |
TPZVec< long double > | fWeight |
Weight of the integration point. More... | |
int | fOrder |
polynomial order of the integration rule More... | |
Friends | |
class | TPZIntRuleList |
The list can to access the constructor of the current class. More... | |
Integration rule for pyramid. Numerical Integration.
Definition at line 17 of file tpzintrulep3d.h.
anonymous enum |
Enumerator | |
---|---|
NRULESPYRAMID_ORDER |
Definition at line 63 of file tpzintrulep3d.h.
|
private |
Constructor of cubature rule for pyramid.
order | Order of the polinomial will be integrated exactly with this cubature rule |
Definition at line 17 of file tpzintrulep3d.cpp.
|
private |
Default destructor.
Definition at line 30 of file tpzintrulep3d.cpp.
|
inline |
Definition at line 46 of file tpzintrulep3d.h.
|
protected |
Computes the points and weights for pyramid cubature rule as first version of PZ.
order | Order of the polinomial will be integrated exactly with this cubature rule |
Computes the points and weights for Pyramid quadrature rule order is the degree of the polinomial will be integrated exactly with this cubature rule
Computing the rule for Legender format to use for find the integration points at plane z = cte measure of the plane (1-z)^2
Computing the rule to jacobi format
Redimension of the weights to take a volume of the pyramid
Definition at line 72 of file tpzintrulep3d.cpp.
References TPZGaussRule::ComputingGaussJacobiQuadrature(), TPZGaussRule::ComputingGaussLegendreQuadrature(), and TPZVec< T >::Resize().
Referenced by Order().
void TPZIntRuleP3D::Loc | ( | int | i, |
TPZVec< REAL > & | pos | ||
) | const |
Returns location of the ith point.
Definition at line 38 of file tpzintrulep3d.cpp.
References PZError.
Referenced by NInt().
|
inline |
Returns number of integration points.
Definition at line 66 of file tpzintrulep3d.h.
|
inline |
Definition at line 52 of file tpzintrulep3d.h.
References fLocationEta, fLocationKsi, fLocationZeta, fNumInt, fOrder, and fWeight.
|
inline |
return the order of the polynomial order that can be integrated
Definition at line 75 of file tpzintrulep3d.h.
References ComputingCubatureRuleForPyramid(), fOrder, and Print().
Referenced by TPZIntPyram3D::SetOrder(), and TPZIntPyram3D::TPZIntPyram3D().
void TPZIntRuleP3D::Print | ( | std::ostream & | out = std::cout | ) |
Prints the number of integration points, all points and weights (as one dimension)
Definition at line 141 of file tpzintrulep3d.cpp.
Referenced by Order().
REAL TPZIntRuleP3D::W | ( | int | i | ) | const |
Returns weight for the ith point.
Definition at line 50 of file tpzintrulep3d.cpp.
References PZError.
Referenced by NInt().
|
friend |
The list can to access the constructor of the current class.
Definition at line 20 of file tpzintrulep3d.h.
|
private |
Location of the integration point Eta.
Definition at line 27 of file tpzintrulep3d.h.
Referenced by operator=().
|
private |
Location of the integration point Ksi.
Definition at line 25 of file tpzintrulep3d.h.
Referenced by operator=().
|
private |
Location of the integration point ZEta.
Definition at line 29 of file tpzintrulep3d.h.
Referenced by operator=().
|
private |
Number of integration points for this object.
Definition at line 23 of file tpzintrulep3d.h.
Referenced by NInt(), and operator=().
|
private |
polynomial order of the integration rule
Definition at line 33 of file tpzintrulep3d.h.
Referenced by operator=(), and Order().
|
private |
Weight of the integration point.
Definition at line 31 of file tpzintrulep3d.h.
Referenced by operator=().