35 #ifndef patchIdentifier_H 36 #define patchIdentifier_H 50 class patchIdentifier;
51 Ostream&
operator<<(Ostream&,
const patchIdentifier&);
const word & name() const
Return name.
word physicalType_
Optional physical type.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Identifies patch by name, patch index and physical type.
bool inGroup(const word &) const
Test if in group.
const wordList & inGroups() const
Return the optional groups patch belongs to.
wordList inGroups_
Optional groups patch belongs to.
patchIdentifier(const word &name, const label index, const word &physicalType=word::null, const wordList &inGroups=wordList())
Construct from components.
friend Ostream & operator<<(Ostream &, const patchIdentifier &)
A class for handling words, derived from string.
static const word null
An empty word.
label index_
Index of patch in boundary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const word & physicalType() const
Return the optional physical type of the patch.
virtual ~patchIdentifier()
Destructor.
void write(Ostream &) const
Write patchIdentifier as a dictionary.
List< word > wordList
A List of words.
label index() const
Return the index of this patch in the boundaryMesh.
Ostream & operator<<(Ostream &, const ensightPart &)