45 const dictionary& relaxationDict
48 dictionary(relaxationDict),
49 coeffDict_(subDict(
type +
"Coeffs"))
57 const dictionary& relaxationDict
60 word faceAreaWeightModelTypeName
62 relaxationDict.lookup(
"faceAreaWeightModel")
65 Info<<
nl <<
"Selecting faceAreaWeightModel "
66 << faceAreaWeightModelTypeName <<
endl;
68 dictionaryConstructorTable::iterator cstrIter =
69 dictionaryConstructorTablePtr_->find(faceAreaWeightModelTypeName);
71 if (cstrIter == dictionaryConstructorTablePtr_->end())
74 <<
"Unknown faceAreaWeightModel type "
75 << faceAreaWeightModelTypeName
77 <<
"Valid faceAreaWeightModel types are :" <<
endl
78 << dictionaryConstructorTablePtr_->toc()
82 return autoPtr<faceAreaWeightModel>(cstrIter()(relaxationDict));