Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
c83cc8cb
Commit
c83cc8cb
authored
Jan 29, 2020
by
mattijs
Browse files
STYLE: lagrangian: debug to Pout, not Info
parent
f7d4e8a8
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/basic/particle/particle.C
View file @
c83cc8cb
...
...
@@ -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
;
}
...
...
src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloudI.H
View file @
c83cc8cb
...
...
@@ -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
;
...
...
src/lagrangian/solidParticle/solidParticle.C
View file @
c83cc8cb
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment