source: issm/branches/trunk-larour-NatGeoScience2016/src/c/bamg/macros.h@ 21759

Last change on this file since 21759 was 21759, checked in by Eric.Larour, 8 years ago

CHG: merged branch back to trunk-jpl 21754.

File size: 804 bytes
Line 
1#ifndef _BAMGMACROS_H
2#define _BAMGMACROS_H
3
4#include "./typedefs.h"
5
6namespace bamg {
7
8 const double Pi =3.141592653589793238462643383279502884197169399375105820974944592308;
9 const float fPi=3.141592653589793238462643383279502884197169399375105820974944592308;
10 const int IsVertexOnGeom = 8;
11 const int IsVertexOnVertex = 16;
12 const int IsVertexOnEdge = 32;
13 static const short VerticesOfTriangularEdge[3][2] = {{1,2},{2,0},{0,1}};
14 static const short EdgesVertexTriangle[3][2] = {{1,2},{2,0},{0,1}};
15 static const short OppositeVertex[3] = {0,1,2};
16 static const short OppositeEdge[3] = {0,1,2};
17 static const short NextEdge[3] = {1,2,0};
18 static const short PreviousEdge[3] = {2,0,1};
19 static const short NextVertex[3] = {1,2,0};
20 static const short PreviousVertex[3] = {2,0,1};
21}
22
23#endif
Note: See TracBrowser for help on using the repository browser.