17 #include "vtkFiltersCellGridModule.h"
22 VTK_ABI_NAMESPACE_BEGIN
50 static constexpr
int Dimension = 3;
51 static const std::array<std::array<double, 3>, 8>
Parameters;
52 static const std::array<std::vector<vtkIdType>, 26>
Sides;
54 static const std::array<Shape, Dimension + 1>
SideShapes;
62 void operator=(
const vtkDGHex&) =
delete;
static const std::array< Shape, Dimension+1 > SideShapes
virtual std::pair< int, int > GetSideRangeForType(int sideType) const =0
Return the range of sides of the ii-th type, where ii is in [0, this->GetNumberOfSideTypes()[.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int GetNumberOfSidesOfDimension(int dimension) const =0
Return the number of boundaries this type of cell has of a given dimension.
virtual vtkTypeInt32Array * GetSideOffsetsAndShapes() const =0
Return a singleton array initialized with 2-tuples of (offset, shape) values.
static const std::array< int, Dimension+1 > SideOffsets
Visualization data composed of cells of arbitrary type.
virtual vtkTypeInt32Array * GetSideConnectivity() const =0
Return a singleton array initialized with point-ids of each side's corners.
static const std::array< std::vector< vtkIdType >, 26 > Sides
a simple class to control print indentation
A function defined over the physical domain of a vtkCellGrid.
virtual Shape GetSideShape(int side) const =0
For a given side, return its cell shape.
virtual int GetNumberOfSideTypes() const =0
Return the number of different side shapes of this cell type.
Base class for a discontinuous Galerkin cells of all shapes.
represent and manipulate attribute data in a dataset
Metadata for a discontinuous Galerkin hexahedron.
static const std::array< std::array< double, 3 >, 8 > Parameters
Shape GetShape() const override
Return the topological shape of this cell type.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual const std::array< double, 3 > & GetCornerParameter(int corner) const =0
Return the coordinates of the reference element's corner vertex.
virtual vtkTypeFloat32Array * GetReferencePoints() const =0
Return a singleton array initialized with the reference-cell's corner point coordinates.
int GetDimension() const override
Return the parametric dimension of this cell type (0, 1, 2, or 3).
Shape
All possible shapes for DG cells.
static constexpr int Dimension