37 #ifndef __vtkPentagonalPrism_h
38 #define __vtkPentagonalPrism_h
40 #include "vtkCell3D.h"
52 void PrintSelf(ostream& os,
vtkIndent indent);
56 virtual void GetEdgePoints(
int edgeId,
int* &pts);
57 virtual void GetFacePoints(
int faceId,
int* &pts);
66 vtkCell *GetEdge(
int edgeId);
67 vtkCell *GetFace(
int faceId);
68 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
71 int EvaluatePosition(
double x[3],
double* closestPoint,
72 int& subId,
double pcoords[3],
73 double& dist2,
double *weights);
74 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
76 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
77 double x[3],
double pcoords[3],
int& subId);
79 void Derivatives(
int subId,
double pcoords[3],
double *values,
80 int dim,
double *derivs);
81 double *GetParametricCoords();
84 int GetParametricCenter(
double pcoords[3]);
89 static void InterpolationFunctions(
double pcoords[3],
double weights[10]);
92 static void InterpolationDerivs(
double pcoords[3],
double derivs[30]);
109 static int *GetEdgeArray(
int edgeId);
110 static int *GetFaceArray(
int faceId);
116 void JacobianInverse(
double pcoords[3],
double **inverse,
double derivs[30]);
135 pcoords[0] = pcoords[1] = 0.5;
a cell that represents a 2D quadrilateral
static void InterpolationDerivs(double pcoords[3], double derivs[30])
virtual void InterpolateDerivs(double pcoords[3], double derivs[30])
a 3D cell that represents a prism with pentagonal base
cell represents a 1D line
int GetParametricCenter(double pcoords[3])
a simple class to control print indentation
list of point or cell ids
a cell that represents an n-sided polygon
static void InterpolationFunctions(double pcoords[3], double weights[10])
a cell that represents a triangle
virtual void InterpolateFunctions(double pcoords[3], double weights[10])
represent and manipulate 3D points