35 #ifndef patchIdentifier_H 36 #define patchIdentifier_H 50 class patchIdentifier;
51 Ostream&
operator<<(Ostream&,
const patchIdentifier&);
69 mutable word physicalType_;
124 return physicalType_;
130 return physicalType_;
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
const word & physicalType() const
Return the optional physical type of the patch.
patchIdentifier(const word &name, const label index, const word &physicalType=word::null, const wordList &inGroups=wordList())
Construct from components.
bool inGroup(const word &) const
Test if in group.
friend Ostream & operator<<(Ostream &, const patchIdentifier &)
A class for handling words, derived from string.
static const word null
An empty word.
const word & name() const
Return name.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual ~patchIdentifier()
Destructor.
List< word > wordList
A List of words.
Ostream & operator<<(Ostream &, const ensightPart &)
const wordList & inGroups() const
Return the optional groups patch belongs to.
void write(Ostream &) const
Write patchIdentifier as a dictionary.
label index() const
Return the index of this patch in the boundaryMesh.