We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c84fbf1 commit 93641f8Copy full SHA for 93641f8
src/RadiativeTransfer.cpp
@@ -1381,9 +1381,12 @@ bool CRadiativeTransfer::calcPolMapsViaMC()
1381
}
1382
#endif
1383
1384
- // Init progress visualization
1385
- cout << "-> MC pol. map(s) (source ID: " << s + 1 << ", wavelength: " << dust->getWavelength(wID)
1386
- << " [m], photons: " << float(nr_of_photons) << ") 0 [%] \r" << flush;
+ if(per_counter == 0)
+ {
+ // Init progress visualization
1387
+ cout << "-> MC pol. map(s) (source ID: " << s + 1 << ", wavelength: " << dust->getWavelength(wID)
1388
+ << " [m], photons: " << float(nr_of_photons) << ") 0 [%] \r" << flush;
1389
+ }
1390
1391
CRandomGenerator rand_gen = CRandomGenerator();
1392
// just an arbitrary, random number for the RNG seed
0 commit comments