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
37535ded
Commit
37535ded
authored
Dec 20, 2010
by
Mark Olesen
Browse files
COMP: NamedEnum specialization within 'Foam' namespace only
parent
a3788fe8
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/utilities/postProcessing/miscellaneous/postChannel/channelIndex.C
View file @
37535ded
...
...
@@ -33,13 +33,20 @@ License
// * * * * * * * * * * * * * Static Member Data * * * * * * * * * * * * * * //
template
<>
const
char
*
Foam
::
NamedEnum
<
Foam
::
vector
::
components
,
3
>::
names
[]
=
namespace
Foam
{
"x"
,
"y"
,
"z"
};
template
<>
const
char
*
Foam
::
NamedEnum
<
Foam
::
vector
::
components
,
3
>::
names
[]
=
{
"x"
,
"y"
,
"z"
};
}
const
Foam
::
NamedEnum
<
Foam
::
vector
::
components
,
3
>
Foam
::
channelIndex
::
vectorComponentsNames_
;
...
...
@@ -283,10 +290,4 @@ Foam::channelIndex::channelIndex
}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
// ************************************************************************* //
applications/utilities/preProcessing/wallFunctionTable/tabulatedWallFunction/general/general.C
View file @
37535ded
...
...
@@ -41,16 +41,19 @@ namespace Foam
dictionary
);
}
}
template
<>
const
char
*
Foam
::
NamedEnum
<
Foam
::
tabulatedWallFunctions
::
general
::
interpolationType
,
1
>::
names
[]
=
template
<>
const
char
*
Foam
::
NamedEnum
<
Foam
::
tabulatedWallFunctions
::
general
::
interpolationType
,
1
>::
names
[]
=
{
"linear"
};
}
const
Foam
::
NamedEnum
<
Foam
::
tabulatedWallFunctions
::
general
::
interpolationType
,
1
>
Foam
::
tabulatedWallFunctions
::
general
::
interpolationTypeNames_
;
...
...
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