51 Foam::faceToPoint::faceActionNames_;
56 void Foam::faceToPoint::combine(topoSet& set,
const bool add)
const
59 faceSet loadedSet(
mesh_, setName_);
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.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
Macros for easy insertion into run-time selection tables.
Initialise the NamedEnum HashTable from the static list of names.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A topoSetSource to select points based on usage in faces.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
virtual ~faceToPoint()
Destructor.
faceToPoint(const polyMesh &mesh, const word &setName, const faceAction option)
Construct from components.
faceAction
Enumeration defining the valid options.
Mesh consisting of general polyhedral cells.
virtual const faceList & faces() const
Return raw faces.
Base class of a source for a topoSet.
void addOrDelete(topoSet &set, const label celli, const bool) const
Add (if bool) celli to set or delete celli from set.
setAction
Enumeration defining the valid actions.
General set of labels of mesh quantity (points, cells, faces).
A class for handling words, derived from string.
bool read(const char *, int32_t &)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
defineTypeNameAndDebug(combustionModel, 0)
treeBoundBox combine(const treeBoundBox &a, const treeBoundBox &b)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)