Changeset 20590
- Timestamp:
- 05/04/16 10:16:07 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Exp/exp.h
r16235 r20590 89 89 if(fscanf(fid,"%255s %255s\n",chardummy,chardummy)!=2) _error_("Could not read " << domainname); 90 90 //## Icon:0 91 if(fscanf(fid,"%255s %255s\n",chardummy,chardummy)!=2) _error_("Could not read " << domainname );91 if(fscanf(fid,"%255s %255s\n",chardummy,chardummy)!=2) _error_("Could not read " << domainname<<"(Expecting ## Icon:0 and read "<<chardummy<<")"); 92 92 //# Points Count Value 93 93 if(fscanf(fid,"%255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy)!=4) _error_("Could not read " << domainname); … … 96 96 if(fscanf(fid,"%255s %255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy,chardummy)!=5) _error_("Could not read " << domainname); 97 97 for (i=0;i<n;i++){ 98 if(fscanf(fid,"% 20lf %20lf\n",&ddummy,&ddummy)!=2){98 if(fscanf(fid,"%30lf %30lf\n",&ddummy,&ddummy)!=2){ 99 99 _error_("Could not read coordinate of vertex "<< i <<" of "<<domainname); 100 100 } … … 142 142 /*Read vertices: */ 143 143 for (i=0;i<n;i++){ 144 if(fscanf(fid,"% 20lf %20lf\n",&x[i],&y[i])!=2){144 if(fscanf(fid,"%30lf %30lf\n",&x[i],&y[i])!=2){ 145 145 _error_("Could not read coordinate of vertex "<<i<<" of "<<domainname); 146 146 }
Note:
See TracChangeset
for help on using the changeset viewer.