NeoPZ
pzgraphelq2d.h
Go to the documentation of this file.
1 
5 #ifndef PZGRAPHELQ2D
6 #define PZGRAPHELQ2D
7 
8 #include "pzgraphel.h"
9 #include "pzvec.h"
10 
15 class TPZGraphElQ2d : public TPZGraphEl {
16 public:
18  TPZGraphElQ2d(TPZCompEl *cel, TPZGraphMesh *gmesh);
19 
20  virtual ~TPZGraphElQ2d(void);
21 
22  virtual int NConnects(){ return 9;}
23 
24  virtual MElementType Type() { return EQuadrilateral;}
25 
26  virtual int ExportType(TPZDrawStyle st);
27 
28  virtual int NNodes();
29 
30  virtual TPZGraphNode *Connect(int64_t i);
31 
32  virtual int NPoints(TPZGraphNode *n);
33 
34  virtual int NElements();
35 
36  virtual void SetNode(int64_t i,TPZGraphNode *n);
37 
38  virtual int64_t EqNum(TPZVec<int> &co);
39 
40  virtual void Connectivity(TPZDrawStyle st = EDXStyle);
41 
43  virtual int Dimension()
44  {
45  return 2;
46  }
47 
48 
49 protected:
50 
51  virtual void FirstIJ(int connect, TPZVec<int> &co, int &incr);
52 
53  virtual void NextIJ(int connect,TPZVec<int> &co, int incr);
54 
55  protected :
56 
59 
60 };
61 
62 #endif
virtual int NNodes()
Number of corner nodes (geometric information)
Represents a graphical mesh used for post processing purposes. Post processing.
Definition: pzgraphmesh.h:34
virtual int ExportType(TPZDrawStyle st)
Sets the style to export (format)
To export a graphical two dimensional element. Post processing.
Definition: pzgraphelq2d.h:15
virtual ~TPZGraphElQ2d(void)
virtual void FirstIJ(int connect, TPZVec< int > &co, int &incr)
Templated vector implementation.
virtual void SetNode(int64_t i, TPZGraphNode *n)
Sets a ith graphical node.
Contains the TPZGraphEl class which implements the graphical one-, two- and three-dimensional element...
virtual int NElements()
virtual int Dimension()
the parametric dimension of the element
Definition: pzgraphelq2d.h:43
Definition: TPZDrawStyle.h:12
virtual void Connectivity(TPZDrawStyle st=EDXStyle)
Set dx style for connectivity information.
virtual int NPoints(TPZGraphNode *n)
Number of points to graphical resolution.
virtual int NConnects()
Number of connects for the element.
Definition: pzgraphelq2d.h:22
REAL co[8][3]
Coordinates of the eight nodes.
virtual TPZGraphNode * Connect(int64_t i)
Return the graphical connect.
TPZGraphNode * fConnects[9]
Graphical nodes vector (by connect of the computational element)
Definition: pzgraphelq2d.h:58
TPZGraphElQ2d(TPZCompEl *cel, TPZGraphMesh *gmesh)
Constructor for graphical element to computational quadrilateral element.
virtual int64_t EqNum(TPZVec< int > &co)
Number of equations.
MElementType
Define the element types.
Definition: pzeltype.h:52
virtual void NextIJ(int connect, TPZVec< int > &co, int incr)
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
Definition: pzgraphel.h:23
Defines the interface of a computational element. Computational Element.
Definition: pzcompel.h:59
virtual MElementType Type()
Get the type of the graphical element.
Definition: pzgraphelq2d.h:24
To export a graphical node. Post processing.
Definition: pzgraphnode.h:24
TPZDrawStyle
Definition: TPZDrawStyle.h:12