virtual ~driftModel()=default
Destructor.
const populationBalanceModel & popBal() const
Return reference to the populationBalanceModel.
A class for handling words, derived from Foam::string.
autoPtr< driftModel > clone() const
static autoPtr< driftModel > New(const word &type, const populationBalanceModel &popBal, const dictionary &dict)
Class used for the read-construction of.
driftModel(const populationBalanceModel &popBal, const dictionary &dict)
virtual void correct()
Correct diameter independent expressions.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual void addToDriftRate(volScalarField &driftRate, const label i)=0
Add to driftRate.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
autoPtr< driftModel > operator()(Istream &is) const
declareRunTimeSelectionTable(autoPtr, driftModel, dictionary,(const populationBalanceModel &popBal, const dictionary &dict),(popBal, dict))
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 ...
iNew(const populationBalanceModel &popBal)
TypeName("driftModel")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Base class for drift models.
const populationBalanceModel & popBal_
Reference to the populationBalanceModel.