Go to the documentation of this file.
85 #ifndef searchableSurfaceToCell_H
86 #define searchableSurfaceToCell_H
100 class searchableSurfaceToCell
102 public topoSetCellSource
107 static addToUsageTable usage_;
110 autoPtr<searchableSurface> surf_;
115 void combine(topoSet&
set,
const bool add)
const;
125 const dictionary&
dict,
126 const word& defaultName
133 TypeName(
"searchableSurfaceToCell");
141 const word& surfaceType,
142 const polyMesh&
mesh,
143 const dictionary&
dict
void set(List< bool > &bools, const labelRange &range)
searchableSurfaceToCell(const word &surfaceType, const polyMesh &mesh, const dictionary &dict)
A class for handling words, derived from Foam::string.
TypeName("searchableSurfaceToCell")
Mesh consisting of general polyhedral cells.
static word getSurfaceName(const dictionary &dict, const word &defaultName)
virtual ~searchableSurfaceToCell()=default
General set of labels of mesh quantity (points, cells, faces).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
The topoSetCellSource is a intermediate class for handling topoSet sources for selecting cells.
A topoSetCellSource to select cells whose cell centre enclosed by a given searchableSurface.
const polyMesh & mesh() const noexcept