37 #ifndef nucleationModel_H 38 #define nucleationModel_H 46 namespace diameterModels
iNew(const populationBalanceModel &popBal)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Class that solves the univariate population balance equation by means of a class method (also called ...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
static autoPtr< nucleationModel > New(const word &type, const populationBalanceModel &popBal, const dictionary &dict)
const populationBalanceModel & popBal_
Reference to the populationBalanceModel.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Base class for nucleation models.
autoPtr< nucleationModel > clone() const
A class for handling words, derived from Foam::string.
virtual void addToNucleationRate(volScalarField &nucleationRate, const label i)=0
Add to nucleationRate.
Class used for the read-construction of.
declareRunTimeSelectionTable(autoPtr, nucleationModel, dictionary,(const populationBalanceModel &popBal, const dictionary &dict),(popBal, dict))
virtual ~nucleationModel()=default
Destructor.
nucleationModel(const populationBalanceModel &popBal, const dictionary &dict)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual void correct()
Correct diameter independent expressions.
const populationBalanceModel & popBal() const
Return reference to the populationBalanceModel.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
autoPtr< nucleationModel > operator()(Istream &is) const
TypeName("nucleationModel")
Runtime type information.