Changeset fdbf0c for pcp/src/run.c


Ignore:
Timestamp:
Sep 11, 2008, 1:27:26 PM (17 years ago)
Author:
Frederik Heber <heber@…>
Children:
5a78f5, c99adf
Parents:
4917ddd
Message:

pcp now only performs the wannier minimisation in the non-perturbative case only if explicitely s
tated in the config file: DoWannier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pcp/src/run.c

    r4917ddd rfdbf0c  
    10911091      MinimiseOccupied(P, &Stop, &SuperStop);
    10921092      if (!I->StructOpt) {
    1093         if (((P->Call.ReadSrcFiles != DoReadAllSrcDensities) && (P->Call.ReadSrcFiles != DoReadOccupiedSrcDensities)) || (!ParseWannierFile(P))) { // only localize and store if they have just been minimised (hence don't come solely from file), otherwise read stored values from file (if possible)
     1093        if (((R->DoPerturbation) || (R->DoWannier)) && (((P->Call.ReadSrcFiles != DoReadAllSrcDensities) && (P->Call.ReadSrcFiles != DoReadOccupiedSrcDensities)) || (!ParseWannierFile(P)))) { // only localize and store if they have just been minimised (hence don't come solely from file), otherwise read stored values from file (if possible)
    10941094          SpeedMeasure(P, WannierTime, StartTimeDo);
    10951095          ComputeMLWF(P);   // localization of orbitals
     
    11001100        // join Wannier orbital to groups with common centres under certain conditions
    11011101        //debug (P,"Changing Wannier Centres according to CommonWannier");
    1102         ChangeWannierCentres(P);
     1102        if (R->DoPerturbation)
     1103          ChangeWannierCentres(P);
    11031104        OutputVisSrcFiles(P, Occupied); // rewrite now localized orbitals
    11041105       
Note: See TracChangeset for help on using the changeset viewer.