CrvTri1.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 MESHADAPT_CRVTRI1_H
11 #define MESHADAPT_CRVTRI1_H
12 
13 #include "CrvFace.h"
14 #include "LagrangeTri.h"
15 
18 class CrvTri1 : public CrvFace {
19 
20  public:
23  CrvTri1(pMeshFace in_face);
26  CrvTri1(VtxPtrVec in_vert_vec);
29  ~CrvTri1() { }
30 
31  int eval(double u, double v, double * pos);
32  int eval_deriv1(double u, double v, Point3d&, Point3d&);
33  int v_data_size() const
34  { return 0; } // no face nodes for quadratic triangular faces
35 
36  std::string v_tag_name() const
37  { return std::string("crv_tri_1_data_tag"); }
38 };
39 #endif//MESHADAPT_CRVTRI1_H
~CrvTri1()
dtor
Definition: CrvTri1.h:29
CrvTri1(pMeshFace in_face)
ctor 1
Definition: CrvTri1.cc:17
Curved triangular face of geometric order 1 (linear)
Definition: CrvTri1.h:18
abstract class representing curved mesh face
Definition: CrvFace.h:32
int eval(double u, double v, double *pos)
evaluate w.r.t. the barycentric/area coordinates
Definition: CrvTri1.cc:36