ENH: searchableSurface: names for inside/outside status

This commit is contained in:
mattijs 2011-06-27 15:03:03 +01:00
parent 876810dd0c
commit 01e3374e8c
2 changed files with 18 additions and 1 deletions

View File

@ -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;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -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