17 #ifndef __WEIPA_ELEMENTDATA_H__ 18 #define __WEIPA_ELEMENTDATA_H__ 20 #include <weipa/weipa.h> 21 #include <weipa/vtkCellType.h> 52 virtual void writeConnectivityVTK(std::ostream& os) = 0;
55 virtual StringVec getMeshNames()
const = 0;
58 virtual StringVec getVarNames()
const = 0;
61 virtual int getNumElements()
const = 0;
64 virtual int getNodesPerElement()
const = 0;
67 virtual int getGhostCount()
const = 0;
70 virtual ZoneType getType()
const = 0;
73 virtual const IntVec& getNodeList()
const = 0;
76 virtual const IntVec& getIDs()
const = 0;
85 virtual const QuadMaskInfo& getQuadMask(
int fsCode)
const = 0;
90 virtual int getElementFactor()
const = 0;
98 #endif // __WEIPA_ELEMENTDATA_H__ This struct holds a mask (0's and 1's) that indicates which quad nodes contribute to a sub-element wh...
Definition: ElementData.h:39
std::vector< IntVec > mask
Definition: ElementData.h:40
Definition: ElementData.h:33
int getNodes(esysUtils::JMPI &mpi_info, Mesh *mesh_p, FILE *fileHandle_p, int numDim, char *error_msg, std::map< int, int > &tags, int errorFlag)
Definition: finley/src/Mesh_readGmsh.cpp:892
Stores and manipulates one type of domain elements.
Definition: ElementData.h:48
Definition: ElementData.h:32
#define VTK_LINE
Definition: vtkCellType.h:39
Definition: ElementData.h:27
std::vector< std::string > StringVec
Definition: weipa.h:56
Definition: ElementData.h:31
Definition: DataVar.cpp:43
Definition: ElementData.h:30
std::vector< int > IntVec
Definition: weipa.h:55
ZoneType
Definition: ElementData.h:26
#define VTK_TETRA
Definition: vtkCellType.h:46
#define VTK_HEXAHEDRON
Definition: vtkCellType.h:48
IntVec factor
Definition: ElementData.h:41
#define VTK_POLYGON
Definition: vtkCellType.h:43
boost::shared_ptr< ElementData > ElementData_ptr
Definition: weipa.h:62
#define VTK_TRIANGLE
Definition: vtkCellType.h:41
virtual ~ElementData()
Definition: ElementData.h:93
boost::shared_ptr< NodeData > NodeData_ptr
Definition: weipa.h:64
#define VTK_QUAD
Definition: vtkCellType.h:45
Definition: ElementData.h:28
Definition: ElementData.h:29