VertOnGFace.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_VERTONGFACE_H
11 #define MESHADAPT_VERTONGFACE_H
12 
13 #include "pumi_mesh.h"
14 
15 class VertOnGFace {
16 
17  public:
18 
19  VertOnGFace(pMeshVtx in_vtx, pGeomFace in_gface)
20  {
21  m_vtx_ = in_vtx;
22  m_gface_ = in_gface;
23  }
24 
25  ~VertOnGFace() { }
26 
28  int GetNormal(double * out_normal);
29 
30  private:
31 
32  VertOnGFace() { }
33 
34  pMeshVtx m_vtx_;
35  pGeomFace m_gface_;
36 
37 };
38 
39 #endif//MESHADAPT_VERTONGFACE_H
int GetNormal(double *out_normal)
get the normal vector w.r.t the GFace
Definition: VertOnGFace.cc:14
Definition: VertOnGFace.h:15