31 void Foam::unknownTypeFunction1::build()
const
33 if (!functionPtr_.autoPtr<Function1<Type>>::
valid())
35 functionPtr_.autoPtr<Function1<Type>>::set
82 return functionPtr_.autoPtr<
Function1<Type>>::operator*().integral(x1, x2);
95 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 dictionary &dict)
Selector.
const dictionary & scopedDict(const word &) const
Find and return a sub-dictionary by scoped lookup.
A class for managing temporary objects.
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.
bool valid(const PtrList< ModelType > &l)