mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: searchableSurface: names for inside/outside status
This commit is contained in:
@ -32,8 +32,24 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
defineTypeNameAndDebug(searchableSurface, 0);
|
defineTypeNameAndDebug(searchableSurface, 0);
|
||||||
defineRunTimeSelectionTable(searchableSurface, dict);
|
defineRunTimeSelectionTable(searchableSurface, dict);
|
||||||
|
|
||||||
|
template<>
|
||||||
|
const char* Foam::NamedEnum
|
||||||
|
<
|
||||||
|
Foam::searchableSurface::volumeType,
|
||||||
|
4
|
||||||
|
>::names[] =
|
||||||
|
{
|
||||||
|
"unknown",
|
||||||
|
"mixed",
|
||||||
|
"inside",
|
||||||
|
"outside"
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const Foam::NamedEnum<Foam::searchableSurface::volumeType, 4>
|
||||||
|
Foam::searchableSurface::volumeTypeNames;
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|||||||
@ -81,6 +81,8 @@ public:
|
|||||||
OUTSIDE = 3
|
OUTSIDE = 3
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const NamedEnum<volumeType, 4> volumeTypeNames;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
// Private data
|
// Private data
|
||||||
@ -89,7 +91,6 @@ private:
|
|||||||
|
|
||||||
boundBox bounds_;
|
boundBox bounds_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
// Private Member Functions
|
||||||
|
|
||||||
//- Disallow default bitwise copy construct
|
//- Disallow default bitwise copy construct
|
||||||
|
|||||||
Reference in New Issue
Block a user