Go to the documentation of this file.
36 #ifndef WallInteractionModel_H
37 #define WallInteractionModel_H
52 template<
class CloudType>
53 class WallInteractionModel
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_;
WallInteractionModel(CloudType &owner)
Construct null from owner.
A class for handling words, derived from string.
declareRunTimeSelectionTable(autoPtr, WallInteractionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
const dictionary & dict() const
Return the dictionary.
const CloudType & owner() const
Return the owner cloud object.
Templated base class for dsmc cloud.
Templated wall interaction model class.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
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.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
virtual void correct(typename CloudType::parcelType &p, const wallPolyPatch &wpp)=0
Apply wall correction.
const dictionary coeffDict_
The coefficients dictionary.
const dictionary & dict_
The cloud dictionary.
const dictionary & coeffDict() const
Return the coefficients dictionary.