Go to the documentation of this file.
31 #ifndef DispersionModel_H
32 #define DispersionModel_H
48 template<
class CloudType>
51 public CloudSubModelBase<CloudType>
67 const dictionary&
dict,
82 const dictionary&
dict,
91 virtual autoPtr<DispersionModel<CloudType> >
clone()
const = 0;
99 static autoPtr<DispersionModel<CloudType> >
New
101 const dictionary&
dict,
127 #define makeDispersionModel(CloudType) \
129 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \
130 defineTemplateTypeNameAndDebug \
131 (Foam::DispersionModel<kinematicCloudType>, 0); \
135 defineTemplateRunTimeSelectionTable \
137 DispersionModel<kinematicCloudType>, \
142 #define makeDispersionModelType(SS, CloudType) \
144 typedef Foam::CloudType::kinematicCloudType kinematicCloudType; \
145 defineNamedTemplateTypeNameAndDebug(Foam::SS<kinematicCloudType>, 0); \
147 Foam::DispersionModel<kinematicCloudType>:: \
148 adddictionaryConstructorToTable<Foam::SS<kinematicCloudType> > \
149 add##SS##CloudType##kinematicCloudType##ConstructorToTable_;
DispersionModel(CloudType &owner)
Construct null from owner.
TypeName("dispersionModel")
Runtime type information.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
static autoPtr< DispersionModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
declareRunTimeSelectionTable(autoPtr, DispersionModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
virtual autoPtr< DispersionModel< CloudType > > clone() const =0
Construct and return a clone.