- Timestamp:
- Apr 21, 2008, 2:19:25 PM (17 years ago)
- Children:
- 3716b2
- Parents:
- ef282f
- git-author:
- Frederik Heber <heber@…> (04/18/08 16:11:02)
- git-committer:
- Frederik Heber <heber@…> (04/21/08 14:19:25)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pcp/src/init.c
ref282f r3c11d9 449 449 // fill gathered results into GlobalGArray 450 450 //if (P->Call.out[LeaderOut]) 451 fprintf(stderr,"(%i) MaxPE %i / myPE %i, AllMaxG %i / MaxG %i / Lev->MaxG %i, TotalAllMaxG %i \n", P->Par.me, MaxPE, myPE, AllMaxG, MaxG, Lev->MaxG, Lev->TotalAllMaxG);451 fprintf(stderr,"(%i) MaxPE %i / myPE %i, AllMaxG %i / MaxG %i / Lev->MaxG %i, TotalAllMaxG %i, ECut %lg\n", P->Par.me, MaxPE, myPE, AllMaxG, MaxG, Lev->MaxG, Lev->TotalAllMaxG, Lev->ECut/4.); // Ecut is in Rydberg 452 452 base = 0; 453 453 for (i=0;i<MaxPE; i++) { // go through every process … … 1078 1078 Lat->Psi.AddData[i].WannierSpread = 0.; 1079 1079 for (j=0;j<NDIM;j++) 1080 Lat->Psi.AddData[i].WannierCentre[j] = 0. ; //Lat->RealBasisQ[j]/2.;1080 Lat->Psi.AddData[i].WannierCentre[j] = 0. ; 1081 1081 } 1082 1082 // lambda contains H eigenvalues … … 1147 1147 Lat->Lev[i].LPsi->OldLocalPsi = (fftw_complex **) 1148 1148 Malloc(((Lat->Psi.TypeStartIndex[Perturbed_P0] - Lat->Psi.TypeStartIndex[Occupied])+1)*sizeof(fftw_complex *),"InitPsi: OldLocalPsi"); 1149 for (j=Lat->Psi.TypeStartIndex[Occupied]; j < = Lat->Psi.TypeStartIndex[UnOccupied]; j++) { // OldPsis are only needed during the Wannier procedure1149 for (j=Lat->Psi.TypeStartIndex[Occupied]; j < Lat->Psi.TypeStartIndex[Perturbed_P0]; j++) { // OldPsis are only needed during the Wannier procedure 1150 1150 if (CreateOld) 1151 1151 Lat->Lev[i].LPsi->OldLocalPsi[j] = &Lat->Lev[i].LPsi->OldPsiDat[j*Lat->Lev[1].MaxG]; … … 1984 1984 InitDensity(P); 1985 1985 if (P->Call.ReadSrcFiles) { 1986 if (ReadSrcIons(P) && P->Call.out[NormalOut]) 1987 fprintf(stderr,"(%i) Ionic structure read successfully.\n", P->Par.me); 1988 else 1989 fprintf(stderr,"(%i) No readible Ionic structure found.\n", P->Par.me); 1986 if (ReadSrcIons(P)) { 1987 if (P->Call.out[NormalOut]) fprintf(stderr,"(%i) Ionic structure read successfully.\n", P->Par.me); 1988 } else { 1989 if (P->Call.out[NormalOut]) fprintf(stderr,"(%i) No readible Ionic structure found.\n", P->Par.me); 1990 } 1990 1991 } else { 1991 1992 InitPsisValue(P, 0, P->Lat.Psi.TypeStartIndex[Perturbed_P0]);
Note:
See TracChangeset
for help on using the changeset viewer.