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
25951c0f
Commit
25951c0f
authored
Dec 20, 2010
by
Mark Olesen
Browse files
COMP: avoid ambiguous construct from tmp - utils/ mesh
parent
5dc01ed6
Changes
3
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/advanced/combinePatchFaces/combinePatchFaces.C
View file @
25951c0f
...
...
@@ -130,7 +130,7 @@ void checkSnapMesh
label
nOldSize
=
wrongFaces
.
size
();
const
scalarField
magFaceAreas
=
mag
(
mesh
.
faceAreas
());
const
scalarField
magFaceAreas
(
mag
(
mesh
.
faceAreas
())
)
;
forAll
(
magFaceAreas
,
faceI
)
{
...
...
applications/utilities/mesh/manipulation/deformedGeom/deformedGeom.C
View file @
25951c0f
...
...
@@ -79,12 +79,13 @@ int main(int argc, char *argv[])
Info
<<
" Reading U"
<<
endl
;
volVectorField
U
(
Uheader
,
mesh
);
pointField
newPoints
=
pointField
newPoints
(
zeroPoints
+
scaleFactor
*
pInterp
.
interpolate
(
U
)().
internalField
();
+
scaleFactor
*
pInterp
.
interpolate
(
U
)().
internalField
()
);
mesh
.
polyMesh
::
movePoints
(
newPoints
);
mesh
.
write
();
}
else
...
...
applications/utilities/mesh/manipulation/refineMesh/refineMesh.C
View file @
25951c0f
...
...
@@ -271,7 +271,7 @@ label twoDNess(const polyMesh& mesh)
{
const
vectorField
&
n
=
patch
.
faceAreas
();
scalarField
cosAngle
=
mag
(
n
/
mag
(
n
)
&
cellPlane
.
normal
());
const
scalarField
cosAngle
(
mag
(
n
/
mag
(
n
)
&
cellPlane
.
normal
())
)
;
if
(
mag
(
min
(
cosAngle
)
-
max
(
cosAngle
))
>
1E-6
)
{
...
...
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