37 #ifndef ejectionModel_H 38 #define ejectionModel_H 48 namespace regionModels
50 namespace surfaceFilmModels
123 const word& mdoelType
virtual ~ejectionModel()
Destructor.
static autoPtr< ejectionModel > New(surfaceFilmRegionModel &film, const dictionary &dict, const word &mdoelType)
Return a reference to the selected ejection model.
void operator=(const ejectionModel &)=delete
Disallow default bitwise assignment.
Base class for surface film models.
Base class for surface film sub-models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Base class for film ejection models, handling mass transfer from the film.
const dictionary & dict() const
Return const access to the cloud dictionary.
const surfaceFilmRegionModel & film() const
Return const access to the film surface film model.
A class for handling words, derived from string.
virtual scalar ejectedMassTotal() const
Return the total mass ejected.
void addToEjectedMass(const scalar dMass)
Add to ejected mass.
const word & modelType() const
Return const access to the sub-model type.
declareRunTimeSelectionTable(autoPtr, ejectionModel, dictionary,(surfaceFilmRegionModel &film, const dictionary &dict),(film, dict))
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
TypeName("ejectionModel")
Runtime type information.
virtual void patchEjectedMassTotals(scalarField &patchMasses) const
Accumulate the total mass ejected for the patches into the.
ejectionModel(surfaceFilmRegionModel &film)
Construct null.