17#include "vtkFiltersCellGridModule.h"
22VTK_ABI_NAMESPACE_BEGIN
58 static constexpr int Dimension = 2;
59 static const std::array<std::array<double, 3>, 4>
Parameters;
60 static const std::array<std::vector<vtkIdType>, 9>
Sides;
63 static const std::array<Shape, Dimension + 2>
SideShapes;
71 void operator=(
const vtkDGQuad&) =
delete;
A function defined over the physical domain of a vtkCellGrid.
Visualization data composed of cells of arbitrary type.
Shape
All possible shapes for DG cells.
@ Quadrilateral
A four-cornered face bounded by 4 edges.
Metadata for a discontinuous Galerkin quadrilateral.
int GetDimension() const override
static const std::array< std::vector< vtkIdType >, 9 > Sides
Shape GetShape() const override
const std::vector< vtkIdType > & GetSideConnectivity(int side) const override
vtkTypeInt32Array * GetSideOffsetsAndShapes() const override
Return a singleton array initialized with 2-tuples of (offset, shape) values.
int GetNumberOfSidesOfDimension(int dimension) const override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeInt32Array * GetSideConnectivity() const override
Return a singleton array initialized with point-ids of each side's corners.
int GetNumberOfSideTypes() const override
static const std::array< Shape, Dimension+2 > SideShapes
const std::array< double, 3 > & GetCornerParameter(int corner) const override
static const std::array< int, Dimension+2 > SideOffsets
bool IsInside(const vtkVector3d &rst, double tolerance) override
static const std::array< std::array< double, 3 >, 4 > Parameters
std::pair< int, int > GetSideRangeForType(int sideType) const override
static const std::array< std::vector< vtkIdType >, 9 > SidesOfSides
Shape GetSideShape(int side) const override
vtkInheritanceHierarchyOverrideMacro(vtkDGQuad)
vtkTypeFloat32Array * GetReferencePoints() const override
Return a singleton array initialized with the reference-cell's corner point coordinates.
const std::vector< vtkIdType > & GetSidesOfSide(int side) const override
represent and manipulate attribute data in a dataset
Base class for cells that form 2-d or 3-d DeRham complexes.
a simple class to control print indentation