35 #ifndef InjectionModelList_H 36 #define InjectionModelList_H 50 template<
class CloudType>
51 class InjectionModelList
53 public PtrList<InjectionModel<CloudType>>
109 template<
class TrackCloudType>
112 TrackCloudType&
cloud,
113 typename CloudType::parcelType::trackingData& td
117 template<
class TrackCloudType>
120 TrackCloudType& cloud,
121 typename CloudType::parcelType::trackingData& td,
122 const scalar trackTime
virtual ~InjectionModelList()
Destructor.
void inject(TrackCloudType &cloud, typename CloudType::parcelType::trackingData &td)
Main injection loop.
scalar volumeToInject(const scalar time0, const scalar time1)
Volume of parcels to introduce relative to SOI.
DSMCCloud< dsmcParcel > CloudType
InjectionModelList(CloudType &owner)
Construct null from owner.
void updateMesh()
Set injector locations when mesh is updated.
void injectSteadyState(TrackCloudType &cloud, typename CloudType::parcelType::trackingData &td, const scalar trackTime)
Main injection loop - steady-state.
virtual autoPtr< InjectionModelList< CloudType > > clone() const
Construct and return a clone.
scalar timeStart() const
Return the minimum start-of-injection time.
scalar averageParcelMass()
Return the average parcel mass.
A cloud is a collection of lagrangian particles.
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.
scalar timeEnd() const
Return the maximum end-of-injection time.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...