Changeset 1073 for XIOS/dev/branch_yushan/extern/remap/src
- Timestamp:
- 03/15/17 17:17:30 (7 years ago)
- Location:
- XIOS/dev/branch_yushan/extern/remap/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/extern/remap/src/clipper.cpp
r1072 r1073 52 52 53 53 static double const pi = 3.141592653589793238; 54 #pragma omp threadprivate(pi)55 54 56 55 static double const two_pi = pi *2; 57 #pragma omp threadprivate(two_pi)58 56 59 57 static double const def_arc_tolerance = 0.25; 60 #pragma omp threadprivate(def_arc_tolerance)61 58 62 59 enum Direction { dRightToLeft, dLeftToRight }; 63 60 64 61 static int const Unassigned = -1; //edge not currently 'owning' a solution 65 #pragma omp threadprivate(Unassigned)66 62 67 63 static int const Skip = -2; //edge that would otherwise close a path 68 #pragma omp threadprivate(Skip)69 64 70 65 #define HORIZONTAL (-1.0E+40) -
XIOS/dev/branch_yushan/extern/remap/src/clipper.hpp
r1072 r1073 73 73 typedef int cInt; 74 74 static cInt const loRange = 0x7FFF; 75 #pragma omp threadprivate(loRange)76 75 77 76 static cInt const hiRange = 0x7FFF; 78 #pragma omp threadprivate(hiRange)79 77 80 78 #else 81 79 typedef signed long long cInt; 82 80 static cInt const loRange = 0x3FFFFFFF; 83 #pragma omp threadprivate(loRange)84 81 85 82 static cInt const hiRange = 0x3FFFFFFFFFFFFFFFLL; 86 #pragma omp threadprivate(hiRange)87 83 88 84 typedef signed long long long64; //used by Int128 class -
XIOS/dev/branch_yushan/extern/remap/src/timerRemap.hpp
r1072 r1073 27 27 void print(void); 28 28 static map<string,CTimer*> allTimer; 29 //#pragma omp threadprivate(allTimer)30 29 31 30 static double getTime(void);
Note: See TracChangeset
for help on using the changeset viewer.