34 namespace zoneGenerators
71 boolList selectedPoints(mesh_.nPoints(),
false);
75 zoneSet zs(zoneGenerators_[i].generate());
83 selectedPoints[zonePoints[zpi]] =
true;
93 const labelList& cellFaces = mesh_.cells()[zoneCells[zci]];
97 const face&
f = mesh_.faces()[cellFaces[cFacei]];
101 selectedPoints[
f[fp]] =
true;
113 const face&
f = mesh_.faces()[zoneFaces[zfi]];
117 selectedPoints[
f[fp]] =
true;
123 moveUpdate_ = zoneGenerators_.moveUpdate();
130 indices(selectedPoints),
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
const word & name() const
Return name.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Named list of point indices representing a sub-set of the mesh faces.
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 converts the point, cell and face zones from a list of zoneGenerators into a fa...
A zoneGenerator which converts the point, cell and face zones from a list of zoneGenerators into a po...
virtual ~point()
Destructor.
virtual zoneSet generate() const
Generate and return the zoneSet.
point(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
Zone container returned by zoneGenerator::generate.
const faceZone & fZone() const
Return a reference to the faceZone if allocated.
const cellZone & cZone() const
Return a reference to the cellZone if allocated.
bool pValid() const
Return true if the pointZone is allocated.
const pointZone & pZone() const
Return a reference to the pointZone if allocated.
bool fValid() const
Return true if the faceZone is allocated.
bool cValid() const
Return true if the cellZone is allocated.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
defineTypeNameAndDebug(cylinderHeadPoints, 0)
addToRunTimeSelectionTable(zoneGenerator, cylinderHeadPoints, dictionary)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.