87#ifndef targetVolumeToCell_H
88#define targetVolumeToCell_H
120 const word maskSetName_;
126 scalar volumeOfSet(
const bitSet& selected)
const;
130 const scalar normalComp,
135 void combine(topoSet& set,
const bool add)
const;
149 const polyMesh&
mesh,
152 const word& maskSetName =
""
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh consisting of general polyhedral cells.
A topoSetCellSource to select cells based on a target volume of cells. Adapts a plane until it has en...
TypeName("targetVolumeToCell")
Runtime type information.
virtual ~targetVolumeToCell()=default
Destructor.
targetVolumeToCell(const polyMesh &mesh, const scalar vol, const vector &normal, const word &maskSetName="")
Construct from components.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
topoSetCellSource(const polyMesh &mesh)
Construct from mesh.
Class with constructor to add usage string to table.
setAction
Enumeration defining various actions.
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.
void add(DimensionedField< scalar, GeoMesh > &result, const dimensioned< scalar > &dt1, const DimensionedField< scalar, GeoMesh > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.