37 #ifndef InflowBoundaryModel_H 38 #define InflowBoundaryModel_H 53 template<
class CloudType>
54 class InflowBoundaryModel
59 const dictionary& dict_;
65 const dictionary coeffDict_;
80 const dictionary&
dict,
95 const dictionary& dict,
106 static autoPtr<InflowBoundaryModel<CloudType>>
New 108 const dictionary& dict,
122 inline const dictionary&
dict()
const;
125 inline const dictionary&
coeffDict()
const;
134 virtual void inflow() = 0;
144 #define makeInflowBoundaryModel(CloudType) \ 146 defineNamedTemplateTypeNameAndDebug(InflowBoundaryModel<CloudType>, 0); \ 148 defineTemplateRunTimeSelectionTable \ 150 InflowBoundaryModel<CloudType>, \ 155 #define makeInflowBoundaryModelType(SS, CloudType) \ 157 defineNamedTemplateTypeNameAndDebug(SS<CloudType>, 0); \ 159 InflowBoundaryModel<CloudType>:: \ 160 adddictionaryConstructorToTable<SS<CloudType>> \ 161 add##SS##CloudType##ConstructorToTable_; DSMCCloud< dsmcParcel > CloudType
const CloudType & owner() const
Return const access the owner cloud object.
const dictionary & coeffDict() const
Return the coefficients dictionary.
declareRunTimeSelectionTable(autoPtr, InflowBoundaryModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
virtual ~InflowBoundaryModel()
Destructor.
InflowBoundaryModel(CloudType &owner)
Construct null from owner.
virtual void inflow()=0
Introduce particles.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const dictionary & dict() const
Return the owner cloud dictionary.
virtual void autoMap(const polyTopoChangeMap &)
Remap the particles to the correct cells following mesh change.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
static autoPtr< InflowBoundaryModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
Macros to ease declaration of run-time selection tables.
TypeName("InflowBoundaryModel")
Runtime type information.