Go to the documentation of this file.
37 #ifndef DispersionModel_H
38 #define DispersionModel_H
54 template<
class CloudType>
57 public CloudSubModelBase<CloudType>
73 const dictionary&
dict,
88 const dictionary&
dict,
97 virtual autoPtr<DispersionModel<CloudType>>
clone()
const = 0;
105 static autoPtr<DispersionModel<CloudType>>
New
107 const dictionary&
dict,
133 #define makeDispersionModel(CloudType) \
135 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \
136 defineTemplateTypeNameAndDebug \
137 (Foam::DispersionModel<kinematicCloudType>, 0); \
141 defineTemplateRunTimeSelectionTable \
143 DispersionModel<kinematicCloudType>, \
148 #define makeDispersionModelType(SS, CloudType) \
150 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \
151 defineNamedTemplateTypeNameAndDebug(Foam::SS<kinematicCloudType>, 0); \
153 Foam::DispersionModel<kinematicCloudType>:: \
154 adddictionaryConstructorToTable<Foam::SS<kinematicCloudType>> \
155 add##SS##CloudType##kinematicCloudType##ConstructorToTable_;
DispersionModel(CloudType &owner)
Construct null from owner.
TypeName("dispersionModel")
Runtime type information.
virtual ~DispersionModel()
Destructor.
DSMCCloud< dsmcParcel > CloudType
virtual vector update(const scalar dt, const label celli, const vector &U, const vector &Uc, vector &UTurb, scalar &tTurb)=0
Update (disperse particles)
Vector< scalar > vector
A scalar version of the templated Vector.
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.
static autoPtr< DispersionModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
declareRunTimeSelectionTable(autoPtr, DispersionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
virtual autoPtr< DispersionModel< CloudType > > clone() const =0
Construct and return a clone.