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;
133 const wallPolyPatch& wpp
144 #define makeWallInteractionModel(CloudType) \ 146 defineNamedTemplateTypeNameAndDebug(WallInteractionModel<CloudType>, 0); \ 148 defineTemplateRunTimeSelectionTable \ 150 WallInteractionModel<CloudType>, \ 155 #define makeWallInteractionModelType(SS, CloudType) \ 157 defineNamedTemplateTypeNameAndDebug(SS<CloudType>, 0); \ 159 WallInteractionModel<CloudType>:: \ 160 adddictionaryConstructorToTable<SS<CloudType>> \ 161 add##SS##CloudType##ConstructorToTable_; DSMCCloud< dsmcParcel > CloudType
const dictionary & coeffDict() const
Return the coefficients dictionary.
declareRunTimeSelectionTable(autoPtr, WallInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
virtual void correct(typename CloudType::parcelType &p, const wallPolyPatch &wpp)=0
Apply wall correction.
WallInteractionModel(CloudType &owner)
Construct null from owner.
const dictionary & dict() const
Return the dictionary.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
TypeName("WallInteractionModel")
Runtime type information.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const CloudType & owner() const
Return the owner cloud object.
virtual ~WallInteractionModel()
Destructor.
Macros to ease declaration of run-time selection tables.
static autoPtr< WallInteractionModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.