35 #ifndef LagrangianFieldSourceBase_H
36 #define LagrangianFieldSourceBase_H
52 class LagrangianSubMesh;
53 class LagrangianModel;
54 class LagrangianSource;
55 class LagrangianInjection;
74 TypeName(
"LagrangianFieldSourceBase");
110 template<
class OtherFieldSourceType>
117 template<
class OtherType>
126 template<
class OtherType,
class OtherFieldSourceType>
134 template<
class OtherModelType>
141 template<
class OtherType>
150 template<
class OtherType>
Base class for Lagrangian source conditions.
const Time & time() const
Return time.
const word & internalName() const
Return internal field name.
word internalGroup() const
Return internal field group.
const regIOobject & internalIo_
Reference to the internal IO object.
LagrangianFieldSourceBase(const regIOobject &)
Construct from internal field.
const OtherFieldSourceType & fieldSourceCast(const LagrangianModel &) const
Cast a to the specified type. Handle errors.
const objectRegistry & db() const
Return local objectRegistry.
const OtherModelType & modelCast(const LagrangianModel &) const
Cast a model to the specified type. Handle errors.
virtual const dimensionSet & internalDimensions() const =0
Return internal dimensions reference.
virtual ~LagrangianFieldSourceBase()
Destructor.
tmp< LagrangianSubField< OtherType > > value(const word &name, const LagrangianSource &, const LagrangianSubMesh &) const
Lookup and return the value of another field source.
const LagrangianFieldSource< OtherType > & fieldSource(const word &name, const LagrangianModel &) const
Lookup and return another field source.
TypeName("LagrangianFieldSourceBase")
Runtime type information.
Base class for Lagrangian source conditions.
Base class for Lagrangian injections. Minimal wrapper over LagrangianSource. Implements some utility ...
Base class for Lagrangian models.
Base class for Lagrangian sources. Minimal wrapper over LagrangianModel that provides an interface to...
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Dimension set for the base types.
Registry of regIOobjects.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
A class for managing temporary objects.
A class for handling words, derived from string.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.