58 #ifndef totalPressureVelocityLagrangianVectorFieldSource_H
59 #define totalPressureVelocityLagrangianVectorFieldSource_H
75 class totalPressureVelocityLagrangianVectorFieldSource
77 public LagrangianVectorFieldSource,
78 private cloudLagrangianFieldSource,
79 private Function1LagrangianFieldSource,
80 private totalPressureVelocityMagnitudeLagrangianScalarFieldSource
87 const autoPtr<Function1<vector>> direction_;
138 using LagrangianVectorFieldSource::value;
tmp< LagrangianSubField< Type > > value(const LagrangianSubMesh &subMesh, const Function1< Type > &function) const
Return the source value.
Base class for Lagrangian injections. Minimal wrapper over LagrangianSource. Implements some utility ...
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class for managing temporary objects.
This source condition provides a velocity in a given direction with a magnitude calculated from the d...
virtual tmp< LagrangianSubVectorField > value(const LagrangianInjection &, const LagrangianSubMesh &) const
Return the value for an instantaneous injection.
virtual void write(Ostream &) const
Write.
virtual autoPtr< LagrangianVectorFieldSource > clone(const regIOobject &iIo) const
Construct and return a clone setting the internal field reference.
TypeName("totalPressureVelocity")
Runtime type information.
virtual ~totalPressureVelocityLagrangianVectorFieldSource()
Destructor.
totalPressureVelocityLagrangianVectorFieldSource(const regIOobject &, const dictionary &dict)
Construct from internal field and dictionary.