47 labelToCell::typeName,
48 "\n Usage: labelToCell (i0 i1 .. in)\n\n" 49 " Select cells by cellLabel\n\n" 55 void Foam::labelToCell::combine(topoSet&
set,
const bool add)
const 59 addOrDelete(
set, labels_[
labelI], add);
86 labels_(dict.
lookup(
"value"))
118 Info<<
" Adding cells mentioned in dictionary" <<
" ..." <<
endl;
124 Info<<
" Removing cells mentioned in dictionary" <<
" ..." <<
endl;
#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.
static const labelSphericalTensor labelI(1)
Identity labelTensor.
setAction
Enumeration defining the valid actions.
labelToCell(const polyMesh &mesh, const labelList &labels)
Construct from components.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
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.
virtual ~labelToCell()
Destructor.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
Mesh consisting of general polyhedral cells.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.