NeoPZ
|
Handles the numerical integration for one-dimensional problems. Numerical Integration. More...
#include <pzquad.h>
Public Types | |
enum | { Dim } |
Public Member Functions | |
TPZInt1d (int OrdK=0, int type=0) | |
TPZInt1d (const TPZInt1d ©) | |
TPZInt1d & | operator= (const TPZInt1d ©) |
virtual | ~TPZInt1d () |
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) |
Sets the type of gaussian quadrature as Lobatto, Raud or Legendre rule. More... | |
virtual void | SetOrder (TPZVec< int > &ord, int type=0) |
Sets the order of the cubature rule. More... | |
virtual void | GetOrder (TPZVec< int > &ord) const |
Gets the order of the integration rule for each dimension of the master element. 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 | Print (std::ostream &out=std::cout) const |
Prints information of the 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 ©) |
Private Attributes | |
int | fOrdKsi |
TPZGaussRule * | fIntP |
Handles the numerical integration for one-dimensional problems. Numerical Integration.
TPZInt1d::TPZInt1d | ( | int | OrdK = 0 , |
int | type = 0 |
||
) |
Definition at line 90 of file pzquad.cpp.
References TPZIntRuleList::GetRule(), TPZIntRuleList::gIntRuleList, and TPZGaussRule::Order().
Referenced by Clone().
|
inlinevirtual |
|
inlinevirtual |
Make a clone of the related cubature rule.
Implements TPZIntPoints.
Definition at line 80 of file pzquad.h.
References TPZInt1d().
|
inlinevirtual |
Returns the dimension of the master element related for the cubature rule.
Implements TPZIntPoints.
Definition at line 71 of file pzquad.h.
References 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.
Definition at line 67 of file pzquad.h.
Referenced by TPZIntTetra3D::operator=(), TPZIntPyram3D::operator=(), TPZInt1Point::operator=(), TPZIntPrism3D::SetType(), and TPZIntTriang::~TPZIntTriang().
|
virtual |
Gets the order of the integration rule for each dimension of the master element.
ord | Vector (3d) to get the orders of the polinomial integrated exactly. |
Implements TPZIntPoints.
Definition at line 125 of file pzquad.cpp.
Referenced by TPZIntTetra3D::operator=(), TPZIntPyram3D::operator=(), TPZInt1Point::operator=(), TPZIntPrism3D::SetOrder(), SetType(), TPZIntQuad::SetType(), TPZIntCube3D::SetType(), TPZIntPrism3D::SetType(), TPZIntPrism3D::TPZIntPrism3D(), and TPZIntTriang::~TPZIntTriang().
|
virtual |
Definition at line 58 of file pzquad.cpp.
References TPZGaussRule::NRULESLEGENDRE_ORDER, and TPZGaussRule::NRULESLOBATTO_ORDER.
Referenced by SetType(), TPZIntQuad::SetType(), and TPZIntCube3D::SetType().
|
inlinevirtual |
Returns the name of the cubature rule.
Reimplemented from TPZIntPoints.
|
virtual |
Returns number of points for the cubature rule related.
Implements TPZIntPoints.
Definition at line 95 of file pzquad.cpp.
References PZError.
Referenced by TPZPlacaOrthotropic::Force(), TPZPlacaOrthotropic::GradForce(), TPZPlacaOrthotropic::GradMoment(), TPZPlacaOrthotropic::Moment(), TPZIntPrism3D::NPoints(), TPZIntTetra3D::operator=(), TPZIntPyram3D::operator=(), TPZIntPrism3D::operator=(), TPZInt1Point::operator=(), TPZPlacaOrthotropic::PrintTensors(), ~TPZInt1d(), TPZIntCube3D::~TPZIntCube3D(), TPZIntQuad::~TPZIntQuad(), and TPZIntTriang::~TPZIntTriang().
|
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.
Definition at line 101 of file pzquad.cpp.
References PZError.
Referenced by TPZPlacaOrthotropic::Force(), TPZPlacaOrthotropic::GradForce(), TPZPlacaOrthotropic::GradMoment(), TPZPlacaOrthotropic::Moment(), TPZIntTetra3D::operator=(), TPZIntPyram3D::operator=(), TPZIntPrism3D::operator=(), TPZInt1Point::operator=(), TPZIntPrism3D::Point(), TPZPlacaOrthotropic::PrintTensors(), ~TPZInt1d(), TPZIntCube3D::~TPZIntCube3D(), TPZIntQuad::~TPZIntQuad(), and TPZIntTriang::~TPZIntTriang().
|
inlinevirtual |
Prints information of the cubature rule.
out | Ostream to print. |
Reimplemented from TPZIntPoints.
Definition at line 85 of file pzquad.h.
References TPZGaussRule::Print().
|
inlinevirtual |
Implements TPZIntPoints.
Definition at line 76 of file pzquad.h.
Referenced by TPZInt1Point::Dimension().
|
virtual |
Sets the order of the cubature rule.
ord | Vector of orders for each dimension, to reach a exactly integration for polinomial corresponding |
type | Type of the integration rule, mainly important for 1d rules. |
Implements TPZIntPoints.
Definition at line 113 of file pzquad.cpp.
References TPZIntRuleList::GetRule(), TPZIntRuleList::gIntRuleList, TPZVec< T >::NElements(), and TPZGaussRule::Order().
Referenced by TPZIntTetra3D::operator=(), TPZIntPyram3D::operator=(), TPZInt1Point::operator=(), TPZIntPrism3D::SetOrder(), SetType(), TPZIntQuad::SetType(), TPZIntCube3D::SetType(), TPZIntPrism3D::SetType(), and TPZIntTriang::~TPZIntTriang().
|
inlinevirtual |
Sets the type of gaussian quadrature as Lobatto, Raud or Legendre rule.
Reimplemented from TPZIntPoints.
Definition at line 55 of file pzquad.h.
References GetOrder(), GetRealMaxOrder(), SetOrder(), and TPZGaussRule::SetType().
Referenced by TPZIntPrism3D::SetType().
|
private |
Definition at line 38 of file pzquad.h.
Referenced by operator=().
|
private |
Definition at line 37 of file pzquad.h.
Referenced by operator=().