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_;
A list of keyword definitions, which are a keyword followed by any number of values (e...
IsotropyModel(CloudType &owner)
Construct null from owner.
virtual void calculate()=0
Member Functions.
virtual autoPtr< IsotropyModel< CloudType > > clone() const =0
Construct and return a clone.
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
declareRunTimeSelectionTable(autoPtr, IsotropyModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
virtual ~IsotropyModel()
Destructor.
A class for handling words, derived from string.
autoPtr< TimeScaleModel > timeScaleModel_
Time scale model.
Base class for collisional return-to-isotropy models.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
TypeName("isotropyModel")
Runtime type information.
static autoPtr< IsotropyModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
Templated base class for dsmc cloud.