53 <<
"Did not accurately locate the injection point "
54 <<
p <<
" within the mesh" <<
endl;
59 <<
"Did not find the injection point "
60 <<
p <<
" within the mesh"
73 if (!locations.
size())
return;
78 for (
label i = 1; i < locations.
size(); ++ i)
Base class for Lagrangian injections. Minimal wrapper over LagrangianSource. Implements some utility ...
LagrangianInjection(const word &name, const LagrangianMesh &mesh)
Construct from components.
void checkLocation(const LagrangianMesh::location, const point &) const
Check the location and error or warn as appropriate.
virtual ~LagrangianInjection()
Destructor.
virtual bool addsSupToField(const word &fieldName) const
Return true if the LagrangianModel adds a source term to the.
Class containing Lagrangian geometry and topology.
location
Enumeration for the locations of searched positions.
Base class for Lagrangian models.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void size(const label)
Override size to be inconsistent with allocated storage.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define WarningInFunction
Report a warning using Foam::Warning.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.