Go to the documentation of this file.
54 faceToPoint::typeName,
55 "\n Usage: faceToPoint <faceSet> all\n\n"
56 " Select all points of faces in the faceSet\n\n"
108 option_(faceActionNames_.read(
dict.
lookup(
"option")))
120 setName_(checkIs(is)),
121 option_(faceActionNames_.read(checkIs(is)))
141 Info<<
" Adding points from face in faceSet " << setName_
148 Info<<
" Removing points from face in faceSet " << setName_
void combine(topoSet &set, const bool add) const
Depending on face to cell option add to or delete from cellSet.
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
faceAction
Enumeration defining the valid options.
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
faceToPoint(const polyMesh &mesh, const word &setName, const faceAction option)
Construct from components.
Class with constructor to add usage string to table.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
static addToUsageTable usage_
Add usage string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
setAction
Enumeration defining the valid actions.
Mesh consisting of general polyhedral cells.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
virtual ~faceToPoint()
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
General set of labels of mesh quantity (points, cells, faces).
word setName_
Name of set to use.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
A list of keyword definitions, which are a keyword followed by any number of values (e....
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.
Base class of a source for a topoSet.
virtual const faceList & faces() const
Return raw faces.
static const NamedEnum< faceAction, 1 > faceActionNames_
A face is a list of labels corresponding to mesh vertices.
defineTypeNameAndDebug(combustionModel, 0)
void addOrDelete(topoSet &set, const label cellI, const bool) const
Add (if bool) cellI to set or delete cellI from set.
Initialise the NamedEnum HashTable from the static list of names.