Changeset 8ea7f8
- Timestamp:
- Apr 21, 2008, 2:19:23 PM (17 years ago)
- Children:
- 02ba60
- Parents:
- 3ff846
- git-author:
- Frederik Heber <heber@…> (04/18/08 13:38:10)
- git-committer:
- Frederik Heber <heber@…> (04/21/08 14:19:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified pcp/src/run.c ¶
r3ff846 r8ea7f8 470 470 struct Psis *Psi = &Lat->Psi; 471 471 struct Energy *E = Lat->E; 472 int i ,type;472 int i;//,type; 473 473 R->OldActualLocalPsiNo = R->ActualLocalPsiNo = 0; 474 474 //if (isnan((double)R->LevS->LPsi->LocalPsi[R->OldActualLocalPsiNo][0].re)) { fprintf(stderr,"(%i) WARNING in UpdateGramSchActualPsiNo(): LPsi->LocalPsi[%i]_[%i] = NaN!\n", P->Par.me, R->OldActualLocalPsiNo, 0); Error(SomeError, "NaN-Fehler!"); } … … 492 492 CalculateEwald(P, 0); 493 493 EnergyAllReduce(P); 494 if (R->DoUnOccupied) {494 /* if (R->DoUnOccupied) { 495 495 SetCurrentMinState(P,UnOccupied); 496 InitPsiEnergyCalculation(P,UnOccupied); /* STANDARTLEVEL */497 CalculateGapEnergy(P); /* STANDARTLEVEL */496 InitPsiEnergyCalculation(P,UnOccupied); 497 CalculateGapEnergy(P); 498 498 EnergyAllReduce(P); 499 499 } … … 501 501 for(type=Perturbed_P0;type <=Perturbed_RxP2;type++) { 502 502 SetCurrentMinState(P,type); 503 InitPerturbedEnergyCalculation(P,1); /* STANDARTLEVEL */503 InitPerturbedEnergyCalculation(P,1); 504 504 EnergyAllReduce(P); 505 505 } 506 SetCurrentMinState(P,Occupied); 506 SetCurrentMinState(P,Occupied);*/ 507 507 E->TotalEnergyOuter[0] = E->TotalEnergy[0]; 508 508 EnergyOutput(P,0);
Note:
See TracChangeset
for help on using the changeset viewer.