151 return address_.
empty();
157 return address_.
size();
167 void rename(
const string& value)
173 void rename(
string&& value)
175 name_ = std::move(value);
void clear()
Clear the list, i.e. set size to zero.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool empty() const noexcept
True if the UList is empty (ie, size() is zero)
void size(const label n)
Older name for setAddressableSize.
Specialized Ensight output with extra geometry file header.
Base class for ensightCells, ensightFaces, ensightOutputSurfaces.
void rename(const string &value)
Change the part name or description.
void incrAddressing(const label off)
Increase addressing by specified offset value.
bool empty() const noexcept
Processor-local test for any elements.
virtual ~ensightPart()=default
Destructor.
label operator[](const label i) const
Processor-local element id from linear-list of addresses.
labelList & addressing() noexcept
Element addressing.
label & index() noexcept
The index in a list (0-based)
label index() const noexcept
The index in a list (0-based)
void rename(string &&value)
Change the part name or description.
const string & name() const noexcept
The part name or description.
const labelList & addressing() const noexcept
Element addressing.
virtual void writeDict(Ostream &os, const bool full=false) const
label size() const noexcept
Processor-local size of all elements.
ensightPart()
Default construct. Index=0, identifier = -1.
void clear()
Clear element addressing.
label identifier() const noexcept
OpenFOAM identifier (patch, zone, etc), -1 when not in use.
void decrAddressing(const label off)
Decrease addressing by specified offset value.
TypeNameNoDebug("ensightPart")
Declare type-name, virtual type (without debug switch)
label & identifier() noexcept
OpenFOAM identifier (patch, zone, etc), -1 when not in use.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
#define TypeNameNoDebug(TypeNameString)
Declare a ClassNameNoDebug() with extra virtual type info.