38#ifndef WallInteractionModel_H
39#define WallInteractionModel_H
54template<
class CloudType>
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_;
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.
const dictionary & dict() const
Return the dictionary.
const CloudType & owner() const
Return the owner cloud object.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.