17#include "vtkFiltersCellGridModule.h"
22VTK_ABI_NAMESPACE_BEGIN
58 static constexpr int Dimension = 2;
59 static const std::array<std::array<double, 3>, 3>
Parameters;
60 static const std::array<std::vector<vtkIdType>, 7>
Sides;
63 static const std::array<Shape, Dimension + 2>
SideShapes;
71 void operator=(
const vtkDGTri&) =
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.
@ Triangle
A three-cornered face bounded by 3 edges.
Metadata for a discontinuous Galerkin triangle.
bool IsInside(const vtkVector3d &rst, double tolerance) override
static const std::array< std::array< double, 3 >, 3 > Parameters
vtkTypeInt32Array * GetSideOffsetsAndShapes() const override
Return a singleton array initialized with 2-tuples of (offset, shape) values.
Shape GetShape() const override
static const std::array< int, Dimension+2 > SideOffsets
int GetNumberOfSidesOfDimension(int dimension) const override
int GetNumberOfSideTypes() const override
Shape GetSideShape(int side) const override
int GetDimension() const override
std::pair< int, int > GetSideRangeForType(int sideType) const override
static const std::array< Shape, Dimension+2 > SideShapes
static const std::array< std::vector< vtkIdType >, 7 > Sides
static const std::array< std::vector< vtkIdType >, 7 > SidesOfSides
const std::vector< vtkIdType > & GetSideConnectivity(int side) const override
vtkInheritanceHierarchyOverrideMacro(vtkDGTri)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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
const std::array< double, 3 > & GetCornerParameter(int corner) const override
vtkTypeInt32Array * GetSideConnectivity() const override
Return a singleton array initialized with point-ids of each side's corners.
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