Changeset 13735
- Timestamp:
 - 10/18/12 11:37:32 (13 years ago)
 - File:
 - 
      
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
issm/trunk-jpl/src/c/modules/TriMeshx/TriMeshx.cpp
r13622 r13735 11 11 #include "../../EnumDefinitions/EnumDefinitions.h" 12 12 /*ANSI_DECLARATORS needed to call triangle library: */ 13 #ifndef ANSI_DECLARATORS 14 #define ANSI_DECLARATORS 15 #include "triangle.h" 16 #undef ANSI_DECLARATORS 17 #else 18 #include "triangle.h" 13 #if defined(_HAVE_TRIANGLE_) 14 #ifndef ANSI_DECLARATORS 15 #define ANSI_DECLARATORS 16 #include "triangle.h" 17 #undef ANSI_DECLARATORS 18 #else 19 #include "triangle.h" 20 #endif 19 21 #endif 20 22 /*}}}*/ … … 22 24 void TriMeshx(SeqMat<IssmPDouble>** pindex,SeqVec<IssmPDouble>** px,SeqVec<IssmPDouble>** py,SeqMat<IssmPDouble>** psegments,SeqVec<IssmPDouble>** psegmentmarkerlist,DataSet* domain,DataSet* rifts,double area){ 23 25 26 #if !defined(_HAVE_TRIANGLE_) 27 _error_("triangle has not been installed"); 28 #else 24 29 /*indexing: */ 25 30 int i,j; … … 201 206 *py=new SeqVec<IssmPDouble>(y,out.numberofpoints); 202 207 *psegmentmarkerlist=new SeqVec<IssmPDouble>(segmentmarkerlist,out.numberofsegments); 208 #endif 203 209 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)