MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / cellTable

Class cellTable

src/conversion/meshTables/cellTable.H:78–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76\*---------------------------------------------------------------------------*/
77
78class cellTable
79:
80 public Map<dictionary>
81{
82 // Private data
83
84 static const char* const defaultMaterial_;
85
86
87 // Private Member Functions
88
89 //- Map from cellTable ID => zone number
90 Map<label> zoneMap() const;
91
92 //- A contiguous list of cellTable names
93 List<word> namesList() const;
94
95 //- Add required entries - MaterialType
96 void addDefaults();
97
98 void setEntry(const label id, const word& keyWord, const word& value);
99
100 //- Disallow default bitwise copy construct
101 cellTable(const cellTable&);
102
103
104public:
105
106 // Constructors
107
108 //- Construct null
109 cellTable();
110
111 //- Construct read from registry, name. instance
112 cellTable
113 (
114 const objectRegistry&,
115 const word& name = "cellTable",
116 const fileName& instance = "constant"
117 );
118
119
120 //- Destructor
121 ~cellTable();
122
123
124 // Member Functions
125
126 //- Append to the end, return index
127 label append(const dictionary&);
128
129 //- Return index corresponding to name
130 // returns -1 if not found
131 label findIndex(const word& name) const;
132
133 //- Return the name corresponding to id
134 // returns cellTable_ID if not otherwise defined
135 word name(const label id) const;

Callers 1

cellTable.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected