26 #include "frictionalStressModel.H"
33 const dictionary&
dict
36 word frictionalStressModelType(
dict.lookup(
"frictionalStressModel"));
38 Info<<
"Selecting frictionalStressModel "
39 << frictionalStressModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(frictionalStressModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"frictionalStressModel::New(const dictionary&) : " <<
endl
48 <<
" unknown frictionalStressModelType type "
49 << frictionalStressModelType
50 <<
", constructor not in hash table" <<
endl <<
endl
51 <<
" Valid frictionalStressModelType types are :" <<
endl;
52 Info<< dictionaryConstructorTablePtr_->sortedToc()
56 return autoPtr<frictionalStressModel>(cstrIter()(
dict));