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
f69806b9
Commit
f69806b9
authored
Jan 14, 2009
by
mattijs
Browse files
optional perpendicular reading
parent
9a1d3aec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/autoMesh/autoHexMesh/refinementSurfaces/refinementSurfaces.C
View file @
f69806b9
...
...
@@ -211,7 +211,6 @@ Foam::refinementSurfaces::refinementSurfaces
minLevel_
[
globalRegionI
]
=
iter
();
maxLevel_
[
globalRegionI
]
=
regionMaxLevel
[
surfI
][
iter
.
key
()];
perpendicularAngle_
[
globalRegionI
]
=
regionAngle
[
surfI
][
iter
.
key
()];
// Check validity
if
...
...
@@ -231,6 +230,13 @@ Foam::refinementSurfaces::refinementSurfaces
<<
exit
(
FatalError
);
}
}
forAllConstIter
(
Map
<
scalar
>
,
regionAngle
[
surfI
],
iter
)
{
label
globalRegionI
=
regionOffset_
[
surfI
]
+
iter
.
key
();
perpendicularAngle_
[
globalRegionI
]
=
regionAngle
[
surfI
][
iter
.
key
()];
}
//// Optional patch names and patch types
//forAllConstIter(HashTable<word>, regionPatchName[surfI], iter)
...
...
@@ -387,7 +393,6 @@ Foam::refinementSurfaces::refinementSurfaces
minLevel_
[
globalRegionI
]
=
iter
();
maxLevel_
[
globalRegionI
]
=
regionMaxLevel
[
surfI
][
iter
.
key
()];
perpendicularAngle_
[
globalRegionI
]
=
regionAngle
[
surfI
][
iter
.
key
()];
// Check validity
if
...
...
@@ -407,6 +412,12 @@ Foam::refinementSurfaces::refinementSurfaces
<<
exit
(
FatalError
);
}
}
forAllConstIter
(
Map
<
scalar
>
,
regionAngle
[
surfI
],
iter
)
{
label
globalRegionI
=
regionOffset_
[
surfI
]
+
iter
.
key
();
perpendicularAngle_
[
globalRegionI
]
=
regionAngle
[
surfI
][
iter
.
key
()];
}
}
}
...
...
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