NeoPZ
pzgraphelq2dd.h
Go to the documentation of this file.
1 
6 #ifndef PZGRAPHELQ2D
7 #define PZGRAPHELQ2D
8 
9 #include "pzgraphel.h"
10 #include "pzvec.h"
11 
16 class TPZGraphElQ2dd : public TPZGraphEl {
17 public:
20 
21  virtual ~TPZGraphElQ2dd(void);
22 
23  virtual int NConnects(){ return 1;}
24 
25  virtual MElementType Type(){return EQuadrilateral;}
26 
27  virtual int ExportType(TPZDrawStyle st);
28 
29  virtual int NNodes();
30 
31  virtual TPZGraphNode *Connect(int64_t i);
32 
33  virtual int NPoints(TPZGraphNode *n);
34 
35  virtual int NElements();
36 
37  virtual void SetNode(int64_t i,TPZGraphNode *n);
38 
39  virtual int64_t EqNum(TPZVec<int> &co);
40 
41  virtual void Connectivity(TPZDrawStyle st = EDXStyle);
42 
44  virtual int Dimension()
45  {
46  return 2;
47  }
48 
49 
50 
51 protected:
52 
53  virtual void FirstIJ(int connect, TPZVec<int> &co, int &incr);
54 
55  virtual void NextIJ(int connect, TPZVec<int> &co, int incr);
56 
57  protected :
58 
61 
62 };
63 
64 #endif
Represents a graphical mesh used for post processing purposes. Post processing.
Definition: pzgraphmesh.h:34
virtual int Dimension()
the parametric dimension of the element
Definition: pzgraphelq2dd.h:44
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)
Templated vector implementation.
To export a graphical two-dimensional discontinuous element. Post processing.
Definition: pzgraphelq2dd.h:16
Contains the TPZGraphEl class which implements the graphical one-, two- and three-dimensional element...
virtual ~TPZGraphElQ2dd(void)
Definition: TPZDrawStyle.h:12
virtual TPZGraphNode * Connect(int64_t i)
Return the graphical connect.
virtual int NConnects()
Number of connects for the element.
Definition: pzgraphelq2dd.h:23
virtual MElementType Type()
Get the type of the graphical element.
Definition: pzgraphelq2dd.h:25
virtual void FirstIJ(int connect, TPZVec< int > &co, int &incr)
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)
MElementType
Define the element types.
Definition: pzeltype.h:52
virtual int NPoints(TPZGraphNode *n)
Number of points to graphical resolution.
TPZGraphNode * fConnect
Graphical node (connect) to discontinuous graphical element.
Definition: pzgraphelq2dd.h:60
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
Definition: pzgraphel.h:23
virtual int NElements()
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.
Definition: pzcompel.h:59
To export a graphical node. Post processing.
Definition: pzgraphnode.h:24
TPZDrawStyle
Definition: TPZDrawStyle.h:12