43 fprintf(stderr,
"Error: could not open %s for writing.\n",f);
51 for (i=0; i<ndims; i++) fprintf(out,
"%4d ",index[i]);
52 for (i=0; i<ndims; i++) {
53 int j,offset = 0;
for (j=0; j<i; j++) offset += dim[j];
54 fprintf(out,
"%+1.16E ",x[offset+index[i]]);
56 for (i=0; i<nvars; i++) fprintf(out,
"%+1.16E ",u[nvars*p+i]);
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _ArrayIndex1D_(N, imax, i, ghost, index)
Some basic definitions and macros.
int WriteText(int, int, int *, double *, double *, char *, int *)
Contains macros and function definitions for common array operations.