mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: NamedEnum specialization within 'Foam' namespace only
This commit is contained in:
@ -33,13 +33,20 @@ License
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * Static Member Data * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Static Member Data * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<>
|
namespace Foam
|
||||||
const char* Foam::NamedEnum<Foam::vector::components, 3>::names[] =
|
|
||||||
{
|
{
|
||||||
"x",
|
template<>
|
||||||
"y",
|
const char* Foam::NamedEnum
|
||||||
"z"
|
<
|
||||||
};
|
Foam::vector::components,
|
||||||
|
3
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
|
"x",
|
||||||
|
"y",
|
||||||
|
"z"
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
const Foam::NamedEnum<Foam::vector::components, 3>
|
const Foam::NamedEnum<Foam::vector::components, 3>
|
||||||
Foam::channelIndex::vectorComponentsNames_;
|
Foam::channelIndex::vectorComponentsNames_;
|
||||||
@ -283,10 +290,4 @@ Foam::channelIndex::channelIndex
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -41,16 +41,19 @@ namespace Foam
|
|||||||
dictionary
|
dictionary
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
const char*
|
const char* Foam::NamedEnum
|
||||||
Foam::NamedEnum<Foam::tabulatedWallFunctions::general::interpolationType, 1>::
|
<
|
||||||
names[] =
|
Foam::tabulatedWallFunctions::general::interpolationType,
|
||||||
|
1
|
||||||
|
>::names[] =
|
||||||
{
|
{
|
||||||
"linear"
|
"linear"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
const
|
const
|
||||||
Foam::NamedEnum<Foam::tabulatedWallFunctions::general::interpolationType, 1>
|
Foam::NamedEnum<Foam::tabulatedWallFunctions::general::interpolationType, 1>
|
||||||
Foam::tabulatedWallFunctions::general::interpolationTypeNames_;
|
Foam::tabulatedWallFunctions::general::interpolationTypeNames_;
|
||||||
|
|||||||
Reference in New Issue
Block a user