mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
functionObjects: Corrected namespace for NamedEnum
Resolves bug-report https://bugs.openfoam.org/view.php?id=2901
This commit is contained in:
@ -41,15 +41,16 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
|
template<>
|
||||||
|
const char*
|
||||||
|
NamedEnum<functionObjects::streamLine::trackDirection, 3>::names[] =
|
||||||
|
{"forward", "backward", "both"};
|
||||||
|
|
||||||
namespace functionObjects
|
namespace functionObjects
|
||||||
{
|
{
|
||||||
defineTypeNameAndDebug(streamLine, 0);
|
defineTypeNameAndDebug(streamLine, 0);
|
||||||
addToRunTimeSelectionTable(functionObject, streamLine, dictionary);
|
addToRunTimeSelectionTable(functionObject, streamLine, dictionary);
|
||||||
|
|
||||||
template<>
|
|
||||||
const char* NamedEnum<streamLine::trackDirection, 3>::names[] =
|
|
||||||
{"forward", "backward", "both"};
|
|
||||||
|
|
||||||
const NamedEnum<streamLine::trackDirection, 3>
|
const NamedEnum<streamLine::trackDirection, 3>
|
||||||
streamLine::trackDirectionNames_;
|
streamLine::trackDirectionNames_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user