38 return ((imax-1)*(imax-2))/2;
51 for(
int j=0;j<imax;j++) {
52 for(
int i=0;i<imax-j;i++) {
54 if(st ==
EMVStyle) out << ip++ <<
" 1 1 1 ";
60 if(st ==
EMVStyle) out << ip++ <<
" 1 1 1 ";
62 co1[0]=i+1; co1[1]=j+1;
65 out <<
EqNum(co0) <<
" " <<
EqNum(co1) <<
" " <<
76 for(
int is=0;is<3;is++) {
84 else if(co[0]+co[1]==imax) loc=1;
85 else if(co[0]==0) loc=2;
91 neq = first + (co[0]-1) + orient[loc]*(imax-1-co[0]-co[0]+1);
94 neq = first + (imax-1-co[0]) + orient[loc]*(co[0]-1-imax+1+co[0]);
97 neq = first + (imax-1-co[1]) + orient[loc]*(co[1]-1-imax+1+co[1]);
101 neq = first + (co[1]-1);
114 for(i=0; i<ni; i++) qsieta[i] = (1.*co[i])/imax;
223 if(co[0]+co[1]>= imax) {
Represents a graphical mesh used for post processing purposes. Post processing.
TPZGraphElT(TPZCompEl *c, TPZGraphMesh *g)
Constructor for graphical element to computational triangular element.
virtual void Connectivity(TPZDrawStyle st=EDXStyle)
Set dx style for connectivity information.
virtual int64_t EqNum(TPZVec< int > &co)
Number of equations.
TPZGraphNode * fConnects[7]
Graphical nodes vector (by connect of the computational element)
int64_t fId
Id of the graphical element.
virtual int ExportType(TPZDrawStyle st)
Sets the style to export (format)
int Res()
Get the resolution of the draw.
virtual int NConnects()
Number of connects for the element.
TPZGraphMesh * fGraphMesh
Graphical mesh associated with graphical element.
Contains the TPZGraphElT class which implements the graphical triangular element. ...
virtual int NNodes()
Number of corner nodes (geometric information)
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 no, TPZVec< int > &co, int incr)
virtual int NPoints(TPZGraphNode *n)
Number of points to graphical resolution.
int ConnectNum(TPZGraphNode *n)
Returns the number of the graphical node in the vector of connects.
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...
virtual void FirstIJ(int no, TPZVec< int > &co, int &incr)
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
int64_t NElements() const
Returns the number of elements of the vector.
Defines the interface of a computational element. Computational Element.
To export a graphical node. Post processing.