VTK: Common/DataModel/vtkLagrangeTetra.h Source File

| VTK 9.3.1

vtkLagrangeTetra.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
22 #ifndef vtkLagrangeTetra_h
23 #define vtkLagrangeTetra_h
24
25 #include "vtkCommonDataModelModule.h" // For export macro
26 #include "vtkHigherOrderTetra.h"
27
28 #include <vector> // For caching
29
30 VTK_ABI_NAMESPACE_BEGIN
31 class vtkTetra;
32 class vtkLagrangeCurve;
33 class vtkLagrangeTriangle;
34 class vtkDoubleArray;
35
36 class VTKCOMMONDATAMODEL_EXPORT vtkLagrangeTetra : public vtkHigherOrderTetra
37 {
38 public:
39 static vtkLagrangeTetra* New();
40 vtkTypeMacro(vtkLagrangeTetra, vtkHigherOrderTetra);
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42 int GetCellType() override { return VTK_LAGRANGE_TETRAHEDRON; }
43
44 vtkCell* GetEdge(int edgeId) override;
45 vtkCell* GetFace(int faceId) override;
46 void InterpolateFunctions(const double pcoords[3], double* weights) override;
47 void InterpolateDerivs(const double pcoords[3], double* derivs) override;
48 vtkHigherOrderCurve* GetEdgeCell() override;
49 vtkHigherOrderTriangle* GetFaceCell() override;
50
51 protected:
52 vtkLagrangeTetra();
53 ~vtkLagrangeTetra() override;
54
55 vtkNew<vtkLagrangeCurve> EdgeCell;
56 vtkNew<vtkLagrangeTriangle> FaceCell;
57
58 private:
59 vtkLagrangeTetra(const vtkLagrangeTetra&) = delete;
60 void operator=(const vtkLagrangeTetra&) = delete;
61 };
62
63 VTK_ABI_NAMESPACE_END
64 #endif
vtkCell
abstract class to specify cell behavior
Definition: vtkCell.h:59
vtkDoubleArray
dynamic, self-adjusting array of double
Definition: vtkDoubleArray.h:40
vtkHigherOrderCurve
Definition: vtkHigherOrderCurve.h:27
vtkHigherOrderTetra
A 3D cell that represents an arbitrary order HigherOrder tetrahedron.
Definition: vtkHigherOrderTetra.h:38
vtkHigherOrderTriangle
A 2D cell that represents an arbitrary order HigherOrder triangle.
Definition: vtkHigherOrderTriangle.h:37
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkLagrangeCurve
Definition: vtkLagrangeCurve.h:27
vtkLagrangeTetra
A 3D cell that represents an arbitrary order Lagrange tetrahedron.
Definition: vtkLagrangeTetra.h:37
vtkLagrangeTetra::GetEdge
vtkCell * GetEdge(int edgeId) override
Return the edge cell from the edgeId of the cell.
vtkLagrangeTetra::New
static vtkLagrangeTetra * New()
vtkLagrangeTetra::FaceCell
vtkNew< vtkLagrangeTriangle > FaceCell
Definition: vtkLagrangeTetra.h:56
vtkLagrangeTetra::InterpolateDerivs
void InterpolateDerivs(const double pcoords[3], double *derivs) override
vtkLagrangeTetra::EdgeCell
vtkNew< vtkLagrangeCurve > EdgeCell
Definition: vtkLagrangeTetra.h:55
vtkLagrangeTetra::GetEdgeCell
vtkHigherOrderCurve * GetEdgeCell() override
vtkLagrangeTetra::GetCellType
int GetCellType() override
Return the type of cell.
Definition: vtkLagrangeTetra.h:42
vtkLagrangeTetra::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLagrangeTetra::vtkLagrangeTetra
vtkLagrangeTetra()
vtkLagrangeTetra::GetFaceCell
vtkHigherOrderTriangle * GetFaceCell() override
vtkLagrangeTetra::~vtkLagrangeTetra
~vtkLagrangeTetra() override
vtkLagrangeTetra::InterpolateFunctions
void InterpolateFunctions(const double pcoords[3], double *weights) override
vtkLagrangeTetra::GetFace
vtkCell * GetFace(int faceId) override
Return the face cell from the faceId of the cell.
vtkLagrangeTriangle
A 2D cell that represents an arbitrary order Lagrange triangle.
Definition: vtkLagrangeTriangle.h:36
vtkNew< vtkLagrangeCurve >
vtkTetra
a 3D cell that represents a tetrahedron
Definition: vtkTetra.h:43
VTK_LAGRANGE_TETRAHEDRON
@ VTK_LAGRANGE_TETRAHEDRON
Definition: vtkCellType.h:113
vtkHigherOrderTetra.h