- Timestamp:
- 04/19/10 16:26:55 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.cpp
r3332 r3570 34 34 /*Checks*/ 35 35 if (data_cols<=0){ 36 ISSMERROR( exprintf("data provided has a negative number of columns"));36 ISSMERROR("data provided has a negative number of columns"); 37 37 } 38 38 if (data_rows!=nods_data && data_rows!=nels_data){ 39 ISSMERROR( exprintf("data provided should have either %i or %i lines (not %i)",nods_data,nels_data,data_rows));39 ISSMERROR("data provided should have either %i or %i lines (not %i)",nods_data,nels_data,data_rows); 40 40 } 41 41 … … 101 101 for (j=0;j<data_cols;j++){ 102 102 if (it<0 || it>=nels_data){ 103 ISSMERROR( exprintf("Triangle number %i not in [0 %i], because not correctly implemented yet... interpolate on grid first",it,nels_data));103 ISSMERROR("Triangle number %i not in [0 %i], because not correctly implemented yet... interpolate on grid first",it,nels_data); 104 104 } 105 105 data_interp[i*data_cols+j]=data[data_cols*it+j];
Note:
See TracChangeset
for help on using the changeset viewer.