28 int imax = (1<<
res)+1;
40 int imax = (1<<
res)+1;
69 for(
int i=0;i<imax;i++) {
70 for(
int j=0;j<imax;j++) {
73 if(st ==
EMVStyle) out << ip <<
" 1 1 1 ";
76 co0[0] = i; co0[1] = j;
77 co1[0] = i+1; co1[1] = j;
78 co2[0] = i; co2[1] = j+1;
79 co3[0] = i+1; co3[1] = j+1;
82 co0[0] = i; co0[1] = j;
83 co1[0] = i+1; co1[1] = j;
84 co2[0] = i+1; co2[1] = j+1;
85 co3[0] = i; co3[1] = j+1;
87 out <<
EqNum(co0) <<
" " <<
EqNum(co1) <<
" " <<
Represents a graphical mesh used for post processing purposes. Post processing.
virtual void NextIJ(int connect, TPZVec< int > &co, int incr)
TPZGraphElQ2dd(TPZCompEl *cel, TPZGraphMesh *gmesh)
Constructor for graphical element to computational quadrilateral discontinuous element.
virtual int ExportType(TPZDrawStyle st)
Sets the style to export (format)
Contains declaration of TPZCompEl class which defines the interface of a computational element...
int64_t fId
Id of the graphical element.
virtual ~TPZGraphElQ2dd(void)
int Res()
Get the resolution of the draw.
Contains the TPZGraphElQ2dd class which implements the graphical two-dimensional discontinuous elemen...
virtual TPZGraphNode * Connect(int64_t i)
Return the graphical connect.
TPZGraphMesh * fGraphMesh
Graphical mesh associated with graphical element.
virtual void FirstIJ(int connect, TPZVec< int > &co, int &incr)
Contains the TPZGraphMesh class which represents a graphical mesh used for post processing purposes...
REAL co[8][3]
Coordinates of the eight nodes.
virtual int64_t EqNum(TPZVec< int > &co)
Number of equations.
virtual int NNodes()
Number of corner nodes (geometric information)
virtual int NPoints(TPZGraphNode *n)
Number of points to graphical resolution.
TPZGraphNode * fConnect
Graphical node (connect) to discontinuous graphical element.
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
virtual void SetNode(int64_t i, TPZGraphNode *n)
Sets a ith graphical node.
virtual void Connectivity(TPZDrawStyle st=EDXStyle)
Set dx style for connectivity information.
Defines the interface of a computational element. Computational Element.
To export a graphical node. Post processing.