27 int imax = (1<<
res)+1;
28 return ((imax+1)*imax)/2;
38 for(
int j=0;j<imax;j++) {
39 for(
int i=0;i<imax-j;i++) {
41 if(st ==
EMVStyle) out << ip++ <<
" 1 1 1 ";
42 co0[0] = i; co0[1] = j;
43 co1[0] = i+1; co1[1] = j;
44 co2[0] = i; co2[1]=j+1;
45 out <<
EqNum(co0) <<
" " <<
EqNum(co1) <<
" " <<
50 if(st ==
EMVStyle) out << ip++ <<
" 1 1 1 ";
51 co0[0] = i+1; co0[1] = j;
52 co1[0] = i+1; co1[1] = j+1;
53 co2[0] = i; co2[1]=j+1;
54 out <<
EqNum(co0) <<
" " <<
EqNum(co1) <<
" " <<
64 int imax = (1<<
res)+1;
72 for(i=0; i<ni; i++) qsieta[i] = (1.*co[i])/imax;
78 for(i=0;i<3;i++) co[i]=0;
88 if(co[0]+co[1]>= imax) {
TPZGraphNode * fConnect
Graphical node (connect) to discontinuous graphical element.
virtual void Connectivity(TPZDrawStyle st=EDXStyle)
Set dx style for connectivity information.
Represents a graphical mesh used for post processing purposes. Post processing.
virtual int NConnects()
Number of connects for the element.
Contains the TPZGraphElTd class which implements the graphical discontinuous triangular element...
virtual int ExportType(TPZDrawStyle st)
Sets the style to export (format)
virtual void QsiEta(TPZVec< int > &i, int imax, TPZVec< REAL > &qsieta)
This method maps the index of a point to parameter space as a function of the number of divisions...
int64_t fId
Id of the graphical element.
int Res()
Get the resolution of the draw.
virtual int64_t EqNum(TPZVec< int > &co)
Number of equations.
TPZGraphMesh * fGraphMesh
Graphical mesh associated with graphical element.
Contains the TPZGraphMesh class which represents a graphical mesh used for post processing purposes...
REAL co[8][3]
Coordinates of the eight nodes.
virtual int NPoints(TPZGraphNode *n)
Number of points to graphical resolution.
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
int64_t NElements() const
Returns the number of elements of the vector.
virtual void FirstIJ(int no, TPZVec< int > &co, int &incr)
TPZGraphElTd(TPZCompEl *c, TPZGraphMesh *g)
Constructor for graphical element to computational triangular discontinuous element.
virtual void NextIJ(int no, TPZVec< int > &co, int incr)
virtual int NNodes()
Number of corner nodes (geometric information)
Defines the interface of a computational element. Computational Element.
To export a graphical node. Post processing.