Changeset 3c11d9 for pcp


Ignore:
Timestamp:
Apr 21, 2008, 2:19:25 PM (17 years ago)
Author:
Frederik Heber <heber@…>
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)
Message:

verbosity changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/init.c

    ref282f r3c11d9  
    449449  // fill gathered results into GlobalGArray
    450450  //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
    452452  base = 0;
    453453  for (i=0;i<MaxPE; i++) {  // go through every process
     
    10781078    Lat->Psi.AddData[i].WannierSpread = 0.;
    10791079    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. ;
    10811081  }
    10821082  // lambda contains H eigenvalues
     
    11471147    Lat->Lev[i].LPsi->OldLocalPsi = (fftw_complex **)
    11481148      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 procedure
     1149    for (j=Lat->Psi.TypeStartIndex[Occupied]; j < Lat->Psi.TypeStartIndex[Perturbed_P0]; j++) {  // OldPsis are only needed during the Wannier procedure
    11501150      if (CreateOld)
    11511151        Lat->Lev[i].LPsi->OldLocalPsi[j] = &Lat->Lev[i].LPsi->OldPsiDat[j*Lat->Lev[1].MaxG];
     
    19841984  InitDensity(P);
    19851985  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    }
    19901991  } else {
    19911992    InitPsisValue(P, 0, P->Lat.Psi.TypeStartIndex[Perturbed_P0]);
Note: See TracChangeset for help on using the changeset viewer.