Go to the documentation of this file.
36 #ifndef IsotropyModel_H
37 #define IsotropyModel_H
57 template<
class CloudType>
60 public CloudSubModelBase<CloudType>
132 #define makeIsotropyModel(CloudType) \
134 typedef Foam::CloudType::MPPICCloudType MPPICCloudType; \
135 defineNamedTemplateTypeNameAndDebug \
137 Foam::IsotropyModel<MPPICCloudType>, \
143 defineTemplateRunTimeSelectionTable \
145 IsotropyModel<MPPICCloudType>, \
151 #define makeIsotropyModelType(SS, CloudType) \
153 typedef Foam::CloudType::MPPICCloudType MPPICCloudType; \
154 defineNamedTemplateTypeNameAndDebug \
155 (Foam::IsotropyModels::SS<MPPICCloudType>, 0); \
157 Foam::IsotropyModel<MPPICCloudType>:: \
158 adddictionaryConstructorToTable \
159 <Foam::IsotropyModels::SS<MPPICCloudType> > \
160 add##SS##CloudType##MPPICCloudType##ConstructorToTable_;
IsotropyModel(CloudType &owner)
Construct null from owner.
A class for handling words, derived from string.
declareRunTimeSelectionTable(autoPtr, IsotropyModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
autoPtr< TimeScaleModel > timeScaleModel_
Time scale model.
virtual autoPtr< IsotropyModel< CloudType > > clone() const =0
Construct and return a clone.
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ~IsotropyModel()
Destructor.
Macros to ease declaration of run-time selection tables.
Base class for collisional return-to-isotropy models.
virtual void calculate()=0
Member Functions.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
static autoPtr< IsotropyModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
TypeName("isotropyModel")
Runtime type information.