mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
use Pout instead of printf
I suppose the original author's intention was to print out the forces from all procs, but Info just prints on master proc. Pout is the proper alternative here.
This commit is contained in:
@ -190,8 +190,7 @@ void ShirgaonkarIB::calcForce() const
|
||||
else dragMS = dragMS;
|
||||
}
|
||||
|
||||
//Info << "Drag force on particle clump = " << dragMS[0] << ", " << dragMS[1] << ", " << dragMS[2] << endl;
|
||||
printf("Drag force on particle clump = %f, %f, %f\n",dragMS[0],dragMS[1],dragMS[2]);
|
||||
Pout << "Drag force on particle clump = " << dragMS[0] << ", " << dragMS[1] << ", " << dragMS[2] << endl;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user