44 #ifndef surfaceToCell_H
45 #define surfaceToCell_H
54 class triSurfaceSearch;
74 const bool includeCut_;
77 const bool includeInside_;
80 const bool includeOutside_;
84 const bool useSurfaceOrientation_;
88 const scalar nearDist_;
92 const scalar curvature_;
102 const bool IOwnPtrs_;
110 static label getNearest
122 bool differingPointNormals
127 const label cellTriI,
133 void combine(
topoSet& set,
const bool add)
const;
136 void checkSettings()
const;
140 return *querySurfPtr_;
158 const bool includeCut,
159 const bool includeInside,
160 const bool includeOutside,
161 const bool useSurfaceOrientation,
162 const scalar nearDist,
163 const scalar curvature
174 const bool includeCut,
175 const bool includeInside,
176 const bool includeOutside,
177 const bool useSurfaceOrientation,
178 const scalar nearDist,
179 const scalar curvature
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling file names.
Mesh consisting of general polyhedral cells.
A topoSetSource to select cells based on relation to surface.
virtual void applyToSet(const topoSetSource::setAction action, topoSet &) const
surfaceToCell(const polyMesh &mesh, const fileName &surfName, const pointField &outsidePoints, const bool includeCut, const bool includeInside, const bool includeOutside, const bool useSurfaceOrientation, const scalar nearDist, const scalar curvature)
Construct from components.
virtual sourceType setType() const
virtual ~surfaceToCell()
Destructor.
TypeName("surfaceToCell")
Runtime type information.
Base class of a source for a topoSet.
sourceType
Enumeration defining the types of sources.
setAction
Enumeration defining the valid actions.
const polyMesh & mesh() const
General set of labels of mesh quantity (points, cells, faces).
Helper class to search on triSurface.
Triangulated surface description with patch information.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)