#include #include #include #include int refine(double* array, long nx, long ny, long nz, int rx, int ry, int rz, double* r)//////, FILE* pf) { long x, y, z, curr=0, cura=0, curraux=0, currnext=0, curraux2=0, currnext2=0; int i, j, k; ///////double* r=(double*)malloc(sizeof(double)*nz*nx*ny*rz*rx*ry); ///////if(r==(double*)NULL) puts("not enough memory output"); /////////////////npywheader(rx*nx, ry*ny, rz*nz, pf); clock_t t1, t2; t1=clock(); for(z=0;z