Go to the documentation of this file.
42 #ifndef IsotropyModel_H
43 #define IsotropyModel_H
63 template<
class CloudType>
138 #define makeIsotropyModel(CloudType) \
140 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \
141 defineNamedTemplateTypeNameAndDebug \
143 Foam::IsotropyModel<kinematicCloudType>, \
149 defineTemplateRunTimeSelectionTable \
151 IsotropyModel<kinematicCloudType>, \
157 #define makeIsotropyModelType(SS, CloudType) \
159 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \
160 defineNamedTemplateTypeNameAndDebug \
161 (Foam::IsotropyModels::SS<kinematicCloudType>, 0); \
163 Foam::IsotropyModel<kinematicCloudType>:: \
164 adddictionaryConstructorToTable \
165 <Foam::IsotropyModels::SS<kinematicCloudType>> \
166 add##SS##CloudType##kinematicCloudType##ConstructorToTable_;
171 #define makeIsotropyModelMPPIC(CloudType) \
173 typedef Foam::CloudType::MPPICCloudType MPPICCloudType; \
174 defineNamedTemplateTypeNameAndDebug \
175 (Foam::IsotropyModel<MPPICCloudType>, 0); \
179 defineTemplateRunTimeSelectionTable \
181 IsotropyModel<MPPICCloudType>, \
187 #define makeIsotropyModelTypeMPPIC(SS, CloudType) \
189 typedef Foam::CloudType::MPPICCloudType MPPICCloudType; \
190 defineNamedTemplateTypeNameAndDebug \
191 (Foam::IsotropyModels::SS<MPPICCloudType>, 0); \
193 Foam::IsotropyModel<MPPICCloudType>:: \
194 adddictionaryConstructorToTable \
195 <Foam::IsotropyModels::SS<MPPICCloudType>> \
196 add##SS##CloudType##MPPICCloudType##ConstructorToTable_;
IsotropyModel(CloudType &owner)
A class for handling words, derived from Foam::string.
Base class for cloud sub-models.
declareRunTimeSelectionTable(autoPtr, IsotropyModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
autoPtr< TimeScaleModel > timeScaleModel_
virtual autoPtr< IsotropyModel< CloudType > > clone() const =0
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.
Macros to ease declaration of run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Base class for collisional return-to-isotropy models.
virtual void calculate()=0
static autoPtr< IsotropyModel< CloudType > > New(const dictionary &dict, CloudType &owner)
TypeName("isotropyModel")