Go to the documentation of this file.
30 inline Foam::label Foam::ensightCells::add(
const elemType etype, label
id)
33 const label
index = offsets_[etype] + sizes_[etype]++;
45 return elemNames[etype];
63 return (offsets_[etype+1] - offsets_[etype]);
69 return labelRange(offsets_[etype], offsets_[etype+1] - offsets_[etype]);
82 return addressing().slice(
range(etype));
labelRange range(const elemType etype) const
Processor-local offset/size of element type.
const labelList & addressing() const noexcept
Element addressing.
label index() const noexcept
The index in a list (0-based)
static const char * key(const elemType etype)
The ensight element name for the specified 'Cell' type.
A range or interval of labels defined by a start and a size.
label total() const
The global size of all element types.
const labelList & cellIds() const
Processor-local cell ids of all elements.
void decrCellIds(const label off)
Decrease face ids by specified offset value.
label size() const noexcept
Processor-local size of all elements.
elemType
Supported ensight 'Cell' element types.
A 1D vector of objects of type <T> with a fixed length <N>.
void incrCellIds(const label off)
Increase cell ids by specified offset value.
const FixedList< label, nTypes > & totals() const
The global sizes for each element type.