FieldFunction1< Function1Type > Class Template Reference
Inheritance diagram for FieldFunction1< Function1Type >:
[legend]
Collaboration diagram for FieldFunction1< Function1Type >:
[legend]

Public Types

typedef Function1Type::returnType Type
 

Public Member Functions

 FieldFunction1 (const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
 Construct from entry name and dictionary. More...
 
virtual tmp< Function1< Type > > clone () const
 Construct and return a clone. More...
 
virtual ~FieldFunction1 ()=default
 Destructor. More...
 
virtual tmp< Field< Type > > value (const scalarField &x) const
 Return value as a function of (scalar) independent variable. More...
 
virtual tmp< Field< Type > > integrate (const scalarField &x1, const scalarField &x2) const
 Integrate between two (scalar) values. More...
 

Detailed Description

template<class Function1Type>
class Foam::FieldFunction1< Function1Type >

Definition at line 292 of file Function1.H.

Member Typedef Documentation

◆ Type

typedef Function1Type::returnType Type

Definition at line 298 of file Function1.H.

Constructor & Destructor Documentation

◆ FieldFunction1()

FieldFunction1 ( const word entryName,
const dictionary dict,
const objectRegistry obrPtr = nullptr 
)

Construct from entry name and dictionary.

Definition at line 126 of file Function1.C.

◆ ~FieldFunction1()

virtual ~FieldFunction1 ( )
virtualdefault

Destructor.

Member Function Documentation

◆ clone()

Foam::tmp< Foam::Function1< typename Function1Type::returnType > > clone
virtual

Construct and return a clone.

Definition at line 139 of file Function1.C.

◆ value()

Foam::tmp< Foam::Field< typename Function1Type::returnType > > value ( const scalarField x) const
virtual

Return value as a function of (scalar) independent variable.

Definition at line 109 of file Function1.C.

References fld(), forAll, and x.

Here is the call graph for this function:

◆ integrate()

Foam::tmp< Foam::Field< typename Function1Type::returnType > > integrate ( const scalarField x1,
const scalarField x2 
) const
virtual

Integrate between two (scalar) values.

Definition at line 150 of file Function1.C.

References fld(), forAll, Foam::New(), and UList< T >::size().

Here is the call graph for this function:

The documentation for this class was generated from the following files: