Go to the documentation of this file.
47 faceToPoint::typeName,
48 "\n Usage: faceToPoint <faceSet> all\n\n"
49 " Select all points of faces in the faceSet\n\n"
56 Foam::faceToPoint::faceActionNames_
58 { faceAction::ALL,
"all" },
64 void Foam::faceToPoint::combine
72 faceSet loadedSet(
mesh_, setName);
76 for (
const label facei : faceLabels)
95 names_(
one(), setName),
108 option_(faceActionNames_.get(
"option",
dict))
126 names_(
one(),
word(checkIs(is))),
127 option_(faceActionNames_.read(checkIs(is)))
143 Info<<
" Adding points from face in faceSet "
147 for (
const word& setName : names_)
156 Info<<
" Removing points from face in faceSet "
160 for (
const word& setName : names_)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A class for handling words, derived from Foam::string.
faceAction
Enumeration defining the valid options.
faceToPoint(const polyMesh &mesh, const word &setName, const faceAction option)
Construct from components.
Class with constructor to add usage string to table.
A class representing the concept of 1 (one), which can be used to avoid manipulating objects that are...
setAction
Enumeration defining the valid actions.
Create a new set and ADD elements to it.
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
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.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
General set of labels of mesh quantity (points, cells, faces).
Base class of a topoSet source for selecting points.
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 const faceList & faces() const
Return raw faces.
FlatOutput< Container > flatOutput(const Container &obj, label len=0)
Global flatOutput function.
void addOrDelete(topoSet &set, const label id, const bool add) const
Add or delete id from set. Add when 'add' is true.
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys and label hasher.
const polyMesh & mesh_
Reference to the mesh.
defineTypeNameAndDebug(combustionModel, 0)
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const