26 #include "radialModel.H" 33 const dictionary& dict
36 word radialModelType(dict.lookup(
"radialModel"));
38 Info<<
"Selecting radialModel " 39 << radialModelType <<
endl;
41 dictionaryConstructorTable::iterator cstrIter =
42 dictionaryConstructorTablePtr_->find(radialModelType);
44 if (cstrIter == dictionaryConstructorTablePtr_->end())
47 <<
"radialModel::New(const dictionary&) : " << endl
48 <<
" unknown radialModelType type " 50 <<
", constructor not in hash table" << endl << endl
51 <<
" Valid radialModelType types are :" <<
endl;
52 Info<< dictionaryConstructorTablePtr_->sortedToc()
56 return autoPtr<radialModel>(cstrIter()(
dict));
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)
static autoPtr< radialModel > New(const dictionary &dict)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...