83 public Map<dictionary>
87 static const char*
const defaultMaterial_;
101 void setEntry(
const label
id,
const word& keyWord,
const word& value);
119 const fileName& instance =
"constant" 176 const fileName& instance =
"constant" 184 const fileName& instance =
"constant" label append(const dictionary &)
Append to the end, return index.
~cellTable()=default
Destructor.
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 a number of values (eg...
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 Foam::string.
Map< word > names() const
Return a Map of (id => name)
Map< word > materialTypes() const
Return a Map of (id => fluid|solid|shell)
A List of wordRe with additional matching capabilities.
Map< word > fluids() const
Return a Map of (id => name) for fluids.
The cellTable persistent data saved as a Map<dictionary>.
word name(const label id) const
Return the name corresponding to id.
void combine(const dictionary &mapDict, labelList &tableIds)
Combine tableIds together.
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.