31 InterpCt(
const std::vector<Pt3d>& a_pts, BSHP<NodalFunc> a_n);
45 double x1, p1, f1, x2, y2, f2, x3, y3, f3, d11, d12, d21, d22, fx1, fy1, fx2, fy2, fx3, fy3;
46 double ue1, un1, ue2, un2, ue3, un3, ue4, un4, ue5, un5, ue6, un6;
47 double dudz1, dudz2, dudz3, dudw1, dudw2, dudw3, dudn4, dudn5, dudn6;
48 double delta, a11, a12, a21, a22, d1, d2;
RegionEnum
Triangle region enumeration.
const std::vector< Pt3d > & m_pts
input points interpolated from
Computes the Clough Tocher interpolation to a location.
BSHP< NodalFunc > m_nodalFunc
nodal function used in ct calculations
double InterpToPt(const Pt3d &a_pt)
Performs Clough Tocher interpolation to a point.
RegionEnum DetermineRegion(double e, double n)
Finds the region of the triangle.
#define XM_DISALLOW_COPY_AND_ASSIGN(TypeName)
InterpCt(const std::vector< Pt3d > &a_pts, BSHP< NodalFunc > a_n)
Constructor.
std::string ToString() const
serialize the class to a string.
void RecalcNodalFunc()
Recalculated the nodal function. This happens when the scalars change.
bool ComputeCtCoeff(int *a_ptIdxs)
Calculates the coefficients used by ct interpolation.