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:
danielque
2022-03-24 16:49:43 +01:00
parent 3e1126a55d
commit 937dcc2023

View File

@ -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;
}