Public Types | Public Member Functions | List of all members
FieldFunction1< Function1Type > Class Template Reference
Inheritance diagram for FieldFunction1< Function1Type >:
Inheritance graph
[legend]
Collaboration diagram for FieldFunction1< Function1Type >:
Collaboration graph
[legend]

Public Types

typedef Function1Type::returnType Type
 

Public Member Functions

 FieldFunction1 (const word &entryName, const dictionary &dict)
 Construct from entry name and dictionary. More...
 
virtual tmp< Function1< Type > > clone () const
 Construct and return a clone. More...
 
virtual ~FieldFunction1 ()
 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 176 of file Function1.H.

Member Typedef Documentation

◆ Type

typedef Function1Type::returnType Type

Definition at line 183 of file Function1.H.

Constructor & Destructor Documentation

◆ FieldFunction1()

FieldFunction1 ( const word entryName,
const dictionary dict 
)

Construct from entry name and dictionary.

Definition at line 105 of file Function1.C.

Referenced by FieldFunction1< Function1Type >::value().

Here is the caller graph for this function:

◆ ~FieldFunction1()

virtual ~FieldFunction1 ( )
inlinevirtual

Destructor.

Definition at line 196 of file Function1.H.

References Function1< Type >::integrate(), Function1< Type >::value(), and x.

Here is the call graph for this function:

Member Function Documentation

◆ clone()

Foam::tmp< Foam::Function1< typename Function1Type::returnType > > clone ( ) const
virtual

Construct and return a clone.

Definition at line 116 of file Function1.C.

References FieldFunction1< Function1Type >::integrate().

Here is the call graph for this function:

◆ 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 88 of file Function1.C.

References FieldFunction1< Function1Type >::FieldFunction1(), fld(), forAll, tmp< T >::ref(), and List< T >::size().

Referenced by Function1< Foam::Vector >::integrate().

Here is the call graph for this function:
Here is the caller 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 128 of file Function1.C.

References fld(), forAll, tmp< T >::ref(), and List< T >::size().

Referenced by FieldFunction1< Function1Type >::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

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