Go to the documentation of this file.
36 const word& physicalType,
42 physicalType_(physicalType),
57 dict.readIfPresent(
"physicalType", physicalType_);
58 dict.readIfPresent(
"inGroups", inGroups_);
70 physicalType_(
p.physicalType_),
71 inGroups_(
p.inGroups_)
91 if (physicalType_.size())
109 os.
check(
"Ostream& operator<<(Ostream&, const patchIdentifier&)");
A class for handling words, derived from string.
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurence of given element and return index,.
patchIdentifier(const word &name, const label index, const word &physicalType=word::null, const wordList &inGroups=wordList())
Construct from components.
Identifies patch by name, patch index and physical type.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool inGroup(const word &) const
Test if in group.
virtual ~patchIdentifier()
Destructor.
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Various functions to operate on Lists.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void write(Ostream &) const
Write patchIdentifier as a dictionary.
word name(const complex &)
Return a string representation of a complex.