115 public topoSetCellSource
120 static addToUsageTable usage_;
146 void unselectOutsideRegions(
boolList& selectedCell)
const;
149 void shrinkRegions(
boolList& selectedCell)
const;
153 void erode(
boolList& selectedCell)
const;
155 void combine(topoSet& set,
const bool add)
const;
169 const polyMesh&
mesh,
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
This class separates the mesh into distinct unconnected regions, each of which is then given a label ...
A topoSetCellSource to select cells belonging to a topologically connected region (that contains give...
TypeName("regionToCell")
Runtime type information.
regionToCell(const polyMesh &mesh, const word &setName, const pointField &insidePoints, const label nErode)
Construct from components.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
virtual ~regionToCell()=default
Destructor.
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
Class with constructor to add usage string to table.
setAction
Enumeration defining various actions.
bool verbose() const noexcept
Get output verbosity.
const polyMesh & mesh() const noexcept
Reference to the mesh.
General set of labels of mesh quantity (points, cells, faces).
A class for handling words, derived from Foam::string.
vectorField pointField
pointField is a vectorField.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
List< bool > boolList
A List of bools.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.