Changeset 963310a for pcp/src


Ignore:
Timestamp:
Apr 21, 2008, 2:19:23 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
2026d4
Parents:
5712cb
git-author:
Frederik Heber <heber@…> (04/18/08 14:02:54)
git-committer:
Frederik Heber <heber@…> (04/21/08 14:19:23)
Message:

CalculateForce(): commented-stuff thrown out after FillDeltaCurrent...(), DoOutCurr only in uppermost level (now really)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/run.c

    r5712cb r963310a  
    11211121            if ((R->DoFullCurrent == 1) || ((R->DoFullCurrent == 2) && (CheckOrbitalOverlap(P) == 1))) { //test to check whether orbitals have mutual overlap and thus \\DeltaJ_{xc} must not be dropped
    11221122              R->DoFullCurrent = 1; // set to 1 if it was 2 but Check...() yielded necessity
    1123               debug(P,"Filling with Delta j ...");
     1123              //debug(P,"Filling with Delta j ...");
    11241124              FillDeltaCurrentDensity(P);
    1125             }// else
    1126               //debug(P,"There is no overlap between orbitals.");
    1127             //debug(P,"Filling with j ...");
    1128             //FillCurrentDensity(P);
     1125            }
    11291126          }
    11301127          SpeedMeasure(P, CurrDensTime, StopTimeDo);
     
    11321129          TestCurrent(P,1);
    11331130          TestCurrent(P,2);
    1134           if (F->DoOutCurr) {
    1135             debug(P,"OutputCurrentDensity");
     1131          if (F->DoOutCurr && R->Lev0->LevelNo == 0)  // only output in uppermost level)
    11361132            OutputCurrentDensity(P);
    1137           }
    1138           if (R->VectorPlane != -1) {
    1139             debug(P,"PlotVectorPlane");
     1133          if (R->VectorPlane != -1)
    11401134            PlotVectorPlane(P,R->VectorPlane,R->VectorCut);
    1141           }
    1142           fprintf(stderr,"(%i) ECut [L%i] = %e Ht\n", P->Par.me, R->Lev0->LevelNo, pow(2*M_PI*M_PI/Lat->Volume*R->Lev0->TotalAllMaxG, 2./3.));
    11431135          CalculateMagneticSusceptibility(P);
    11441136          debug(P,"Normal calculation of shielding over R-space");
     
    11531145
    11541146      if ((!I->StructOpt) && (!R->MaxOuterStep))  // print intermediate levels energy results if we don't do MD or StructOpt
    1155               EnergyOutput(P, 1);
     1147            EnergyOutput(P, 1);
    11561148      // next level
    11571149      ChangeToLevUp(P, &Stop);
Note: See TracChangeset for help on using the changeset viewer.