LagrangeTri.h
1 /******************************************************************************
2 
3  (c) 2004-2014 Scientific Computation Research Center,
4  Rensselaer Polytechnic Institute. All rights reserved.
5 
6  The LICENSE-SCOREC file included with this distribution describes the terms
7  of the SCOREC Non-Commercial License this program is distributed under.
8 
9 *******************************************************************************/
10 #ifndef LAGRANGETRI_H_
11 #define LAGRANGETRI_H_
12 
13 #include "ParametricFace.h"
14 
16 class LagrangeTri : public ParametricFace {
17  public:
18  LagrangeTri(std::vector<Point3d> in_ordered_nodes);
19 
20  virtual ~LagrangeTri() {
21  }
22 
23  protected:
24  virtual void v_eval(Point2d in_xi, Point3d & out_xyz);
25  virtual int v_order();
26  virtual void v_deriv1(Point2d in_xi,
27  Point3d & out_xyz1,
28  Point3d & out_xyz2);
29  private:
30 // pMeshEnt m_vtx0; // (1, 0, 0)
31 // pMeshEnt m_vtx1; // (0, 1, 0)
32 // pMeshEnt m_vtx2; // (0, 0, 1)
33  Point3d m_vert0;
34  Point3d m_vert1;
35  Point3d m_vert2;
36 };
37 #endif // LAGRANGETRI_H_
interface class for all parametric faces
Definition: ParametricFace.h:16
triangular face with shape represented by linear lagrange shape functions
Definition: LagrangeTri.h:16