Go to the documentation of this file.
61 boundaryToFace::typeName,
62 "\n Usage: boundaryToFace\n\n"
63 " Select all boundary faces\n\n"
69 void Foam::boundaryToFace::combine(topoSet& set,
const bool add)
const
73 label facei =
mesh().nInternalFaces();
123 Info<<
" Adding all boundary faces ..." <<
endl;
132 Info<<
" Removing all boundary faces ..." <<
endl;
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
label nFaces() const
Number of mesh faces.
Class with constructor to add usage string to table.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setAction
Enumeration defining the valid actions.
The topoSetFaceSource is a intermediate class for handling topoSet sources for selecting faces.
Create a new set and ADD elements to it.
const polyMesh & mesh() const
Reference to the mesh.
Mesh consisting of general polyhedral cells.
boundaryToFace(const polyMesh &mesh)
Construct from components.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
messageStream Info
Information stream (uses stdout - output is on the master only)
AccessType combine(const UList< T > &lists, AccessOp aop=accessOp< T >())
Combines sub-lists into a single list.
addNamedToRunTimeSelectionTable(topoSetCellSource, badQualityToCell, word, badQuality)
General set of labels of mesh quantity (points, cells, faces).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Macros for easy insertion into run-time selection tables.
Subtract elements from the set.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
void addOrDelete(topoSet &set, const label id, const bool add) const
Add or delete id from set. Add when 'add' is true.
defineTypeNameAndDebug(combustionModel, 0)