Go to the documentation of this file.
33 template<
class CloudType>
37 particleStressModel_(NULL)
41 template<
class CloudType>
54 this->coeffDict().subDict(ParticleStressModel::typeName)
60 template<
class CloudType>
64 particleStressModel_(cm.particleStressModel_)
70 template<
class CloudType>
77 template<
class CloudType>
85 word modelType(
dict.lookup(typeName));
87 Info<<
"Selecting packing model " << modelType <<
endl;
89 typename dictionaryConstructorTable::iterator cstrIter =
90 dictionaryConstructorTablePtr_->find(modelType);
92 if (cstrIter == dictionaryConstructorTablePtr_->end())
95 <<
"Unknown packing model type " << modelType
96 <<
", constructor not in hash table" <<
nl <<
nl
97 <<
" Valid packing model types are:" <<
nl
98 << dictionaryConstructorTablePtr_->sortedToc()
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
Base class for cloud sub-models.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual ~PackingModel()
Destructor.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< PackingModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
PackingModel(CloudType &owner)
Construct null from owner.