48 void Foam::faceToPoint::combine(topoSet& set,
const bool add)
const
51 faceSet loadedSet(
mesh_, setName_);
88 setName_(
dict.lookup(
"set")),
89 option_(faceActionNames_.
read(
dict.lookup(
"option")))
109 Info<<
" Adding points from face in faceSet " << setName_
116 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
static const NamedEnum< faceAction, 1 > faceActionNames_
Names of the valid options.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
bool read(const char *, int32_t &)
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)
void add(LagrangianPatchField< typename typeOfSum< Type1, Type2 >::type > &f, const LagrangianPatchField< Type1 > &f1, const LagrangianPatchField< Type2 > &f2)
treeBoundBox combine(const treeBoundBox &a, const treeBoundBox &b)