27 int imax = (1<<
res)+1;
28 return imax*imax*imax;
34 return imax*imax*imax;
39 int imax = (1<<
res)+1;
46 for (i=0; i<3; i++) co[i]=0;
72 co4(3,0),co5(3,0),co6(3,0),co7(3,0);
74 for(
int i=0;i<imax;i++) {
75 for(
int j=0;j<imax;j++) {
76 for (
int k=0;k<imax;k++){
79 if(st ==
EMVStyle) out << ip <<
" 1 1 1 ";
82 co0[0] = i; co0[1] = j; co0[2]= k;
83 co1[0] = i+1; co1[1] = j; co1[2]= k;
84 co2[0] = i; co2[1] = j+1; co2[2]= k;
85 co3[0] = i+1; co3[1] = j+1; co3[2]= k;
86 co4[0] = i; co4[1] = j; co4[2]= k+1;
87 co5[0] = i+1; co5[1] = j; co5[2]= k+1;
88 co6[0] = i; co6[1] = j+1; co6[2]= k+1;
89 co7[0] = i+1; co7[1] = j+1; co7[2]= k+1;
92 co0[0] = i; co0[1] = j; co0[2]= k;
93 co1[0] = i+1; co1[1] = j; co1[2]= k;
94 co2[0] = i+1; co2[1] = j+1; co2[2]= k;
95 co3[0] = i; co3[1] = j+1; co3[2]= k;
96 co4[0] = i; co4[1] = j; co4[2]= k+1;
97 co5[0] = i+1; co5[1] = j; co5[2]= k+1;
98 co6[0] = i+1; co6[1] = j+1; co6[2]= k+1;
99 co7[0] = i; co7[1] = j+1; co7[2]= k+1;
101 out <<
EqNum(co0) <<
" " 108 <<
EqNum(co7) << endl;
Represents a graphical mesh used for post processing purposes. Post processing.
virtual void Connectivity(TPZDrawStyle st=EDXStyle)
Set dx style for connectivity information.
virtual int NNodes()
Number of corner nodes (geometric information)
int64_t fId
Id of the graphical element.
virtual TPZGraphNode * Connect(int64_t i)
Return the graphical connect.
int Res()
Get the resolution of the draw.
TPZGraphElQ3dd(TPZCompEl *cel, TPZGraphMesh *gmesh)
Constructor for graphical element to computational hexahedra discontinuous element.
virtual void FirstIJ(int connect, TPZVec< int > &co, int &incr)
TPZGraphMesh * fGraphMesh
Graphical mesh associated with graphical element.
virtual ~TPZGraphElQ3dd(void)
Contains the TPZGraphMesh class which represents a graphical mesh used for post processing purposes...
REAL co[8][3]
Coordinates of the eight nodes.
virtual void NextIJ(int connect, TPZVec< int > &co, int incr)
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
TPZGraphNode * fConnect
Graphical node (connect) to discontinuous graphical element.
virtual int ExportType(TPZDrawStyle st)
Sets the style to export (format)
virtual int64_t EqNum(TPZVec< int > &co)
Number of equations.
virtual int NPoints(TPZGraphNode *n)
Number of points to graphical resolution.
Defines the interface of a computational element. Computational Element.
Contains the TPZGraphElQ3dd class which implements the graphical three dimensional discontinuous elem...
To export a graphical node. Post processing.
virtual void SetNode(int64_t i, TPZGraphNode *n)
Sets a ith graphical node.