Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
cb697ea3
Commit
cb697ea3
authored
16 years ago
by
Andrew Heather
Browse files
Options
Downloads
Patches
Plain Diff
moved warningIn msgs to inside if (debug) statements
parent
5d3db386
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/finiteVolume/interpolation/interpolation/interpolationCellPoint/cellPointWeight/cellPointWeight.C
+12
-13
12 additions, 13 deletions
.../interpolationCellPoint/cellPointWeight/cellPointWeight.C
with
12 additions
and
13 deletions
src/finiteVolume/interpolation/interpolation/interpolationCellPoint/cellPointWeight/cellPointWeight.C
+
12
−
13
View file @
cb697ea3
...
@@ -164,12 +164,12 @@ void Foam::cellPointWeight::findTetrahedron
...
@@ -164,12 +164,12 @@ void Foam::cellPointWeight::findTetrahedron
}
}
}
}
WarningIn
if
(
debug
)
(
{
"cellPointWeight::findTetrahedron"
Pout
<<
"cellPointWeight::findTetrahedron"
<<
nl
"(const polyMesh&, const vector&, const label, const label)
"
<<
" Tetrahedron search failed; using closest tet values to
"
)
<<
"
Tetrahedron search failed; using closest tet values to point "
<<
"
point "
<<
nl
<<
" cell: "
<<
cellIndex
<<
nl
<<
endl
;
<<
nl
<<
" cell: "
<<
cellIndex
<<
endl
;
}
const
labelList
&
facePointsClose
=
mesh
.
faces
()[
cellFaces
[
faceClose
]];
const
labelList
&
facePointsClose
=
mesh
.
faces
()[
cellFaces
[
faceClose
]];
faceVertices_
[
0
]
=
facePointsClose
[
0
];
faceVertices_
[
0
]
=
facePointsClose
[
0
];
...
@@ -284,13 +284,12 @@ void Foam::cellPointWeight::findTriangle
...
@@ -284,13 +284,12 @@ void Foam::cellPointWeight::findTriangle
pointI
++
;
pointI
++
;
}
}
WarningIn
if
(
debug
)
(
{
"Foam::cellPointWeight::findTriangle"
Pout
<<
"Foam::cellPointWeight::findTriangle"
"(const polyMesh&, const vector&, const label)"
<<
"Triangle search failed; using closest triangle to point"
<<
nl
)
<<
"Triangle search failed; using closest triangle to "
<<
" cell face: "
<<
faceIndex
<<
nl
<<
endl
;
<<
"point"
<<
nl
}
<<
" cell face: "
<<
faceIndex
<<
endl
;
// Indices of the cell vertices making up the triangle
// Indices of the cell vertices making up the triangle
faceVertices_
[
0
]
=
facePoints
[
0
];
faceVertices_
[
0
]
=
facePoints
[
0
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment