41 void Foam::boxToPoint::combine(topoSet& set,
const bool add)
const
49 if (bbs_[i].contains(pts[pointi]))
82 :
dict.lookup(
"boxes")
103 Info<<
" Adding points that are within boxes " << bbs_ <<
" ..."
110 Info<<
" Removing points that are within boxes " << bbs_ <<
" ..."
#define forAll(list, i)
Loop across all elements in list.
Macros for easy insertion into run-time selection tables.
A topoSetSource to select points based on whether they are inside box.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
boxToPoint(const polyMesh &mesh, const treeBoundBoxList &bb)
Construct from components.
virtual ~boxToPoint()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
virtual const pointField & points() const
Return raw points.
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).
Standard boundBox + extra functionality for use in octree.
A class for handling words, derived from string.
addToRunTimeSelectionTable(polyPatch, mergedCyclicPolyPatch, word)
Ostream & endl(Ostream &os)
Add newline and flush stream.
vectorField pointField
pointField is a vectorField.
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)