Lines Matching refs:Ngrid3
65 int i,j,k,n,ct_AN,atomnum,Ngrid1,Ngrid2,Ngrid3; in convert_cube() local
91 fread(&Ngrid3, sizeof(int), 1, fp1); in convert_cube()
101 Ngrid3,gtv[3][1],gtv[3][2],gtv[3][3]); in convert_cube()
123 dlist = (double*)malloc(sizeof(double)*Ngrid2*Ngrid3); in convert_cube()
127 fread(dlist, sizeof(double), Ngrid2*Ngrid3, fp1); in convert_cube()
131 for (k=0; k<Ngrid3; k++){ in convert_cube()
138 if (Ngrid3%6!=0) fprintf(fp2,"\n"); in convert_cube()
164 int GridNum,Ngrid1,Ngrid2,Ngrid3; in convert_xsf() local
246 int i,j,k,n,n1,n2,n3,Ngrid1,Ngrid2,Ngrid3; in convert_grid() local
264 fread(&Ngrid3, sizeof(int), 1, fp1); in convert_grid()
266 dlist = (double*)malloc(sizeof(double)*Ngrid2*Ngrid3*3); in convert_grid()
271 fread(dlist, sizeof(double), Ngrid2*Ngrid3*3, fp1); in convert_grid()
275 for (n3=0; n3<Ngrid3; n3++){ in convert_grid()