35 #ifndef InjectionModelList_H 36 #define InjectionModelList_H 50 template<
class CloudType>
51 class InjectionModelList
53 public PtrList<InjectionModel<CloudType>>
109 template<
class TrackData>
110 void inject(TrackData& td);
113 template<
class TrackData>
virtual ~InjectionModelList()
Destructor.
scalar volumeToInject(const scalar time0, const scalar time1)
Volume of parcels to introduce relative to SOI.
DSMCCloud< dsmcParcel > CloudType
scalar timeEnd() const
Return the maximum end-of-injection time.
InjectionModelList(CloudType &owner)
Construct null from owner.
void injectSteadyState(TrackData &td, const scalar trackTime)
Main injection loop - steady-state.
void updateMesh()
Set injector locations when mesh is updated.
scalar averageParcelMass()
Return the average parcel mass.
List of injection models.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void info(Ostream &os)
Write injection info to stream.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void inject(TrackData &td)
Main injection loop.
virtual autoPtr< InjectionModelList< CloudType > > clone() const
Construct and return a clone.
scalar timeStart() const
Return the minimum start-of-injection time.