NeoPZ
pztrigraphd.h
Go to the documentation of this file.
1 
6 #ifndef TRIGRAPHD
7 #define TRIGRAPHD
8 
9 #include "pzgraphel.h"
10 #include "pzvec.h"
11 
16 class TPZGraphElTd : public TPZGraphEl {
17 
18  public :
19 
22 
23  virtual int NConnects();
24 
25  virtual int NElements();
26 
27  virtual MElementType Type(){return ETriangle;}
28 
29  virtual int ExportType(TPZDrawStyle st);
30 
31  virtual int NNodes();
32 
33  virtual TPZGraphNode *Connect(int64_t con){ return fConnect;}
34 
35  virtual int NPoints(TPZGraphNode *n);
36 
37  virtual void Connectivity(TPZDrawStyle st = EDXStyle);
38 
39  virtual int64_t EqNum(TPZVec<int> &co);
40 
42  virtual int Dimension()
43  {
44  return 2;
45  }
46 
47 
48  protected :
49 
50  virtual void QsiEta(TPZVec<int> &i, int imax, TPZVec<REAL> &qsieta);
51 
52  virtual void FirstIJ(int no, TPZVec<int> &co, int &incr);
53 
54  virtual void NextIJ(int no, TPZVec<int> &co, int incr);
55 
56  virtual void SetNode(int64_t i,TPZGraphNode *gno) {
57  fConnect = gno;
58  }
59 
62 
63 };
64 
65 #endif
TPZGraphNode * fConnect
Graphical node (connect) to discontinuous graphical element.
Definition: pztrigraphd.h:61
virtual void Connectivity(TPZDrawStyle st=EDXStyle)
Set dx style for connectivity information.
Definition: pztrigraphd.cpp:31
Represents a graphical mesh used for post processing purposes. Post processing.
Definition: pzgraphmesh.h:34
virtual int NConnects()
Number of connects for the element.
Definition: pztrigraphd.cpp:15
virtual int ExportType(TPZDrawStyle st)
Sets the style to export (format)
Definition: pztrigraphd.cpp:94
Templated vector implementation.
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...
Definition: pztrigraphd.cpp:70
Contains the TPZGraphEl class which implements the graphical one-, two- and three-dimensional element...
virtual MElementType Type()
Get the type of the graphical element.
Definition: pztrigraphd.h:27
Definition: TPZDrawStyle.h:12
virtual void SetNode(int64_t i, TPZGraphNode *gno)
Sets a ith graphical node.
Definition: pztrigraphd.h:56
virtual TPZGraphNode * Connect(int64_t con)
Return the graphical connect.
Definition: pztrigraphd.h:33
virtual int64_t EqNum(TPZVec< int > &co)
Number of equations.
Definition: pztrigraphd.cpp:62
To export a graphical discontinuous triangular element. Post processing.
Definition: pztrigraphd.h:16
virtual int NElements()
Definition: pztrigraphd.cpp:19
REAL co[8][3]
Coordinates of the eight nodes.
virtual int NPoints(TPZGraphNode *n)
Number of points to graphical resolution.
Definition: pztrigraphd.cpp:25
virtual int Dimension()
the parametric dimension of the element
Definition: pztrigraphd.h:42
MElementType
Define the element types.
Definition: pzeltype.h:52
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
Definition: pzgraphel.h:23
virtual void FirstIJ(int no, TPZVec< int > &co, int &incr)
Definition: pztrigraphd.cpp:76
TPZGraphElTd(TPZCompEl *c, TPZGraphMesh *g)
Constructor for graphical element to computational triangular discontinuous element.
Definition: pztrigraphd.cpp:11
virtual void NextIJ(int no, TPZVec< int > &co, int incr)
Definition: pztrigraphd.cpp:83
virtual int NNodes()
Number of corner nodes (geometric information)
Defines the interface of a computational element. Computational Element.
Definition: pzcompel.h:59
To export a graphical node. Post processing.
Definition: pzgraphnode.h:24
TPZDrawStyle
Definition: TPZDrawStyle.h:12