48 "\n Usage: boxToCell (minx miny minz) (maxx maxy maxz)\n\n" 49 " Select all cells with cellCentre within bounding box\n\n" 55 void Foam::boxToCell::combine(topoSet&
set,
const bool add)
const 63 if (bbs_[i].contains(ctrs[celli]))
65 addOrDelete(
set, celli, add);
131 Info<<
" Adding cells with center within boxes " << bbs_ <<
endl;
137 Info<<
" Removing cells with center within boxes " << bbs_ <<
endl;
List< treeBoundBox > treeBoundBoxList
List of bounding boxes.
boxToCell(const polyMesh &mesh, const treeBoundBoxList &bbs)
Construct from components.
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.
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 ~boxToCell()
Destructor.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
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.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.