Go to the documentation of this file.
80 public Map<dictionary>
116 const fileName& instance =
"constant"
173 const fileName& instance =
"constant"
181 const fileName& instance =
"constant"
void setName(const label, const word &)
Assign name.
A class for handling words, derived from string.
Map< word > selectType(const word &materialType) const
Return a Map of (id => name) for materialType.
A class for handling file names.
void writeDict(const objectRegistry &, const word &name="cellTable", const fileName &instance="constant") const
Write constant/cellTable for later reuse.
void addDefaults()
Add required entries - MaterialType.
void readDict(const objectRegistry &, const word &name="cellTable", const fileName &instance="constant")
Read constant/cellTable.
void operator=(const cellTable &)
Assignment.
A HashTable to objects of type <T> with a label key.
Map< word > names() const
Return a Map of (id => name)
Map< word > materialTypes() const
Return a Map of (id => fluid|solid|shell)
label append(const dictionary &)
Append to the end, return index.
Mesh consisting of general polyhedral cells.
Registry of regIOobjects.
Map< word > fluids() const
Return a Map of (id => name) for fluids.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
List< word > namesList() const
A contiguous list of cellTable names.
word name(const label id) const
Return the name corresponding to id.
The cellTable persistent data saved as a Map<dictionary>.
Map< word > solids() const
Return a Map of (id => name) for solids.
void setMaterial(const label, const word &)
Assign material Type.
A list of keyword definitions, which are a keyword followed by any number of values (e....
label findIndex(const word &name) const
Return index corresponding to name.
void combine(const dictionary &, labelList &tableIds)
Combine tableIds together.
Map< label > zoneMap() const
Map from cellTable ID => zone number.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
cellTable()
Construct null.
void setEntry(const label id, const word &keyWord, const word &value)
Map< word > shells() const
Return a Map of (id => name) for shells.
static const char *const defaultMaterial_
void addCellZones(polyMesh &, const labelList &tableIds) const
Classify tableIds into cellZones according to the cellTable.