51 Foam::faceToPoint::faceActionNames_;
56 void Foam::faceToPoint::combine(
topoSet&
set,
const bool add)
const 59 faceSet loadedSet(mesh_, setName_);
64 const face&
f = mesh_.faces()[iter.key()];
68 addOrDelete(
set, f[fp], add);
96 setName_(dict.
lookup(
"set")),
97 option_(faceActionNames_.read(dict.
lookup(
"option")))
117 Info<<
" Adding points from face in faceSet " << setName_
124 Info<<
" Removing points from face in faceSet " << setName_
#define forAll(list, i)
Loop across all elements in list.
faceToPoint(const polyMesh &mesh, const word &setName, const faceAction option)
Construct from components.
A face is a list of labels corresponding to mesh vertices.
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Initialise the NamedEnum HashTable from the static list of names.
Macros for easy insertion into run-time selection tables.
Base class of a source for a topoSet.
faceAction
Enumeration defining the valid options.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
A class for handling words, derived from string.
virtual ~faceToPoint()
Destructor.
setAction
Enumeration defining the valid actions.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
General set of labels of mesh quantity (points, cells, faces).
Mesh consisting of general polyhedral cells.
treeBoundBox combine(const treeBoundBox &a, const treeBoundBox &b)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.