54 #ifndef solidMixtureProperties_H 55 #define solidMixtureProperties_H 123 inline label
size()
const 125 return components_.
size();
void size(const label n)
Older name for setAddressableSize.
scalar rho(const scalarField &Y) const
Calculate the mixture density [kg/m^3] as a function of.
const List< word > & components() const
Return the solidProperties names.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const PtrList< solidProperties > & properties() const
Return the solidProperties properties.
scalar Cp(const scalarField &Y) const
Calculate the mixture heat capacity [J/(kg K)] as a function of.
virtual autoPtr< solidMixtureProperties > clone() const
Construct and return a clone.
virtual ~solidMixtureProperties()=default
Destructor.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
PtrList< volScalarField > & Y
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
solidMixtureProperties(const dictionary &)
Construct from dictionary.
static autoPtr< solidMixtureProperties > New(const dictionary &)
Select construct from dictionary.
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
label size() const
Return the number of solids in the mixture.