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