Commit c83cc8cb authored by mattijs's avatar mattijs
Browse files

STYLE: lagrangian: debug to Pout, not Info

parent f7d4e8a8
...@@ -681,7 +681,7 @@ Foam::scalar Foam::particle::trackToStationaryTri ...@@ -681,7 +681,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
if (debug) if (debug)
{ {
Info<< "Particle " << origId() << endl << "Tracking from " << x0 Pout<< "Particle " << origId() << endl << "Tracking from " << x0
<< " along " << x1 << " to " << x0 + x1 << endl; << " along " << x1 << " to " << x0 + x1 << endl;
} }
...@@ -695,7 +695,7 @@ Foam::scalar Foam::particle::trackToStationaryTri ...@@ -695,7 +695,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
{ {
vector o, b, v1, v2; vector o, b, v1, v2;
stationaryTetGeometry(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 << ", v1=" << v1 << ", v2=" << v2 << endl
<< "Tet determinant = " << detA << endl << "Tet determinant = " << detA << endl
<< "Start local coordinates = " << y0 << endl; << "Start local coordinates = " << y0 << endl;
...@@ -709,7 +709,7 @@ Foam::scalar Foam::particle::trackToStationaryTri ...@@ -709,7 +709,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
if (debug) if (debug)
{ {
Info<< "Local displacement = " << Tx1 << "/" << detA << endl; Pout<< "Local displacement = " << Tx1 << "/" << detA << endl;
} }
// Calculate the hit fraction // Calculate the hit fraction
...@@ -723,7 +723,7 @@ Foam::scalar Foam::particle::trackToStationaryTri ...@@ -723,7 +723,7 @@ Foam::scalar Foam::particle::trackToStationaryTri
if (debug) 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 " << y0 + mu*Tx1 << ", " << mu*detA*100 << "% of the "
<< "way along the track" << endl; << "way along the track" << endl;
} }
...@@ -759,13 +759,13 @@ Foam::scalar Foam::particle::trackToStationaryTri ...@@ -759,13 +759,13 @@ Foam::scalar Foam::particle::trackToStationaryTri
{ {
if (iH != -1) if (iH != -1)
{ {
Info<< "Track hit tet face " << iH << " first" << endl; Pout<< "Track hit tet face " << iH << " first" << endl;
} }
else 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 << "End global coordinates = " << position() << endl
<< "Tracking displacement = " << position() - x0 << endl << "Tracking displacement = " << position() - x0 << endl
<< muH*detA*100 << "% of the step from " << stepFraction_ << " to " << muH*detA*100 << "% of the step from " << stepFraction_ << " to "
...@@ -792,7 +792,7 @@ Foam::scalar Foam::particle::trackToMovingTri ...@@ -792,7 +792,7 @@ Foam::scalar Foam::particle::trackToMovingTri
if (debug) if (debug)
{ {
Info<< "Particle " << origId() << endl << "Tracking from " << x0 Pout<< "Particle " << origId() << endl << "Tracking from " << x0
<< " along " << x1 << " to " << x0 + x1 << endl; << " along " << x1 << " to " << x0 + x1 << endl;
} }
...@@ -893,13 +893,13 @@ Foam::scalar Foam::particle::trackToMovingTri ...@@ -893,13 +893,13 @@ Foam::scalar Foam::particle::trackToMovingTri
{ {
if (iH != -1) if (iH != -1)
{ {
Info<< "Track hit tet face " << iH << " first" << endl; Pout<< "Track hit tet face " << iH << " first" << endl;
} }
else 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; << "End global coordinates = " << position() << endl;
} }
......
...@@ -425,7 +425,7 @@ Foam::KinematicCloud<CloudType>::SU(volVectorField& U) const ...@@ -425,7 +425,7 @@ Foam::KinematicCloud<CloudType>::SU(volVectorField& U) const
{ {
if (debug) if (debug)
{ {
Info<< "UTrans min/max = " << min(UTrans()).value() << ", " Pout<< "UTrans min/max = " << min(UTrans()).value() << ", "
<< max(UTrans()).value() << nl << max(UTrans()).value() << nl
<< "UCoeff min/max = " << min(UCoeff()).value() << ", " << "UCoeff min/max = " << min(UCoeff()).value() << ", "
<< max(UCoeff()).value() << endl; << max(UCoeff()).value() << endl;
......
...@@ -50,7 +50,7 @@ bool Foam::solidParticle::move ...@@ -50,7 +50,7 @@ bool Foam::solidParticle::move
{ {
if (debug) if (debug)
{ {
Info<< "Time = " << mesh().time().timeName() Pout<< "Time = " << mesh().time().timeName()
<< " trackTime = " << trackTime << " trackTime = " << trackTime
<< " steptFraction() = " << stepFraction() << endl; << " steptFraction() = " << stepFraction() << endl;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment