Go to the documentation of this file.
41 #ifndef IsotropyModel_H
42 #define IsotropyModel_H
62 template<
class CloudType>
65 public CloudSubModelBase<CloudType>
137 #define makeIsotropyModel(CloudType) \
139 typedef Foam::CloudType::MPPICCloudType MPPICCloudType; \
140 defineNamedTemplateTypeNameAndDebug \
142 Foam::IsotropyModel<MPPICCloudType>, \
148 defineTemplateRunTimeSelectionTable \
150 IsotropyModel<MPPICCloudType>, \
156 #define makeIsotropyModelType(SS, CloudType) \
158 typedef Foam::CloudType::MPPICCloudType MPPICCloudType; \
159 defineNamedTemplateTypeNameAndDebug \
160 (Foam::IsotropyModels::SS<MPPICCloudType>, 0); \
162 Foam::IsotropyModel<MPPICCloudType>:: \
163 adddictionaryConstructorToTable \
164 <Foam::IsotropyModels::SS<MPPICCloudType>> \
165 add##SS##CloudType##MPPICCloudType##ConstructorToTable_;
IsotropyModel(CloudType &owner)
Construct null from owner.
A class for handling words, derived from Foam::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 a number of values (eg,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~IsotropyModel()
Destructor.
Macros to ease declaration of run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Base class for collisional return-to-isotropy models.
virtual void calculate()=0
Member Functions.
static autoPtr< IsotropyModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
TypeName("isotropyModel")
Runtime type information.