Go to the documentation of this file.
54 #ifndef surfaceToPoint_H
55 #define surfaceToPoint_H
65 class triSurfaceSearch;
73 public topoSetPointSource
79 static addToUsageTable usage_;
82 const fileName surfName_;
88 const scalar nearDist_;
91 const bool includeInside_;
94 const bool includeOutside_;
103 void checkSettings()
const;
117 const scalar nearDist,
118 const bool includeInside,
119 const bool includeOutside
virtual ~surfaceToPoint()=default
Destructor.
A class for handling file names.
setAction
Enumeration defining the valid actions.
const polyMesh & mesh() const
Reference to the mesh.
Mesh consisting of general polyhedral cells.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
TypeName("surfaceToPoint")
Runtime type information.
General set of labels of mesh quantity (points, cells, faces).
Base class of a topoSet source for selecting points.
A topoSetPointSource to select points based on relation to surface.
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)
surfaceToPoint(const polyMesh &mesh, const fileName &surfName, const scalar nearDist, const bool includeInside, const bool includeOutside)
Construct from components.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &set) const
Apply specified action to the topoSet.