36 #ifndef WallInteractionModel_H 37 #define WallInteractionModel_H 52 template<
class CloudType>
53 class WallInteractionModel
58 const dictionary& dict_;
64 const dictionary coeffDict_;
79 const dictionary&
dict,
94 const dictionary& dict,
105 static autoPtr<WallInteractionModel<CloudType>>
New 107 const dictionary& dict,
121 const dictionary&
dict()
const;
140 #define makeWallInteractionModel(CloudType) \ 142 defineNamedTemplateTypeNameAndDebug(WallInteractionModel<CloudType>, 0); \ 144 defineTemplateRunTimeSelectionTable \ 146 WallInteractionModel<CloudType>, \ 151 #define makeWallInteractionModelType(SS, CloudType) \ 153 defineNamedTemplateTypeNameAndDebug(SS<CloudType>, 0); \ 155 WallInteractionModel<CloudType>:: \ 156 adddictionaryConstructorToTable<SS<CloudType>> \ 157 add##SS##CloudType##ConstructorToTable_; virtual void correct(typename CloudType::parcelType &p)=0
Apply wall correction.
DSMCCloud< dsmcParcel > CloudType
const dictionary & dict() const
Return the dictionary.
const CloudType & owner() const
Return the owner cloud object.
declareRunTimeSelectionTable(autoPtr, WallInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
WallInteractionModel(CloudType &owner)
Construct null from owner.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
TypeName("WallInteractionModel")
Runtime type information.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual ~WallInteractionModel()
Destructor.
Macros to ease declaration of run-time selection tables.
const dictionary & coeffDict() const
Return the coefficients dictionary.
static autoPtr< WallInteractionModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.