Go to the documentation of this file.
39 #ifndef InflowBoundaryModel_H
40 #define InflowBoundaryModel_H
55 template<
class CloudType>
56 class InflowBoundaryModel
61 const dictionary& dict_;
67 const dictionary coeffDict_;
82 const dictionary&
dict,
97 const dictionary&
dict,
108 static autoPtr<InflowBoundaryModel<CloudType>>
New
110 const dictionary&
dict,
124 inline const dictionary&
dict()
const;
127 inline const dictionary&
coeffDict()
const;
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_;
InflowBoundaryModel(CloudType &owner)
Construct null from owner.
const dictionary & coeffDict() const
Return the coefficients dictionary.
virtual ~InflowBoundaryModel()
Destructor.
const CloudType & owner() const
Return const access the owner cloud object.
TypeName("InflowBoundaryModel")
Runtime type information.
const dictionary & dict() const
Return the owner cloud dictionary.
DSMCCloud< dsmcParcel > CloudType
static autoPtr< InflowBoundaryModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
declareRunTimeSelectionTable(autoPtr, InflowBoundaryModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
virtual void inflow()=0
Introduce particles.
Macros to ease declaration of run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual void autoMap(const mapPolyMesh &)
Remap the particles to the correct cells following mesh change.