39#ifndef InflowBoundaryModel_H
40#define InflowBoundaryModel_H
55template<
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.
TypeName("InflowBoundaryModel")
Runtime type information.
virtual void autoMap(const mapPolyMesh &)
Remap the particles to the correct cells following mesh change.
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.
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,...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.