80 iter().startLineNumber()
101 else if (!iter().stream().size())
125 iter().startLineNumber()
153 zoneGenerators::lookup::typeName,
154 iter().startLineNumber()
196 const word& zoneName,
197 const word& zonesName
202 if (
dict.found(zoneName) &&
dict.found(zonesName))
205 <<
"Both " << zoneName <<
" and " << zonesName <<
" specified"
209 if (
dict.found(zoneName))
211 if (
dict.isDict(zoneName))
239 zoneGenerators::lookup::typeName,
248 else if (
dict.found(zonesName))
263 if (zgList[i].moveUpdate_)
279 zgList[i].generate().store();
290 zgList[i].movePoints().store();
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
bool found(const word &) const
Search DictionaryBase for given keyword.
label lineNumber() const
Return current stream line number.
Template dictionary class which manages the storage associated with it.
void append(const word &key, zoneGenerator *)
Append an element at the end of the list.
autoPtr< zoneGenerator > set(const label, const word &key, zoneGenerator *)
Set element to pointer provided and return old element.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
static std::tuple< const Entries &... > entries(const Entries &...)
Construct an entries tuple from which to make a dictionary.
Mesh consisting of general polyhedral cells.
A keyword and a list of tokens is a 'primitiveEntry'. An primitiveEntry can be read,...
A class for handling words, derived from string.
void read(const dictionary &dict, const bool topLevel=false)
void generate()
Generate and register the zones.
void movePoints()
Update the zones following mesh point movement.
zoneGeneratorList(const polyMesh &mesh)
Construct from mesh.
const polyMesh & mesh_
Reference to the polyMesh.
bool moveUpdate() const
Return true if any of the zoneGenerators updates any of the zones.
Abstract base class for all zoneGenerators, providing runtime selection.
static autoPtr< zoneGenerator > New(const word &name, const polyMesh &mesh, const dictionary &dict)
Select constructed from name, mesh and dictionary.
A zoneGenerator which looks-up and returns a zoneSet containing point, and/or cell and/or faces zones...
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
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.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
points setSize(newPointi)