NeoPZ
|
Handles the numerical integration for two-dimensional problems using quadrilateral elements. Numerical Integration. More...
#include <pzquad.h>
Public Types | |
enum | { Dim } |
Public Member Functions | |
TPZIntQuad (int OrdK, int OrdE) | |
Constructor with two one dimensional rules. More... | |
TPZIntQuad (int OrdK=1) | |
TPZIntQuad (const TPZIntQuad ©) | |
Copy constructor. More... | |
TPZIntQuad & | operator= (const TPZIntQuad ©) |
virtual | ~TPZIntQuad () |
Destructor. More... | |
virtual int | NPoints () const |
Returns number of points for the cubature rule related. More... | |
virtual void | Point (int ip, TPZVec< REAL > &pos, REAL &w) const |
Returns i-th point at master element and related weight. More... | |
virtual void | SetType (int type, int order) |
Set the order and the type of integration rule : More... | |
virtual void | SetOrder (TPZVec< int > &ord, int type=0) |
Set the order and the type of integration rule : More... | |
virtual void | GetOrder (TPZVec< int > &ord) const |
Return the order of the integration rule. More... | |
virtual int | GetRealMaxOrder () const |
virtual int | GetMaxOrder () const |
virtual int | Dimension () const |
Returns the dimension of the master element related for the cubature rule. More... | |
virtual TPZIntPoints * | PrismExtend (int order) |
virtual TPZIntPoints * | Clone () const |
Make a clone of the related cubature rule. More... | |
void | Name (std::string &name) const |
Returns the name of the cubature rule. More... | |
Public Member Functions inherited from TPZIntPoints | |
virtual | ~TPZIntPoints () |
Default destructor. More... | |
TPZIntPoints () | |
TPZIntPoints (const TPZIntPoints ©) | |
TPZIntPoints & | operator= (const TPZIntPoints ©) |
virtual void | Print (std::ostream &out) const |
Prints information of the cubature rule. More... | |
Private Attributes | |
int | fOrdKsi |
int | fOrdEta |
TPZGaussRule * | fIntKsi |
TPZGaussRule * | fIntEta |
Handles the numerical integration for two-dimensional problems using quadrilateral elements. Numerical Integration.
TPZIntQuad::TPZIntQuad | ( | int | OrdK, |
int | OrdE | ||
) |
Constructor with two one dimensional rules.
OrdK | Order for axe |
OrdE | Order for axe at master element. |
Definition at line 130 of file pzquad.cpp.
References TPZIntRuleList::GetRule(), TPZIntRuleList::gIntRuleList, and TPZGaussRule::Order().
TPZIntQuad::TPZIntQuad | ( | int | OrdK = 1 | ) |
Definition at line 138 of file pzquad.cpp.
References TPZIntRuleList::GetRule(), TPZIntRuleList::gIntRuleList, and TPZGaussRule::Order().
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 185 of file pzquad.h.
References TPZInt1d::NPoints(), and TPZInt1d::Point().
|
inlinevirtual |
Make a clone of the related cubature rule.
Implements TPZIntPoints.
Reimplemented in TPZIntQuadQuarterPoint.
|
inlinevirtual |
Returns the dimension of the master element related for the cubature rule.
Implements TPZIntPoints.
Definition at line 221 of file pzquad.h.
References TPZInt1d::Dim.
|
inlinevirtual |
A ordem máxima é muito maior que 36. Seu valor está em GetRealMaxOrder. Entretanto, é preciso dar algum valor aqui para sobrescrever o da classe mãe que retorna o max order do tetraedro, da pirâmide ou do triângulo, que tradicionalmente tem regras menores que linha, quadrilátero e hexaedro
Reimplemented from TPZIntPoints.
|
virtual |
Return the order of the integration rule.
Implements TPZIntPoints.
Definition at line 191 of file pzquad.cpp.
|
virtual |
Definition at line 64 of file pzquad.cpp.
References TPZGaussRule::NRULESLEGENDRE_ORDER, and TPZGaussRule::NRULESLOBATTO_ORDER.
|
inlinevirtual |
Returns the name of the cubature rule.
Reimplemented from TPZIntPoints.
|
virtual |
Returns number of points for the cubature rule related.
Implements TPZIntPoints.
Reimplemented in TPZIntQuadQuarterPoint.
Definition at line 145 of file pzquad.cpp.
References PZError.
Referenced by TPZIntQuadQuarterPoint::SetOrder(), and TPZIntQuadQuarterPoint::TPZIntQuadQuarterPoint().
|
inline |
|
virtual |
Returns i-th point at master element and related weight.
i | Index of the integration point at cubature rule (the sequence is not important) |
pos | Vector (3d) to get the coordinates of the point at master element. |
w | It gets the weight related with integration point. |
Implements TPZIntPoints.
Reimplemented in TPZIntQuadQuarterPoint.
Definition at line 153 of file pzquad.cpp.
References DebugStop, PZError, and TPZVec< T >::size().
Referenced by TPZIntQuadQuarterPoint::Point().
|
inlinevirtual |
Implements TPZIntPoints.
|
virtual |
Set the order and the type of integration rule :
Implements TPZIntPoints.
Reimplemented in TPZIntQuadQuarterPoint.
Definition at line 176 of file pzquad.cpp.
References TPZIntRuleList::GetRule(), TPZIntRuleList::gIntRuleList, and TPZGaussRule::Type().
Referenced by TPZIntQuadQuarterPoint::SetOrder().
|
inlinevirtual |
Set the order and the type of integration rule :
Reimplemented from TPZIntPoints.
Definition at line 196 of file pzquad.h.
References TPZInt1d::GetOrder(), TPZInt1d::GetRealMaxOrder(), TPZInt1d::SetOrder(), and TPZGaussRule::SetType().
|
private |
Definition at line 160 of file pzquad.h.
Referenced by operator=().
|
private |
Definition at line 159 of file pzquad.h.
Referenced by operator=().
|
private |
Definition at line 158 of file pzquad.h.
Referenced by operator=().
|
private |
Definition at line 157 of file pzquad.h.
Referenced by operator=().