ENH: searchableSurface: names for inside/outside status
This commit is contained in:
parent
876810dd0c
commit
01e3374e8c
@ -32,8 +32,24 @@ namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(searchableSurface, 0);
|
||||
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
|
||||
};
|
||||
|
||||
static const NamedEnum<volumeType, 4> volumeTypeNames;
|
||||
|
||||
private:
|
||||
|
||||
// Private data
|
||||
@ -89,7 +91,6 @@ private:
|
||||
|
||||
boundBox bounds_;
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construct
|
||||
|
Loading…
Reference in New Issue
Block a user