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()
bool insert(const Key &key)
Insert a new entry.
bool erase(const iterator &)
Erase a hashedEntry specified by given iterator.
Initialise the NamedEnum HashTable from the static list of names.
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....
Mesh consisting of general polyhedral cells.
A class for handling character strings derived from std::string.
Base class of a source for a topoSet.
void addOrDelete(topoSet &set, const label celli, const bool) const
Add (if bool) celli to set or delete celli from set.
setAction
Enumeration defining the valid actions.
topoSetSource(const polyMesh &mesh)
Construct from components.
virtual ~topoSetSource()
Destructor.
static autoPtr< topoSetSource > New(const word &topoSetSourceType, const polyMesh &mesh, const dictionary &dict)
Return a reference to the selected topoSetSource.
const polyMesh & mesh() const
General set of labels of mesh quantity (points, cells, faces).
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
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.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
defineTypeNameAndDebug(combustionModel, 0)