Changeset f5586e for pcp/src/init.c
- Timestamp:
- Apr 22, 2008, 8:43:24 AM (17 years ago)
- Children:
- 90c027
- Parents:
- cc46b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified pcp/src/init.c ¶
rcc46b0 rf5586e 148 148 for (i=0; i < NDIM_NDIM; i++) Lat->ReciBasis[i] *= factor; // SM(Lat->ReciBasis, factor, NDIM_NDIM); 149 149 for (i=0; i < NDIM; i++) { 150 Lat->RealBasisSQ[i] = RNORMSQ3(&(Lat->RealBasis[i*NDIM])); 150 151 Lat->ReciBasisSQ[i] = RNORMSQ3(&(Lat->ReciBasis[i*NDIM])); 151 Lat->RealBasisSQ[i] = RNORMSQ3(&(Lat->RealBasis[i*NDIM]));152 Lat->RealBasisQ[i] = sqrt(Lat->RealBasisSQ[i]);153 152 } 154 153 // Prepares LatticeLevels … … 279 278 if (i%NDIM == NDIM-1) fprintf(stderr,"\n"); 280 279 } 281 fprintf(stderr,"(%i) Lat->RealbasisQ = ",P->Par.me);282 for (i=0; i < NDIM; i++)283 fprintf(stderr,"%lg ",Lat->RealBasisQ[i]);284 fprintf(stderr,"\n");285 280 } 286 281
Note:
See TracChangeset
for help on using the changeset viewer.