37 #ifndef InflowBoundaryModel_H
38 #define InflowBoundaryModel_H
53 template<
class CloudType>
136 virtual void inflow() = 0;
146 #define makeInflowBoundaryModel(CloudType) \
148 defineNamedTemplateTypeNameAndDebug(InflowBoundaryModel<CloudType>, 0); \
150 defineTemplateRunTimeSelectionTable \
152 InflowBoundaryModel<CloudType>, \
157 #define makeInflowBoundaryModelType(SS, CloudType) \
159 defineNamedTemplateTypeNameAndDebug(SS<CloudType>, 0); \
161 InflowBoundaryModel<CloudType>:: \
162 adddictionaryConstructorToTable<SS<CloudType>> \
163 add##SS##CloudType##ConstructorToTable_;
Templated base class for dsmc cloud.
Templated inflow boundary model class.
virtual void topoChange()
Update following mesh change.
TypeName("InflowBoundaryModel")
Runtime type information.
InflowBoundaryModel(CloudType &owner)
Construct null from owner.
virtual ~InflowBoundaryModel()
Destructor.
declareRunTimeSelectionTable(autoPtr, InflowBoundaryModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
const dictionary & coeffDict() const
Return the coefficients dictionary.
virtual void inflow()=0
Introduce particles.
const dictionary & dict() const
Return the owner cloud dictionary.
const CloudType & owner() const
Return const access the owner cloud object.
static autoPtr< InflowBoundaryModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
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.