Changeset 13623 for issm/trunk-jpl/src/c/shared/Exp/exp.h
- Timestamp:
- 10/11/12 11:26:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Exp/exp.h
r13357 r13623 60 60 template <class doubletype> 61 61 int DomainOutlineRead(int* pnprof,int** pprofnvertices,doubletype*** ppprofx,doubletype*** ppprofy,bool** pclosed,char* domainname){ 62 62 63 63 /*indexing: */ 64 64 int i,counter; … … 100 100 nprof++; 101 101 } 102 102 103 103 /*Allocate and initialize all the profiles: */ 104 104 profnvertices = xNew<int>(nprof); … … 121 121 fscanf(fid,"%256s %256s\n",chardummy,chardummy); 122 122 fscanf(fid,"%256s %256s %256s %256s\n",chardummy,chardummy,chardummy,chardummy); 123 123 124 124 /*Get number of profile vertices: */ 125 125 fscanf(fid,"%20u %256s\n",&n,chardummy); 126 126 127 127 /*Skip next line: */ 128 128 fscanf(fid,"%256s %256s %256s %256s %256s\n",chardummy,chardummy,chardummy,chardummy,chardummy); … … 131 131 x=xNew<doubletype>(n); 132 132 y=xNew<doubletype>(n); 133 133 134 134 /*Read vertices: */ 135 135 for (i=0;i<n;i++){
Note:
See TracChangeset
for help on using the changeset viewer.