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
1bb78656
Commit
1bb78656
authored
May 13, 2011
by
graham
Browse files
BUG: Face centre error, treating all faces as tris.
parent
54ba1948
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/meshShapes/face/face.C
View file @
1bb78656
...
...
@@ -499,7 +499,7 @@ Foam::point Foam::face::centre(const pointField& points) const
const
label
nPoints
=
size
();
// If the face is a triangle, do a direct calculation
if
(
nPoints
)
if
(
nPoints
==
3
)
{
return
(
1
.
0
/
3
.
0
)
...
...
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