Go to the documentation of this file.
41 #ifndef surfaceToPoint_H
42 #define surfaceToPoint_H
51 class triSurfaceSearch;
100 const scalar nearDist,
101 const bool includeInside,
102 const bool includeOutside
const bool includeInside_
Include all points on opposite sign of normal on nearest surface.
sourceType
Enumeration defining the types of sources.
A class for handling file names.
Class with constructor to add usage string to table.
void combine(topoSet &set, const bool add) const
Depending on surface add to or delete from pointSet.
static addToUsageTable usage_
Add usage string.
setAction
Enumeration defining the valid actions.
const fileName surfName_
Name of surface file.
const polyMesh & mesh() const
void checkSettings() const
Check settings at construction time.
Mesh consisting of general polyhedral cells.
virtual sourceType setType() const
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
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).
A topoSetSource to selects points based on relation to surface.
const scalar nearDist_
If > 0 : include points with distance to surface less than nearDist.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
virtual ~surfaceToPoint()
Destructor.
Base class of a source for a topoSet.
surfaceToPoint(const polyMesh &mesh, const fileName &surfName, const scalar nearDist, const bool includeInside, const bool includeOutside)
Construct from components.
const bool includeOutside_
Include all points on this sign of normal on nearest surface.