mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fieldSources: Corrected for clang
This commit is contained in:
@ -34,28 +34,27 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(basicSource, 0);
|
defineTypeNameAndDebug(basicSource, 0);
|
||||||
defineRunTimeSelectionTable(basicSource, dictionary);
|
defineRunTimeSelectionTable(basicSource, dictionary);
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * Static Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
template<> const char* NamedEnum
|
||||||
|
<
|
||||||
|
basicSource::selectionModeType,
|
||||||
|
4
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
|
"points",
|
||||||
|
"cellSet",
|
||||||
|
"cellZone",
|
||||||
|
"all"
|
||||||
|
};
|
||||||
|
|
||||||
|
const NamedEnum<basicSource::selectionModeType, 4>
|
||||||
|
basicSource::selectionModeTypeNames_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * Static Member Functions * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
template<> const char* Foam::NamedEnum
|
|
||||||
<
|
|
||||||
Foam::basicSource::selectionModeType,
|
|
||||||
4
|
|
||||||
>::names[] =
|
|
||||||
{
|
|
||||||
"points",
|
|
||||||
"cellSet",
|
|
||||||
"cellZone",
|
|
||||||
"all"
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
const Foam::NamedEnum<Foam::basicSource::selectionModeType, 4>
|
|
||||||
Foam::basicSource::selectionModeTypeNames_;
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::basicSource::setSelection(const dictionary& dict)
|
void Foam::basicSource::setSelection(const dictionary& dict)
|
||||||
|
|||||||
@ -40,22 +40,24 @@ namespace Foam
|
|||||||
explicitSource,
|
explicitSource,
|
||||||
dictionary
|
dictionary
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * Static Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
template<> const char* NamedEnum
|
||||||
|
<
|
||||||
|
explicitSource::volumeModeType,
|
||||||
|
2
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
|
"absolute",
|
||||||
|
"specific"
|
||||||
|
};
|
||||||
|
|
||||||
|
const NamedEnum<explicitSource::volumeModeType, 2>
|
||||||
|
explicitSource::volumeModeTypeNames_;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<> const char* Foam::NamedEnum
|
|
||||||
<
|
|
||||||
Foam::explicitSource::volumeModeType,
|
|
||||||
2
|
|
||||||
>::names[] =
|
|
||||||
{
|
|
||||||
"absolute",
|
|
||||||
"specific"
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
const Foam::NamedEnum<Foam::explicitSource::volumeModeType, 2>
|
|
||||||
Foam::explicitSource::volumeModeTypeNames_;
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user