44 const word zoneType(
dict.lookup(
"type"));
46 dictionaryConstructorTable::iterator cstrIter =
47 dictionaryConstructorTablePtr_->find(zoneType);
49 if (cstrIter == dictionaryConstructorTablePtr_->end())
54 ) <<
"Unknown pointZone type "
55 << zoneType <<
nl <<
nl
56 <<
"Valid pointZone types are:" <<
nl
57 << dictionaryConstructorTablePtr_->sortedToc()
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< pointZone > New(const word &name, const dictionary &, const label index, const meshPointZones &)
Return a pointer to a new point zone.
A class for handling words, derived from string.
label index() const
Return the index of this zone in zone list.
const word & name() const
Return name.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define InfoInFunction
Report an information message using Foam::Info.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const complex &)
Return a string representation of a complex.