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
3ad3ad6d
Commit
3ad3ad6d
authored
Jul 13, 2011
by
mattijs
Browse files
COMP: compiler warnings
parent
71fa6327
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/polyMesh/syncTools/syncToolsTemplates.C
View file @
3ad3ad6d
...
...
@@ -1352,10 +1352,10 @@ void Foam::syncTools::syncBoundaryFaceList
label
sz
=
cycPatch
.
size
();
// Transform (copy of) data on both sides
Field
<
T
>
ownVals
(
SubField
<
T
>
(
faceValues
,
sz
,
ownStart
)
)
;
Field
<
T
>
ownVals
=
SubField
<
T
>
(
faceValues
,
sz
,
ownStart
);
top
(
nbrPatch
,
ownVals
);
Field
<
T
>
nbrVals
(
SubField
<
T
>
(
faceValues
,
sz
,
nbrStart
)
)
;
Field
<
T
>
nbrVals
=
SubField
<
T
>
(
faceValues
,
sz
,
nbrStart
);
top
(
cycPatch
,
nbrVals
);
label
i0
=
ownStart
;
...
...
src/OpenFOAM/primitives/globalIndexAndTransform/globalIndexAndTransformI.H
View file @
3ad3ad6d
...
...
@@ -512,7 +512,7 @@ Foam::labelList Foam::globalIndexAndTransform::transformIndicesForPatches
}
}
label
nUsedTrans
=
sum
(
mag
(
permutation
));
label
nUsedTrans
=
round
(
sum
(
mag
(
permutation
))
)
;
if
(
nUsedTrans
==
0
)
{
...
...
src/edgeMesh/edgeMesh.C
View file @
3ad3ad6d
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -148,6 +148,7 @@ void Foam::edgeMesh::calcPointEdges() const
Foam
::
edgeMesh
::
edgeMesh
()
:
fileFormats
::
edgeFormatsCore
(),
points_
(
0
),
edges_
(
0
),
pointEdgesPtr_
(
NULL
)
...
...
@@ -160,6 +161,7 @@ Foam::edgeMesh::edgeMesh
const
edgeList
&
edges
)
:
fileFormats
::
edgeFormatsCore
(),
points_
(
points
),
edges_
(
edges
),
pointEdgesPtr_
(
NULL
)
...
...
@@ -172,6 +174,7 @@ Foam::edgeMesh::edgeMesh
const
Xfer
<
edgeList
>&
edgeLst
)
:
fileFormats
::
edgeFormatsCore
(),
points_
(
0
),
edges_
(
0
),
pointEdgesPtr_
(
NULL
)
...
...
src/edgeMesh/edgeMeshI.H
View file @
3ad3ad6d
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2004-201
0
OpenCFD Ltd.
\\ / A nd | Copyright (C) 2004-201
1
OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -27,6 +27,7 @@ License
inline
Foam
::
edgeMesh
::
edgeMesh
(
const
edgeMesh
&
em
)
:
fileFormats
::
edgeFormatsCore
(),
points_
(
em
.
points_
),
edges_
(
em
.
edges_
),
pointEdgesPtr_
(
NULL
)
...
...
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