Go to the documentation of this file.
41 #ifndef zoneIdentifier_H
42 #define zoneIdentifier_H
136 label
index() const noexcept
142 label&
index() noexcept
150 return physicalType_;
156 return physicalType_;
174 return inGroups_.found(
name);
zoneIdentifier()
Default construct. Uses name="", index=0.
A class for handling words, derived from Foam::string.
bool inGroup(const word &name) const
True if given name is in a group.
List< word > wordList
A List of words.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual ~zoneIdentifier()=default
Destructor.
word & name() noexcept
Modifiable zone name.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
label & index() noexcept
Modifiable index of this zone in the zone list.
zoneIdentifier & operator=(const zoneIdentifier &)=default
Copy assignment.
label index() const noexcept
The index of this zone in the zone list.
word & physicalType() noexcept
Modifiable (optional) type of the zone.
void write(Ostream &os) const
const word & name() const noexcept
The zone name.
Identifies a mesh zone by name and index, with optional physical type and group information.
const wordList & inGroups() const noexcept
The (optional) groups that the zone belongs to.
const word & physicalType() const noexcept
The (optional) type of the zone.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
wordList & inGroups() noexcept
Modifiable (optional) groups that the zone belongs to.