Go to the documentation of this file.
30 inline void Foam::ensightFaces::add(
const elemType etype, label
id,
bool flip)
33 const label
index = offsets_[etype] + sizes_[etype]++;
39 flipMap_[
index] = flip;
48 return elemNames[etype];
66 return (offsets_[etype+1] - offsets_[etype]);
72 return labelRange(offsets_[etype], offsets_[etype+1] - offsets_[etype]);
85 return addressing()[
range(etype)];
97 return (!flipMap_.empty() && flipMap_.size() == size());
const boolList & flipMap() const
Processor-local flip-map of all elements.
const labelList & addressing() const
Element addressing.
void decrFaceIds(const label off)
Decrease face ids by specified offset value.
label index() const
The index in a list (0-based)
label size() const
Processor-local size of all elements.
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 & faceIds() const
Processor-local face ids 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>.