66 const word& modelType,
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Finite volume model abstract base class.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
static const word & fieldName()
Return the name of the field associated with a source term. Special.
Base class for finite volume sources.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
virtual labelUList cells() const =0
Return the cells that the source applies to.
virtual tmp< scalarField > source(const word &fieldName) const =0
Return the source value.
TypeName("fvSource")
Runtime type information.
virtual label nCells() const
Return the number of cells that the source applies to.
virtual ~fvSource()
Destructor.
fvSource(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from explicit source name and mesh.
void operator=(const fvSource &)=delete
Disallow default bitwise assignment.
virtual bool addsSupToField(const word &fieldName) const =0
Return true if the fvModel adds a source term to the given.
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.