NeoPZ
pzgraphelq3dd.h
Go to the documentation of this file.
1 
6 #if !defined(AFX_TPZGRAPHELQ3DD_H__4DDADE46_92E7_11D4_B7FB_00500464279E__INCLUDED_)
7 #define AFX_TPZGRAPHELQ3DD_H__4DDADE46_92E7_11D4_B7FB_00500464279E__INCLUDED_
8 
9 #if _MSC_VER > 1000
10 #pragma once
11 #endif // _MSC_VER > 1000
12 
13 #include "pzgraphel.h"
14 #include "pzvec.h"
15 
20 class TPZGraphElQ3dd : public TPZGraphEl{
21 public:
22 
25 
26  virtual ~TPZGraphElQ3dd(void);
27 
28  virtual int NConnects(){ return 1;}
29 
30  virtual MElementType Type(){return ECube;}
31 
32  virtual int ExportType(TPZDrawStyle st);
33 
34  virtual int NNodes();
35 
36  virtual TPZGraphNode *Connect(int64_t i);
37 
38  virtual int NPoints(TPZGraphNode *n);
39 
40  virtual int NElements();
41 
42  virtual void SetNode(int64_t i,TPZGraphNode *n);
43 
44  virtual int64_t EqNum(TPZVec<int> &co);
45 
46  virtual void Connectivity(TPZDrawStyle st = EDXStyle);
47 
49  virtual int Dimension()
50  {
51  return 3;
52  }
53 
54 
55 
56 protected:
57 
58  virtual void FirstIJ(int connect, TPZVec<int> &co, int &incr);
59 
60  virtual void NextIJ(int connect, TPZVec<int> &co, int incr);
61 
62  protected :
63 
66 
67 };
68 
69 #endif // !defined(AFX_TPZGRAPHELQ3DD_H__4DDADE46_92E7_11D4_B7FB_00500464279E__INCLUDED_)
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: pzgraphelq3dd.h:49
Templated vector implementation.
virtual void Connectivity(TPZDrawStyle st=EDXStyle)
Set dx style for connectivity information.
To export a graphical three dimensional discontinuous element. Post processing.
Definition: pzgraphelq3dd.h:20
Contains the TPZGraphEl class which implements the graphical one-, two- and three-dimensional element...
virtual int NNodes()
Number of corner nodes (geometric information)
virtual TPZGraphNode * Connect(int64_t i)
Return the graphical connect.
Definition: TPZDrawStyle.h:12
TPZGraphElQ3dd(TPZCompEl *cel, TPZGraphMesh *gmesh)
Constructor for graphical element to computational hexahedra discontinuous element.
virtual void FirstIJ(int connect, TPZVec< int > &co, int &incr)
virtual ~TPZGraphElQ3dd(void)
REAL co[8][3]
Coordinates of the eight nodes.
virtual void NextIJ(int connect, TPZVec< int > &co, int incr)
MElementType
Define the element types.
Definition: pzeltype.h:52
Definition: pzeltype.h:61
virtual int NConnects()
Number of connects for the element.
Definition: pzgraphelq3dd.h:28
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
Definition: pzgraphel.h:23
virtual int NElements()
TPZGraphNode * fConnect
Graphical node (connect) to discontinuous graphical element.
Definition: pzgraphelq3dd.h:65
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.
Definition: pzcompel.h:59
To export a graphical node. Post processing.
Definition: pzgraphnode.h:24
TPZDrawStyle
Definition: TPZDrawStyle.h:12
virtual MElementType Type()
Get the type of the graphical element.
Definition: pzgraphelq3dd.h:30
virtual void SetNode(int64_t i, TPZGraphNode *n)
Sets a ith graphical node.