Go to the documentation of this file.
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
virtual ~surfaceToPoint()=default
Destructor.
void set(List< bool > &bools, const labelRange &range)
Set the specified range 'on' in a boolList.
A class for handling words, derived from Foam::string.
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).
The topoSetPointSource is a intermediate class for handling topoSet sources for selecting points.
A topoSetPointSource to select points based on relation to a surface given by an external file.
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.