STYLE: lagrangian: debug to Pout, not Info

This commit is contained in:
mattijs
2020-01-29 14:58:20 +00:00
parent f7d4e8a8e8
commit c83cc8cb35
3 changed files with 13 additions and 13 deletions

View File

@ -681,7 +681,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
if (debug)
{
Info<< "Particle " << origId() << endl << "Tracking from " << x0
Pout<< "Particle " << origId() << endl << "Tracking from " << x0
<< " along " << x1 << " to " << x0 + x1 << endl;
}
@ -695,7 +695,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
{
vector o, b, v1, v2;
stationaryTetGeometry(o, b, v1, v2);
Info<< "Tet points o=" << o << ", b=" << b
Pout<< "Tet points o=" << o << ", b=" << b
<< ", v1=" << v1 << ", v2=" << v2 << endl
<< "Tet determinant = " << detA << endl
<< "Start local coordinates = " << y0 << endl;
@ -709,7 +709,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
if (debug)
{
Info<< "Local displacement = " << Tx1 << "/" << detA << endl;
Pout<< "Local displacement = " << Tx1 << "/" << detA << endl;
}
// Calculate the hit fraction
@ -723,7 +723,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
if (debug)
{
Info<< "Hit on tet face " << i << " at local coordinate "
Pout<< "Hit on tet face " << i << " at local coordinate "
<< y0 + mu*Tx1 << ", " << mu*detA*100 << "% of the "
<< "way along the track" << endl;
}
@ -759,13 +759,13 @@ Foam::scalar Foam::particle::trackToStationaryTri
{
if (iH != -1)
{
Info<< "Track hit tet face " << iH << " first" << endl;
Pout<< "Track hit tet face " << iH << " first" << endl;
}
else
{
Info<< "Track hit no tet faces" << endl;
Pout<< "Track hit no tet faces" << endl;
}
Info<< "End local coordinates = " << yH << endl
Pout<< "End local coordinates = " << yH << endl
<< "End global coordinates = " << position() << endl
<< "Tracking displacement = " << position() - x0 << endl
<< muH*detA*100 << "% of the step from " << stepFraction_ << " to "
@ -792,7 +792,7 @@ Foam::scalar Foam::particle::trackToMovingTri
if (debug)
{
Info<< "Particle " << origId() << endl << "Tracking from " << x0
Pout<< "Particle " << origId() << endl << "Tracking from " << x0
<< " along " << x1 << " to " << x0 + x1 << endl;
}
@ -893,13 +893,13 @@ Foam::scalar Foam::particle::trackToMovingTri
{
if (iH != -1)
{
Info<< "Track hit tet face " << iH << " first" << endl;
Pout<< "Track hit tet face " << iH << " first" << endl;
}
else
{
Info<< "Track hit no tet faces" << endl;
Pout<< "Track hit no tet faces" << endl;
}
Info<< "End local coordinates = " << yH << endl
Pout<< "End local coordinates = " << yH << endl
<< "End global coordinates = " << position() << endl;
}

View File

@ -425,7 +425,7 @@ Foam::KinematicCloud<CloudType>::SU(volVectorField& U) const
{
if (debug)
{
Info<< "UTrans min/max = " << min(UTrans()).value() << ", "
Pout<< "UTrans min/max = " << min(UTrans()).value() << ", "
<< max(UTrans()).value() << nl
<< "UCoeff min/max = " << min(UCoeff()).value() << ", "
<< max(UCoeff()).value() << endl;

View File

@ -50,7 +50,7 @@ bool Foam::solidParticle::move
{
if (debug)
{
Info<< "Time = " << mesh().time().timeName()
Pout<< "Time = " << mesh().time().timeName()
<< " trackTime = " << trackTime
<< " steptFraction() = " << stepFraction() << endl;
}