/[escript]/trunk/finley/src/Mesh_findMatchingFaces.cpp
ViewVC logotype

Diff of /trunk/finley/src/Mesh_findMatchingFaces.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6619 by jfenwick, Tue Mar 7 06:50:34 2017 UTC revision 6620 by gross, Mon Aug 14 08:31:59 2017 UTC
# Line 38  struct FaceCenter Line 38  struct FaceCenter
38     int refId;     int refId;
39     std::vector<double> x;     std::vector<double> x;
40  };  };
41    #define  Finley_TRACE
42    
43  /// comparison function for findMatchingFaces  /// comparison function for findMatchingFaces
44  bool FaceCenterCompare(const FaceCenter& e1, const FaceCenter& e2)  bool FaceCenterCompare(const FaceCenter& e1, const FaceCenter& e2)
# Line 116  void FinleyDomain::findMatchingFaces(dou Line 116  void FinleyDomain::findMatchingFaces(dou
116  #ifdef Finley_TRACE  #ifdef Finley_TRACE
117      printf("locking grid size is %e\n", lockingGridSize);      printf("locking grid size is %e\n", lockingGridSize);
118      printf("absolute tolerance is %e.\n", h * tolerance);      printf("absolute tolerance is %e.\n", h * tolerance);
119        printf("number of face elements is %d\n", m_faceElements->numElements);
120  #endif  #endif
121      // sort the elements by center coordinates (lexicographical)      // sort the elements by center coordinates (lexicographical)
122      std::sort(center.begin(), center.end(), FaceCenterCompare);      std::sort(center.begin(), center.end(), FaceCenterCompare);

Legend:
Removed from v.6619  
changed lines
  Added in v.6620

  ViewVC Help
Powered by ViewVC 1.1.26