positionLagrangianVectorFieldSource Class Reference

This source condition provides a vector corresponding to the position. More...

Inheritance diagram for positionLagrangianVectorFieldSource:
Collaboration diagram for positionLagrangianVectorFieldSource:

Public Member Functions

 TypeName ("position")
 Runtime type information. More...
 
virtual autoPtr< LagrangianVectorFieldSource > clone (const regIOobject &iIo) const
 Construct and return a clone setting the internal field reference. More...
 
virtual ~positionLagrangianVectorFieldSource ()
 Destructor. More...
 
virtual tmp< LagrangianSubVectorFieldvalue (const LagrangianInjection &, const LagrangianSubMesh &) const
 Return the value for an instantaneous injection. More...
 

Detailed Description

This source condition provides a vector corresponding to the position.

Source files

Definition at line 48 of file positionLagrangianVectorFieldSource.H.

Constructor & Destructor Documentation

◆ ~positionLagrangianVectorFieldSource()

Destructor.

Definition at line 31 of file positionLagrangianVectorFieldSource.C.

Member Function Documentation

◆ TypeName()

TypeName ( "position"  )

Runtime type information.

◆ clone()

virtual autoPtr<LagrangianVectorFieldSource> clone ( const regIOobject iIo) const
inlinevirtual

Construct and return a clone setting the internal field reference.

Definition at line 64 of file positionLagrangianVectorFieldSource.H.

◆ value()

Foam::tmp< Foam::LagrangianSubVectorField > value ( const LagrangianInjection injection,
const LagrangianSubMesh subMesh 
) const
virtual

Return the value for an instantaneous injection.

Definition at line 39 of file positionLagrangianVectorFieldSource.C.

References LagrangianSubMesh::mesh(), and LagrangianMesh::position().

Here is the call graph for this function:

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