39 #ifndef unknownTypeFunction1_H
40 #define unknownTypeFunction1_H
62 #define PublicAutoPtrFunction1Type(Type, nullArg) \
63 public autoPtr<Function1<Type>>,
65 #undef InheritAutoPtrFunction1Type
83 const word topDictKeyword_;
86 mutable functionPtr functionPtr_;
124 Type
value(
const scalar
x)
const;
132 Type
integral(
const scalar x1,
const scalar x2)
const;
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A zero-sized class without any storage. Used, for example, in HashSet.
A class for managing temporary objects.
Unit conversion structure. Contains the associated dimensions and the multiplier with which to conver...
Wrapper around Function1 that constructs a function for an as yet unknown primitive type....
unknownTypeFunction1(const word &name, const unitConversion &xUnits, const dictionary &dict)
Construct from a name and a dictionary.
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.
~unknownTypeFunction1()
Destructor.
void setValueUnits(const unitConversion &) const
Set the value units.
void operator=(const unknownTypeFunction1 &)=delete
Disallow default bitwise assignment.
A class for handling words, derived from string.
Include the header files for all the primitive types that Fields are instantiated for.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
FOR_ALL_FIELD_TYPES(makeFieldSourceTypedef)