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

Function addDefaults

src/conversion/meshTables/cellTable.C:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66
67void Foam::cellTable::addDefaults()
68{
69 forAllIter(Map<dictionary>, *this, iter)
70 {
71 if (!iter().found("MaterialType"))
72 {
73 iter().add("MaterialType", defaultMaterial_);
74 }
75 }
76}
77
78
79void Foam::cellTable::setEntry

Callers 2

readDictFunction · 0.85
cellTable.CFile · 0.85

Calls 3

forAllIterFunction · 0.50
foundMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected