49namespace diameterModels
134 const word& modelType,
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Class used for the read-construction of.
iNew(const populationBalanceModel &popBal)
autoPtr< breakupModel > operator()(Istream &is) const
Base class for breakup models which give a total breakup rate and a separate daughter size distributi...
const populationBalanceModel & popBal() const
Return reference to the populationBalanceModel.
autoPtr< daughterSizeDistributionModel > & dsdPtr()
Return reference to daughter size distribution pointer.
virtual void setBreakupRate(volScalarField &breakupRate, const label i)=0
Set total breakupRate.
autoPtr< daughterSizeDistributionModel > dsd_
Daughter size distribution model.
const autoPtr< daughterSizeDistributionModel > & dsdPtr() const
Return const-reference to daughter size distribution pointer.
virtual void correct()
Correct diameter independent expressions.
declareRunTimeSelectionTable(autoPtr, breakupModel, dictionary,(const populationBalanceModel &popBal, const dictionary &dict),(popBal, dict))
dictionary dict_
Dictionary.
const populationBalanceModel & popBal_
Reference to the populationBalanceModel.
autoPtr< breakupModel > clone() const
TypeName("breakupModel")
Runtime type information.
virtual ~breakupModel()=default
Destructor.
static autoPtr< breakupModel > New(const word &modelType, const populationBalanceModel &popBal, const dictionary &dict)
Class that solves the univariate population balance equation by means of a class method (also called ...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling words, derived from Foam::string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.