CloudDerivedField< Type >::Function< F > Class Template Reference

Class to store an evaluation function. More...

Inheritance diagram for CloudDerivedField< Type >::Function< F >:
Collaboration diagram for CloudDerivedField< Type >::Function< F >:

Public Member Functions

 Function (const F &f)
 Construct from a function. More...
 
virtual ~Function ()
 Destructor. More...
 
virtual tmp< LagrangianSubField< Type > > operator() (const LagrangianModelRef &model, const LagrangianSubMesh &subMesh) const
 Evaluate the field. More...
 
- Public Member Functions inherited from CloudDerivedField< Type >::Functor
 Functor ()
 Construct null. More...
 
virtual ~Functor ()
 Destructor. More...
 

Detailed Description

template<class Type>
template<class F>
class Foam::CloudDerivedField< Type >::Function< F >

Class to store an evaluation function.

Definition at line 68 of file CloudDerivedField.C.

Constructor & Destructor Documentation

◆ Function()

Function ( const F &  f)
inline

Construct from a function.

Definition at line 83 of file CloudDerivedField.C.

◆ ~Function()

virtual ~Function ( )
inlinevirtual

Destructor.

Definition at line 91 of file CloudDerivedField.C.

Member Function Documentation

◆ operator()()

virtual tmp<LagrangianSubField<Type> > operator() ( const LagrangianModelRef model,
const LagrangianSubMesh subMesh 
) const
inlinevirtual

Evaluate the field.

Implements CloudDerivedField< Type >::Functor.

Definition at line 98 of file CloudDerivedField.C.


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