85#ifndef Foam_searchableSurfaceToPoint_H
86#define Foam_searchableSurfaceToPoint_H
100class searchableSurfaceToPoint
102 public topoSetPointSource
107 static addToUsageTable usage_;
110 autoPtr<searchableSurface> surf_;
115 void combine(topoSet& set,
const bool add)
const;
120 TypeName(
"searchableSurfaceToPoint");
128 const word& surfaceType,
129 const polyMesh&
mesh,
130 const dictionary&
dict
136 const polyMesh&
mesh,
137 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 topoSetPointSource to select points which are centre enclosed by a given searchableSurface.
TypeName("searchableSurfaceToPoint")
Runtime type information.
virtual ~searchableSurfaceToPoint()=default
Destructor.
searchableSurfaceToPoint(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.
The topoSetPointSource is a intermediate class for handling topoSet sources for selecting points.
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.