43 "\n Usage: boxToFace ((minx miny minz) (maxx maxy maxz))\n\n" 44 " Select all face with faceCentre within bounding box\n\n" 50 void Foam::boxToFace::combine(topoSet&
set,
const bool add)
const 58 if (bbs_[i].contains(ctrs[facei]))
60 addOrDelete(
set, facei, add);
124 Info<<
" Adding faces with centre within boxes " << bbs_ <<
endl;
130 Info<<
" Removing faces with centre within boxes " << bbs_ <<
endl;
List< treeBoundBox > treeBoundBoxList
List of bounding boxes.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
#define forAll(list, i)
Loop across all elements in list.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
Macros for easy insertion into run-time selection tables.
boxToFace(const polyMesh &mesh, const treeBoundBoxList &bbs)
Construct from components.
Base class of a source for a topoSet.
vectorField pointField
pointField is a vectorField.
stressControl lookup("compactNormalStress") >> compactNormalStress
setAction
Enumeration defining the valid actions.
virtual ~boxToFace()
Destructor.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
General set of labels of mesh quantity (points, cells, faces).
Class with constructor to add usage string to table.
Standard boundBox + extra functionality for use in octree.
Mesh consisting of general polyhedral cells.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.