36 #ifndef repatchPatch_H 37 #define repatchPatch_H 51 Ostream&
operator<<(Ostream&,
const repatchPatch&);
repatchPatch(const word &name, const label index, const label size, const label start, const word &physicalType=word::null)
Construct from components.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return name.
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.
autoPtr< repatchPatch > clone() const
Clone.
A class for handling words, derived from string.
static const word null
An empty word.
~repatchPatch()
Destructor.
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 void write(Ostream &) const
Write dictionary.
label index() const
Return the index of this patch in the boundaryMesh.
Ostream & operator<<(Ostream &, const ensightPart &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
friend Ostream & operator<<(Ostream &, const repatchPatch &)
Like polyPatch but without reference to mesh. patchIdentifier::index is not used. Used in repatchMesh...