Go to the documentation of this file.
45 #ifndef searchableSurfaceToPoint_H
46 #define searchableSurfaceToPoint_H
60 class searchableSurfaceToPoint
62 public topoSetPointSource
67 static addToUsageTable usage_;
70 autoPtr<searchableSurface> surf_;
75 void combine(topoSet& set,
const bool add)
const;
93 TypeName(
"searchableSurfaceToPoint");
101 const word& surfaceType,
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.
A topoSetPointSource to select mesh points within a searchableSurface.
Mesh consisting of general polyhedral cells.
General set of labels of mesh quantity (points, cells, faces).
Base class of a topoSet source for selecting points.
static const word defaultName("coeffs")
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.
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)
TypeName("searchableSurfaceToPoint")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual ~searchableSurfaceToPoint()=default
Destructor.
static word getSurfaceName(const dictionary &dict, const word &defaultName)
Retrieve surface name from dictionary entry.
searchableSurfaceToPoint(const word &surfaceType, const polyMesh &mesh, const dictionary &dict)
Construct surface-type from dictionary.