Go to the documentation of this file.
18 #ifndef __WEIPA_ELEMENTDATA_H__
19 #define __WEIPA_ELEMENTDATA_H__
21 #include <weipa/weipa.h>
22 #include <weipa/vtkCellType.h>
41 std::vector<IntVec>
mask;
99 #endif // __WEIPA_ELEMENTDATA_H__
virtual ZoneType getType() const =0
Returns the element type.
virtual StringVec getVarNames() const =0
Returns a vector with the mesh variable names.
virtual int getNumElements() const =0
Returns the number of elements.
#define VTK_TRIANGLE
Definition: vtkCellType.h:41
Definition: ElementData.h:55
virtual StringVec getMeshNames() const =0
Returns the names of the meshes associated with the elements.
std::vector< IntVec > mask
Definition: ElementData.h:53
virtual int getNodesPerElement() const =0
Returns the number of nodes per element.
virtual const IntVec & getIDs() const =0
Returns a vector of element IDs.
Definition: ElementData.h:59
This struct holds a mask (0's and 1's) that indicates which quad nodes contribute to a sub-element wh...
Definition: ElementData.h:52
virtual void writeConnectivityVTK(std::ostream &os)=0
Writes connectivity data to a stream in VTK text format.
Definition: ElementData.h:53
Definition: DataVar.cpp:50
ZoneType
Definition: ElementData.h:39
virtual const IntVec & getNodeList() const =0
Returns a vector of the node IDs used by the elements.
IntVec factor
Definition: ElementData.h:54
virtual int getElementFactor() const =0
If the original element type is not supported they are subdivided into N smaller elements (e....
virtual ~ElementData()
Definition: ElementData.h:106
virtual NodeData_ptr getNodes() const =0
Returns the NodeData instance used by the elements.
boost::shared_ptr< ElementData > ElementData_ptr
Definition: weipa.h:66
virtual int getGhostCount() const =0
Returns the number of "ghost" elements.
virtual const QuadMaskInfo & getQuadMask(int fsCode) const =0
Returns a QuadMaskInfo structure for given functionspace code.
Definition: ElementData.h:57
#define VTK_POLYGON
Definition: vtkCellType.h:43
#define VTK_TETRA
Definition: vtkCellType.h:46
boost::shared_ptr< NodeData > NodeData_ptr
Definition: weipa.h:68
std::vector< std::string > StringVec
Definition: weipa.h:60
#define VTK_LINE
Definition: vtkCellType.h:39
#define VTK_QUAD
Definition: vtkCellType.h:45
Definition: ElementData.h:58
Definition: ElementData.h:56
#define VTK_HEXAHEDRON
Definition: vtkCellType.h:48
virtual ElementData_ptr getReducedElements() const =0
Returns the reduced elements if available.
std::vector< int > IntVec
Definition: weipa.h:59
Definition: ElementData.h:54