30 template<
class CloudType>
40 Info<<
" Selecting particle force " << forceType <<
endl;
42 typename dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(forceType);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 "ParticleForce<CloudType>::New" 55 ) <<
"Unknown particle force type " 57 <<
", constructor not in hash table" <<
nl <<
nl 58 <<
" Valid particle force types are:" <<
nl 59 << dictionaryConstructorTablePtr_->sortedToc()
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from string.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< ParticleForce< CloudType > > New(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType)
Selector.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Templated base class for dsmc cloud.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...