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