Go to the documentation of this file.
46 #ifndef searchableSurfaceToCell_H
47 #define searchableSurfaceToCell_H
61 class searchableSurfaceToCell
63 public topoSetCellSource
68 static addToUsageTable usage_;
71 autoPtr<searchableSurface> surf_;
76 void combine(topoSet& set,
const bool add)
const;
102 const word& surfaceType,
searchableSurfaceToCell(const word &surfaceType, const polyMesh &mesh, const dictionary &dict)
Construct surface-type from dictionary.
A class for handling words, derived from Foam::string.
Class with constructor to add usage string to table.
setAction
Enumeration defining the valid actions.
const polyMesh & mesh() const
Reference to the mesh.
TypeName("searchableSurfaceToCell")
Runtime type information.
Mesh consisting of general polyhedral cells.
static word getSurfaceName(const dictionary &dict, const word &defaultName)
Retrieve surface name from dictionary entry.
virtual ~searchableSurfaceToCell()=default
Destructor.
General set of labels of mesh quantity (points, cells, faces).
static const word defaultName("coeffs")
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
Apply specified action to the topoSet.
Base class of a topoSet source for selecting cells.
A topoSetCellSource to select cells with centres within a searchableSurface.