33 namespace zoneGenerators
43 inline bool Foam::zoneGenerators::box::contains(
const point&
p)
const
47 if (boxes_[i].contains(
p))
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A bounding box defined in terms of the points at its extremities.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Mesh consisting of general polyhedral cells.
A class for handling words, derived from string.
Abstract base class for all zoneGenerators, providing runtime selection.
A zoneGenerator which selects points, cells or faces with centres either inside or outside a box or l...
virtual ~box()
Destructor.
virtual zoneSet generate() const
Generate and return the zoneSet.
box(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
A zoneGenerator which looks-up and returns a zoneSet containing point, and/or cell and/or faces zones...
Abstract zoneGenerator which selects points, cells or faces with centres either inside a volume.
virtual zoneSet generate() const =0
Generate and return the zoneSet.
Zone container returned by zoneGenerator::generate.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
defineTypeNameAndDebug(cylinderHeadPoints, 0)
addToRunTimeSelectionTable(zoneGenerator, cylinderHeadPoints, dictionary)
const dimensionSet & dimLength
vector point
Point is a vector.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.