41 const word& physicalType
58 size_(
dict.
get<label>(
"nFaces")),
59 start_(
dict.
get<label>(
"startFace"))
67 patchIdentifier::index() = index;
76 os.writeEntry(
"nFaces", size_);
77 os.writeEntry(
"startFace", start_);
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
void write(Ostream &os) const
Write (physicalType, inGroups) dictionary entries (without surrounding braces)
Like polyPatch but without reference to mesh. Used in boundaryMesh to hold data on patches...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Identifies a patch by name and index, with optional physical type and group information.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
boundaryPatch(const word &name, const label index, const label size, const label start, const word &physicalType=word::null)
Construct from components.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
virtual void write(Ostream &os) const
Write dictionary entries (without surrounding braces)
virtual bool write(const bool valid=true) const
Write using setting from DB.