37 #ifndef LagrangianSource_H
38 #define LagrangianSource_H
Class containing Lagrangian geometry and topology.
Base class for Lagrangian models.
const LagrangianMesh & mesh() const
The mesh.
static word fieldName(const AlphaRhoFieldType &alphaRhoField, const AlphaRhoFieldTypes &... alphaRhoFields)
Return the name of the field associated with a source term.
const word & name() const
The source name.
Base class for Lagrangian sources. Minimal wrapper over LagrangianModel that provides an interface to...
virtual tmp< LagrangianSubScalarField > source(const word &fieldName, const LagrangianSubMesh &subMesh) const =0
Return the source value.
virtual ~LagrangianSource()
Destructor.
TypeName("LagrangianSource")
Runtime type information.
LagrangianSource(const word &name, const LagrangianMesh &mesh)
Construct from components.
virtual bool addsSupToField(const word &fieldName) const =0
Return true if the LagrangianModel adds a source term to the.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
A class for managing temporary objects.
A class for handling words, derived from string.