Go to the documentation of this file.
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()
virtual ~topoSetSource()
Destructor.
static HashTable< string > * usageTablePtr_
A table of usage strings.
A class for handling words, derived from string.
bool eof() const
Return true if end of input seen.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
topoSetSource(const topoSetSource &)
Disallow default bitwise copy construct.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setAction
Enumeration defining the valid actions.
static const string illegalSource_
A class for handling character strings derived from std::string.
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool erase(const iterator &)
Erase a hashedEntry specified by given iterator.
General set of labels of mesh quantity (points, cells, faces).
A list of keyword definitions, which are a keyword followed by any number of values (e....
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
static autoPtr< topoSetSource > New(const word &topoSetSourceType, const polyMesh &mesh, const dictionary &dict)
Return a reference to the selected topoSetSource.
static const NamedEnum< setAction, 8 > actionNames_
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static Istream & checkIs(Istream &is)
Check state of stream.
bool insert(const Key &key)
Insert a new entry.
bool good() const
Return true if next operation might succeed.
defineTypeNameAndDebug(combustionModel, 0)
void addOrDelete(topoSet &set, const label cellI, const bool) const
Add (if bool) cellI to set or delete cellI from set.
Initialise the NamedEnum HashTable from the static list of names.