32 const dictionary& dict
35 word frictionalStressModelType(dict.lookup(
"frictionalStressModel"));
37 Info<<
"Selecting frictionalStressModel "
38 << frictionalStressModelType <<
endl;
40 dictionaryConstructorTable::iterator cstrIter =
41 dictionaryConstructorTablePtr_->find(frictionalStressModelType);
43 if (cstrIter == dictionaryConstructorTablePtr_->end())
46 <<
"frictionalStressModel::New(const dictionary&) : " << endl
47 <<
" unknown frictionalStressModelType type "
48 << frictionalStressModelType
49 <<
", constructor not in hash table" << endl << endl
50 <<
" Valid frictionalStressModelType types are :" <<
endl;
51 Info<< dictionaryConstructorTablePtr_->sortedToc()
55 return autoPtr<frictionalStressModel>(cstrIter()(dict));