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_; 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.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
TypeName("WallInteractionModel")
Runtime type information.
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.