87 #ifndef targetVolumeToCell_H 88 #define targetVolumeToCell_H 104 class targetVolumeToCell
106 public topoSetCellSource
111 static addToUsageTable usage_;
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 =
"" targetVolumeToCell(const polyMesh &mesh, const scalar vol, const vector &normal, const word &maskSetName="")
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
TypeName("targetVolumeToCell")
Runtime type information.
const polyMesh & mesh() const noexcept
Reference to the mesh.
setAction
Enumeration defining various actions.
virtual ~targetVolumeToCell()=default
Destructor.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
General set of labels of mesh quantity (points, cells, faces).
Mesh consisting of general polyhedral cells.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.