36 #ifndef WallInteractionModel_H
37 #define WallInteractionModel_H
52 template<
class CloudType>
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_;
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Templated wall interaction model class.
TypeName("WallInteractionModel")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, WallInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
const dictionary & coeffDict() const
Return the coefficients dictionary.
virtual ~WallInteractionModel()
Destructor.
static autoPtr< WallInteractionModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
virtual void correct(typename CloudType::parcelType &p)=0
Apply wall correction.
WallInteractionModel(CloudType &owner)
Construct null from owner.
const dictionary & dict() const
Return the dictionary.
const CloudType & owner() const
Return the owner cloud object.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Macros to ease declaration of run-time selection tables.