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
5301bf1c
Commit
5301bf1c
authored
Jul 29, 2008
by
henry
Browse files
Merge branch 'master' of
ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev
parents
3b594112
7165747f
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C
View file @
5301bf1c
...
...
@@ -315,12 +315,6 @@ void Foam::mergePolyMesh::addMesh(const polyMesh& m)
}
}
newOwn
=
own
[
faceI
];
if
(
newOwn
>
-
1
)
newOwn
=
renumberCells
[
newOwn
];
newNei
=
nei
[
faceI
];
if
(
newNei
>
-
1
)
newNei
=
renumberCells
[
newNei
];
if
(
faceI
<
m
.
nInternalFaces
()
||
faceI
>=
m
.
nFaces
())
{
newPatch
=
-
1
;
...
...
@@ -330,6 +324,20 @@ void Foam::mergePolyMesh::addMesh(const polyMesh& m)
newPatch
=
patchIndices
[
bm
.
whichPatch
(
faceI
)];
}
newOwn
=
own
[
faceI
];
if
(
newOwn
>
-
1
)
newOwn
=
renumberCells
[
newOwn
];
if
(
newPatch
>
-
1
)
{
newNei
=
-
1
;
}
else
{
newNei
=
nei
[
faceI
];
newNei
=
renumberCells
[
newNei
];
}
newZone
=
fz
.
whichZone
(
faceI
);
newZoneFlip
=
false
;
...
...
src/OpenFOAM/meshes/polyMesh/polyMeshIO.C
View file @
5301bf1c
...
...
@@ -284,6 +284,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
*
this
);
pointZones_
.
setSize
(
newPointZones
.
size
());
forAll
(
pointZones_
,
pzI
)
{
pointZones_
[
pzI
]
=
newPointZones
[
pzI
];
...
...
@@ -304,6 +305,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
*
this
);
faceZones_
.
setSize
(
newFaceZones
.
size
());
forAll
(
faceZones_
,
fzI
)
{
faceZones_
[
fzI
].
resetAddressing
...
...
@@ -328,6 +330,7 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
*
this
);
cellZones_
.
setSize
(
newCellZones
.
size
());
forAll
(
cellZones_
,
czI
)
{
cellZones_
[
czI
]
=
newCellZones
[
czI
];
...
...
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