85#ifndef Foam_searchableSurfaceToCell_H
86#define Foam_searchableSurfaceToCell_H
100class searchableSurfaceToCell
102 public topoSetCellSource
107 static addToUsageTable usage_;
110 autoPtr<searchableSurface> surf_;
115 void combine(topoSet& set,
const bool add)
const;
121 TypeName(
"searchableSurfaceToCell");
129 const word& surfaceType,
130 const polyMesh&
mesh,
131 const dictionary&
dict
137 const polyMesh&
mesh,
138 const dictionary&
dict
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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 whose cell centre enclosed by a given searchableSurface.
virtual ~searchableSurfaceToCell()=default
Destructor.
searchableSurfaceToCell(const word &surfaceType, const polyMesh &mesh, const dictionary &dict)
Construct surface-type from dictionary.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
TypeName("searchableSurfaceToCell")
Runtime type information.
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.
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(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.