17 REAL theta = (ptr[0]+1.)*M_PI/8.;
18 REAL rrange = 1./
cos(theta);
19 REAL r = (ptr[1]+1.)*rrange/2.;
20 w *= r*rrange*M_PI/4.;
Implements a vector class which allows to use external storage provided by the user. Utility.
virtual int NPoints() const
Returns number of points for the cubature rule related.
virtual void SetOrder(TPZVec< int > &ord, int type=0)
set the integration order
#define DebugStop()
Returns a message to user put a breakpoint in.
int fNPoints
number of integration points
virtual void Point(int ip, TPZVec< REAL > &pos, REAL &w) const
Returns i-th point at master element and related weight.
virtual void SetOrder(TPZVec< int > &ord, int type=0)
Set the order and the type of integration rule :
virtual void Point(int ip, TPZVec< REAL > &pos, REAL &w) const
return the weight and position of the integration point
TPZFlopCounter cos(const TPZFlopCounter &orig)
Returns the cosine in radians and increments the counter of the Cosine.
int fCorner
corner associated with the integration rule