An enumeration wrapper for classification of a location as being inside/outside of a volume. More...
Public Types | |
enum | type : char { UNKNOWN = 0, INSIDE = 0x1, OUTSIDE = 0x2, MIXED = 0x3 } |
Public Member Functions | |
volumeType () | |
volumeType (type t) | |
volumeType (const word &key, const dictionary &dict, const type deflt) | |
volumeType (const int t) | |
operator type () const | |
const word & | str () const |
Static Public Attributes | |
static const Enum< volumeType::type > | names |
Friends | |
Istream & | operator>> (Istream &is, volumeType &vt) |
Ostream & | operator<< (Ostream &os, const volumeType &vt) |
An enumeration wrapper for classification of a location as being inside/outside of a volume.
Definition at line 56 of file volumeType.H.
enum type : char |
Enumerator | |
---|---|
UNKNOWN | Unknown state. |
INSIDE | A location inside the volume. |
OUTSIDE | A location outside the volume. |
MIXED | A location that is partly inside and outside. |
Definition at line 61 of file volumeType.H.
|
inline |
Definition at line 88 of file volumeType.H.
|
inline |
Definition at line 94 of file volumeType.H.
volumeType | ( | const word & | key, |
const dictionary & | dict, | ||
const type | deflt | ||
) |
Definition at line 43 of file volumeType.C.
|
inlineexplicit |
Definition at line 103 of file volumeType.H.
|
inline |
Definition at line 112 of file volumeType.H.
const Foam::word & str | ( | ) | const |
Definition at line 55 of file volumeType.C.
References volumeType::names.
Referenced by refinementSurfaces::refinementSurfaces(), and searchableSurfacesQueries::signedDistance().
|
friend |
|
friend |
|
static |
Definition at line 72 of file volumeType.H.
Referenced by distributedTriSurfaceMesh::distributedTriSurfaceMesh(), distributedTriSurfaceMesh::getVolumeType(), volumeCombineOp::operator()(), triSurfaceMesh::outsideVolumeType(), volumeType::str(), and distributedTriSurfaceMesh::writeStats().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.