Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
fb7172b9
Commit
fb7172b9
authored
Dec 14, 2010
by
mattijs
Browse files
ENH: Particle.C : debug messages
parent
e19446b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/basic/Particle/Particle.C
View file @
fb7172b9
...
...
@@ -371,10 +371,21 @@ Foam::scalar Foam::Particle<ParticleType>::trackToFace
{
// Apply tracking correction towards tet centre
if
(
debug
)
{
Pout
<<
"tracking rescue using tetCentre from "
<<
position
();
}
position_
+=
Cloud
<
ParticleType
>::
trackingCorrectionTol
*
(
tet
.
centre
()
-
position_
);
if
(
debug
)
{
Pout
<<
" to "
<<
position
()
<<
" due to "
<<
(
tet
.
centre
()
-
position_
)
<<
endl
;
}
cloud_
.
trackingRescue
();
return
trackFraction
;
...
...
@@ -639,6 +650,12 @@ Foam::scalar Foam::Particle<ParticleType>::trackToFace
tetPointRef
tet
=
currentTet
();
if
(
debug
)
{
Pout
<<
"tracking rescue for lambdaMin:"
<<
lambdaMin
<<
"from "
<<
position
();
}
position_
+=
Cloud
<
ParticleType
>::
trackingCorrectionTol
*
(
tet
.
centre
()
-
position_
);
...
...
@@ -692,6 +709,11 @@ Foam::scalar Foam::Particle<ParticleType>::trackToFace
}
}
if
(
debug
)
{
Pout
<<
" to "
<<
position
()
<<
endl
;
}
cloud_
.
trackingRescue
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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