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)
Construct null from owner.
virtual void correct(typename CloudType::parcelType &p)=0
Apply wall correction.
declareRunTimeSelectionTable(autoPtr, WallInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
const dictionary & dict() const
Return the dictionary.
DSMCCloud< dsmcParcel > CloudType
const CloudType & owner() const
Return the owner cloud object.
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.
virtual ~WallInteractionModel()
Destructor.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
TypeName("WallInteractionModel")
Runtime type information.
static autoPtr< WallInteractionModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
const dictionary & coeffDict() const
Return the coefficients dictionary.