Go to the documentation of this file.
36 #ifndef targetVolumeToCell_H
37 #define targetVolumeToCell_H
77 const scalar normalComp,
sourceType
Enumeration defining the types of sources.
A class for handling words, derived from string.
Class with constructor to add usage string to table.
label selectCells(const scalar normalComp, const PackedBoolList &, PackedBoolList &selected) const
virtual sourceType setType() const
setAction
Enumeration defining the valid actions.
scalar volumeOfSet(const PackedBoolList &) const
const polyMesh & mesh() const
const word maskSetName_
Optional name of cellSet to calculate volume in.
Mesh consisting of general polyhedral cells.
A topoSetSource to select cells based on the wanted volume of selected cells. Adapts a plane until it...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const scalar vol_
Wanted volume.
virtual ~targetVolumeToCell()
Destructor.
General set of labels of mesh quantity (points, cells, faces).
A list of keyword definitions, which are a keyword followed by any number of values (e....
targetVolumeToCell(const polyMesh &mesh, const scalar vol, const vector &)
Construct from components.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Base class of a source for a topoSet.
void combine(topoSet &set, const bool add) const
TypeName("targetVolumeToCell")
Runtime type information.
const vector n_
Normal of plane to sweep.
static addToUsageTable usage_
Add usage string.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const