36 #ifndef objectFunction1_H 37 #define objectFunction1_H 53 private autoPtr<Function1<scalar>>,
54 private autoPtr<Function1<vector>>,
55 private autoPtr<Function1<symmTensor>>,
56 private autoPtr<Function1<sphericalTensor>>,
57 private autoPtr<Function1<tensor>>
62 template<
class PrimitiveType>
70 template<
class PrimitiveType>
75 const type<PrimitiveType>&
83 template<
template<
class>
class ObjectType>
88 const word& objectName,
90 const bool error =
true 102 template<
class PrimitiveType>
103 PrimitiveType
value(
const scalar
x)
const;
106 template<
class PrimitiveType>
110 template<
class PrimitiveType>
111 PrimitiveType
integral(
const scalar x1,
const scalar x2)
const;
114 template<
class PrimitiveType>
Wrapper around Function1 that constructs a function of type associated with an object found in the da...
PrimitiveType value(const scalar x) const
Return value as a function of scalar x.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void operator=(const objectFunction1 &)=delete
Disallow default bitwise assignment.
Class to handle errors and exceptions in a simple, consistent stream-based manner.
A class for handling words, derived from string.
~objectFunction1()
Destructor.
word name(const complex &)
Return a string representation of a complex.
static autoPtr< objectFunction1 > New(const word &name, const dictionary &dict, const word &objectName, const objectRegistry &db, const bool error=true)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
PrimitiveType integral(const scalar x1, const scalar x2) const
Integrate between two scalars.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
Registry of regIOobjects.