Changeset 5602 for anuga_core/source/anuga/shallow_water/urs_ext.c
- Timestamp:
- Aug 4, 2008, 1:41:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/urs_ext.c
r5582 r5602 35 35 void fillDataArray(int ista, int total_number_of_stations, int nt, int ig, int *nst, 36 36 int *nft, float *data, int *istart_p, 37 37 int *istop_p, float *muxData) 38 38 { 39 39 int it, last_it, jsta; … … 42 42 43 43 last_it = -1; 44 /* make arrays of starting and finishing time steps for the tide gauges */44 /* Make arrays of starting and finishing time steps for the tide gauges */ 45 45 /* and fill them from the file */ 46 46 47 /* update start and stop timesteps for this gauge */47 /* Update start and stop timesteps for this gauge */ 48 48 if (nst[ista]!= -1) 49 49 { … … 158 158 //Internal Functions 159 159 int _read_mux2_headers(int numSrc, 160 161 162 163 164 165 160 char **muxFileNameArray, 161 int* total_number_of_stations, 162 int* number_of_time_steps, 163 double* delta_t, 164 //long* numDataMax, 165 int verbose) 166 166 { 167 167 FILE *fp; … … 415 415 fseek(fp, offset, 0); 416 416 417 numData = getNumData(fros + isrc*total_number_of_stations, lros + isrc*total_number_of_stations, total_number_of_stations); 417 numData = getNumData(fros + isrc*total_number_of_stations, 418 lros + isrc*total_number_of_stations, 419 total_number_of_stations); 420 418 421 fread(muxData, numData*sizeof(float), 1, fp); 419 422 fclose(fp);
Note: See TracChangeset
for help on using the changeset viewer.