31 void Foam::unknownTypeFunction1::build(
const unitConversion& valueUnits)
const
33 if (!functionPtr_.autoPtr<Function1<Type>>::
valid())
35 functionPtr_.autoPtr<Function1<Type>>::set
57 build<Type>(valueUnits);
94 return functionPtr_.autoPtr<
Function1<Type>>::operator*().integral(x1, x2);
107 return functionPtr_.autoPtr<
Function1<Type>>::operator*().integral(x1, x2);
Run-time selectable general function of one variable.
static autoPtr< Function1< Type > > New(const word &name, const Function1s::unitConversions &units, const dictionary &dict)
Select from dictionary.
const dictionary & scopedDict(const word &) const
Find and return a sub-dictionary by scoped lookup.
A class for managing temporary objects.
Unit conversion structure. Contains the associated dimensions and the multiplier with which to conver...
Type integral(const scalar x1, const scalar x2) const
Integrate between two scalars.
Type value(const scalar x) const
Return value as a function of scalar x.
void setValueUnits(const unitConversion &) const
Set the value units.
bool valid(const PtrList< ModelType > &l)
const unitConversion unitAny