61 Foam::topoSetSource::actionNames_;
66 "Illegal topoSetSource name" 75 const word& topoSetSourceType,
80 wordConstructorTable::iterator cstrIter =
81 wordConstructorTablePtr_->find(topoSetSourceType);
83 if (cstrIter == wordConstructorTablePtr_->end())
86 <<
"Unknown topoSetSource type " << topoSetSourceType
88 <<
"Valid topoSetSource types : " <<
endl 89 << wordConstructorTablePtr_->sortedToc()
99 const word& topoSetSourceType,
104 istreamConstructorTable::iterator cstrIter =
105 istreamConstructorTablePtr_->find(topoSetSourceType);
107 if (cstrIter == istreamConstructorTablePtr_->end())
110 <<
"Unknown topoSetSource type " << topoSetSourceType
112 <<
"Valid topoSetSource types : " <<
endl 113 << istreamConstructorTablePtr_->sortedToc()
159 Foam::topoSetSource::topoSetSource(
const polyMesh& mesh)
bool eof() const
Return true if end of input seen.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool good() const
Return true if next operation might succeed.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static Istream & checkIs(Istream &is)
Check state of stream.
Initialise the NamedEnum HashTable from the static list of names.
void addOrDelete(topoSet &set, const label celli, const bool) const
Add (if bool) celli to set or delete celli from set.
A class for handling words, derived from string.
setAction
Enumeration defining the valid actions.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
General set of labels of mesh quantity (points, cells, faces).
static autoPtr< topoSetSource > New(const word &topoSetSourceType, const polyMesh &mesh, const dictionary &dict)
Return a reference to the selected topoSetSource.
virtual ~topoSetSource()
Destructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
A class for handling character strings derived from std::string.