100#ifndef surfaceToPoint_H
101#define surfaceToPoint_H
116 public topoSetPointSource
121 static addToUsageTable usage_;
124 const fileName surfName_;
127 const word surfType_;
133 const scalar nearDist_;
136 const bool includeInside_;
139 const bool includeOutside_;
145 void combine(topoSet& set,
const bool add)
const;
148 void checkSettings()
const;
162 const polyMesh&
mesh,
163 const fileName& surfName,
164 const scalar nearDist,
165 const bool includeInside,
166 const bool includeOutside
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Mesh consisting of general polyhedral cells.
A topoSetPointSource to select points based on relation to a surface given by an external file.
TypeName("surfaceToPoint")
Runtime type information.
virtual ~surfaceToPoint()=default
Destructor.
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.
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.