Go to the documentation of this file.
48 #ifndef InjectionModel_H
49 #define InjectionModel_H
64 template<
class CloudType>
185 const scalar diameter,
192 const label parcelsAdded,
193 const scalar massAdded
248 inline const CloudType&
owner()
const;
251 inline CloudType&
owner();
260 virtual bool active()
const = 0;
278 virtual scalar
timeEnd()
const = 0;
292 template<
class TrackData>
293 void inject(TrackData& td);
302 const label nParcels,
312 const label nParcels,
314 typename CloudType::parcelType&
parcel
328 #define makeInjectionModel(CloudType) \
330 defineNamedTemplateTypeNameAndDebug(InjectionModel<CloudType>, 0); \
332 defineTemplateRunTimeSelectionTable(InjectionModel<CloudType>, dictionary);
335 #define makeInjectionModelType(SS, CloudType, ParcelType) \
337 defineNamedTemplateTypeNameAndDebug(SS<CloudType<ParcelType> >, 0); \
339 InjectionModel<CloudType<ParcelType> >:: \
340 adddictionaryConstructorToTable<SS<CloudType<ParcelType> > > \
341 add##SS##CloudType##ParcelType##ConstructorToTable_;
344 #define makeInjectionModelThermoType(SS, CloudType, ParcelType, ThermoType) \
346 defineNamedTemplateTypeNameAndDebug \
348 SS<CloudType<ParcelType<ThermoType> > >, \
352 InjectionModel<CloudType<ParcelType<ThermoType> > >:: \
353 adddictionaryConstructorToTable \
354 <SS<CloudType<ParcelType<ThermoType> > > > \
355 add##SS##CloudType##ParcelType##ThermoType##ConstructorToTable_;