Go to the documentation of this file.
38 #ifndef WallInteractionModel_H
39 #define WallInteractionModel_H
54 template<
class CloudType>
55 class WallInteractionModel
63 const dictionary& dict_;
66 const dictionary coeffDict_;
81 const dictionary&
dict,
96 const dictionary&
dict,
107 static autoPtr<WallInteractionModel<CloudType>>
New
109 const dictionary&
dict,
123 const dictionary&
dict()
const;
142 #define makeWallInteractionModel(CloudType) \
144 defineNamedTemplateTypeNameAndDebug(WallInteractionModel<CloudType>, 0); \
146 defineTemplateRunTimeSelectionTable \
148 WallInteractionModel<CloudType>, \
153 #define makeWallInteractionModelType(SS, CloudType) \
155 defineNamedTemplateTypeNameAndDebug(SS<CloudType>, 0); \
157 WallInteractionModel<CloudType>:: \
158 adddictionaryConstructorToTable<SS<CloudType>> \
159 add##SS##CloudType##ConstructorToTable_;
WallInteractionModel(CloudType &owner)
virtual void correct(typename CloudType::parcelType &p)=0
declareRunTimeSelectionTable(autoPtr, WallInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
const dictionary & dict() const
DSMCCloud< dsmcParcel > CloudType
const CloudType & owner() const
Macros to ease declaration of run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
virtual ~WallInteractionModel()
TypeName("WallInteractionModel")
static autoPtr< WallInteractionModel< CloudType > > New(const dictionary &dict, CloudType &owner)
const dictionary & coeffDict() const