Changeset fdbf0c for pcp/src/init.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/init.c

    r4917ddd rfdbf0c  
    15871587  if (R->UseAddGramSch > 2) R->UseAddGramSch = 2;
    15881588  if(P->Call.out[ReadOut]) fprintf(stderr,"(%i)UseAddGramSch = %i\n",me,R->UseAddGramSch);
     1589  if(!ParseForParameter(P->Call.out[ReadOut],file,"DoWannier", 0, 1, 1, int_type, &R->DoWannier, 1, optional)) {
     1590    R->DoWannier = 0;
     1591  } else {
     1592    if (R->DoWannier < 0) R->DoWannier = 0;
     1593    if (R->DoWannier > 1) R->DoWannier = 1;
     1594  }
    15891595  if(!ParseForParameter(P->Call.out[ReadOut],file,"CommonWannier", 0, 1, 1, int_type, &R->CommonWannier, 1, optional)) {
    15901596    R->CommonWannier = 0;
Note: See TracChangeset for help on using the changeset viewer.