57 Foam::topoSetSource::actionNames_;
62 "Illegal topoSetSource name" 71 const word& topoSetSourceType,
76 wordConstructorTable::iterator cstrIter =
77 wordConstructorTablePtr_->find(topoSetSourceType);
79 if (cstrIter == wordConstructorTablePtr_->end())
82 <<
"Unknown topoSetSource type " << topoSetSourceType
84 <<
"Valid topoSetSource types : " <<
endl 85 << wordConstructorTablePtr_->sortedToc()
topoSetSource(const polyMesh &mesh)
Construct from components.
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.
Ostream & endl(Ostream &os)
Add newline and flush 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.