CloudDerivedField< Type >::Method< C > Class Template Reference

Class to store an evaluation method. More...

Inheritance diagram for CloudDerivedField< Type >::Method< C >:
Collaboration diagram for CloudDerivedField< Type >::Method< C >:

Public Member Functions

 Method (const C &c, tmp< LagrangianSubField< Type >>(C::*m)(const LagrangianModelRef &, const LagrangianSubMesh &) const)
 Construct from a class and a method. More...
 
virtual ~Method ()
 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 C>
class Foam::CloudDerivedField< Type >::Method< C >

Class to store an evaluation method.

Definition at line 115 of file CloudDerivedField.C.

Constructor & Destructor Documentation

◆ Method()

Method ( const C c,
tmp< LagrangianSubField< Type >>(C::*)(const LagrangianModelRef &, const LagrangianSubMesh &) const  m 
)
inline

Construct from a class and a method.

Definition at line 137 of file CloudDerivedField.C.

◆ ~Method()

virtual ~Method ( )
inlinevirtual

Destructor.

Definition at line 154 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 161 of file CloudDerivedField.C.


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