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