35 #ifndef patchIdentifier_H
36 #define patchIdentifier_H
50 class patchIdentifier;
51 Ostream&
operator<<(Ostream&,
const patchIdentifier&);
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
void write(Ostream &) const
Write patchIdentifier as a dictionary.
label index() const
Return the index of this patch in the boundaryMesh.
bool inGroup(const word &) const
Test if in group.
virtual ~patchIdentifier()
Destructor.
friend Ostream & operator<<(Ostream &, const patchIdentifier &)
const wordList & inGroups() const
Return the optional groups patch belongs to.
patchIdentifier(const word &name, const label index, const word &physicalType=word::null, const wordList &inGroups=wordList())
Construct from components.
const word & physicalType() const
Return the optional physical type of the patch.
wordList inGroups_
Optional groups patch belongs to.
label index_
Index of patch in boundary.
const word & name() const
Return name.
word physicalType_
Optional physical type.
A class for handling words, derived from string.
static const word null
An empty word.
List< word > wordList
A List of words.
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 & operator<<(Ostream &os, const fvConstraints &constraints)