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
ad89051b
Commit
ad89051b
authored
Jun 24, 2008
by
Mattijs Janssens
Committed by
graham
Jun 24, 2008
Browse files
markSurfaceRefinement fixes
parent
df0d196b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/autoMesh/autoHexMesh/meshRefinement/meshRefinementRefine.C
View file @
ad89051b
...
...
@@ -641,7 +641,7 @@ Foam::label Foam::meshRefinement::markSurfaceRefinement
}
}
}
else
if
(
refineCell
[
own
]
!
=
-
1
)
else
if
(
refineCell
[
own
]
=
=
-
1
)
{
// boundary face with unmarked owner
...
...
@@ -658,18 +658,25 @@ Foam::label Foam::meshRefinement::markSurfaceRefinement
if
(
surfI
!=
-
1
)
{
if
(
!
markForRefine
// Make sure it is my side that wants refinement.
label
surfaceMinLevel
=
surfaces_
.
minLevelField
(
surfI
)[
hit
.
index
()];
if
(
surfaceMinLevel
>
cellLevel
[
own
])
{
if
(
surfI
,
nAllowRefine
,
refineCell
[
own
],
nRefine
!
markForRefine
(
surfI
,
nAllowRefine
,
refineCell
[
own
],
nRefine
)
)
)
{
break
;
{
break
;
}
}
}
}
...
...
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