Go to the documentation of this file.
31 Foam::ensightFaces::add(
const elemType etype, label
id,
bool flip)
34 const label
index = offsets_[etype] + sizes_[etype]++;
40 flipMap_[
index] = flip;
51 return elemNames[etype];
69 return (offsets_[etype+1] - offsets_[etype]);
75 return labelRange(offsets_[etype], offsets_[etype+1] - offsets_[etype]);
88 return addressing().slice(
range(etype));
100 return (!flipMap_.empty() && flipMap_.size() == size());
114 return faceOrder_.slice(
range(etype));
const labelList & faceIds() const noexcept
Processor-local face ids of all elements.
const boolList & flipMap() const
Processor-local flip-map of all elements.
const labelList & addressing() const noexcept
Element addressing.
void decrFaceIds(const label off)
Decrease face ids by specified offset value.
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 'Face' type.
bool usesFlipMap() const
True for non-zero flip-map that spans the addresses.
labelRange range(const elemType etype) const
Processor-local offset/size of element type.
label total() const
The global size of all element types.
A range or interval of labels defined by a start and a size.
const labelList & faceOrder() const noexcept
label size() const noexcept
Processor-local size of all elements.
const FixedList< label, nTypes > & totals() const
The global sizes for each element type.
void incrFaceIds(const label off)
Increase face ids by specified offset value.
elemType
Supported ensight 'Face' element types.
A 1D vector of objects of type <T> with a fixed length <N>.