hsm2ld.c, when multithreading, always print the debuging header lines

This commit is contained in:
dwarning 2014-05-29 22:41:17 +02:00 committed by rlar
parent a94bcaeb0e
commit e562243558
1 changed files with 4 additions and 0 deletions

View File

@ -766,7 +766,9 @@ tm0 = gtodsecld() ;
static int isFirst = 1;
if (isFirst) {
printf("# vbs vds vgs cggb cgdb cgsb cbgb cbdb cbsb cdgb cddb cdsb\n");
#ifndef USE_OMP
isFirst = 0;
#endif
}
printf("%12.5e %12.5e %12.5e %12.5e %12.5e %12.5e %12.5e %12.5e %12.5e %12.5e %12.5e %12.5e\n",
vbs, vds, vgs ,
@ -835,7 +837,9 @@ tm0 = gtodsecld() ;
ShowPhysVals(here, model, isFirst, vds_pre, vgs, vbs, vgd, vbd, vgb);
else
ShowPhysVals(here, model, isFirst, vds, vgs, vbs, vgd, vbd, vgb);
#ifndef USE_OMP
if (isFirst) isFirst = 0;
#endif
}
/* bulk and channel charge plus overlaps */