CrvTri2.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_CRVTRI2_H
11 #define MESHADAPT_CRVTRI2_H
12 
13 #include "CrvFace.h"
14 
18 class CrvTri2 : public CrvFace {
19 
20  public:
23  CrvTri2(pMeshFace in_face);
26  CrvTri2(VtxPtrVec in_vert_vec);
29  virtual ~CrvTri2() { }
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;
35  } // no face nodes for quadratic triangular faces
36 
37  std::string v_tag_name() const {
38  return std::string("crv_tri_2_data_tag");
39  }
40 
41  double max_edge_length();
42 
43  protected:
44 };
45 #endif//MESHADAPT_CRVTRI2_H
virtual ~CrvTri2()
dtor
Definition: CrvTri2.h:29
int eval(double u, double v, double *pos)
evaluate w.r.t. the barycentric/area coordinates
Definition: CrvTri2.cc:95
Curved triangular face of geometric order 2 (quadratic)
Definition: CrvTri2.h:18
CrvTri2(pMeshFace in_face)
public constructor 1
Definition: CrvTri2.cc:21
abstract class representing curved mesh face
Definition: CrvFace.h:32