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
54d02bd2
Commit
54d02bd2
authored
Dec 17, 2010
by
Mark Olesen
Browse files
COMP: specialize NamedEnum within namespace Foam
parent
19174873
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C
View file @
54d02bd2
...
...
@@ -58,13 +58,17 @@ enum ExtrudeMode
SURFACE
};
template
<>
const
char
*
NamedEnum
<
ExtrudeMode
,
3
>::
names
[]
=
namespace
Foam
{
"mesh"
,
"patch"
,
"surface"
};
template
<>
const
char
*
NamedEnum
<
ExtrudeMode
,
3
>::
names
[]
=
{
"mesh"
,
"patch"
,
"surface"
};
}
static
const
NamedEnum
<
ExtrudeMode
,
3
>
ExtrudeModeNames
;
...
...
@@ -370,7 +374,7 @@ int main(int argc, char *argv[])
// Layers per point
labelList
nPointLayers
(
extrudePatch
.
nPoints
(),
model
().
nLayers
());
// Displacement for first layer
vectorField
firstLayerDisp
=
displacement
*
model
().
sumThickness
(
1
);
vectorField
firstLayerDisp
(
displacement
*
model
().
sumThickness
(
1
)
)
;
// Expansion ratio not used.
scalarField
ratio
(
extrudePatch
.
nPoints
(),
1
.
0
);
...
...
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