44 #ifndef surfaceToCell_H
45 #define surfaceToCell_H
54 class triSurfaceSearch;
76 const bool includeCut_;
79 const bool includeInside_;
82 const bool includeOutside_;
86 const bool useSurfaceOrientation_;
90 const scalar nearDist_;
94 const scalar curvature_;
104 const bool IOwnPtrs_;
112 static label getNearest
124 bool differingPointNormals
129 const label cellTriI,
135 void combine(
topoSet& set,
const bool add)
const;
138 void checkSettings()
const;
142 return *querySurfPtr_;
159 const bool includeCut,
160 const bool includeInside,
161 const bool includeOutside,
162 const bool useSurfaceOrientation,
163 const scalar nearDist,
164 const scalar curvature
175 const bool includeCut,
176 const bool includeInside,
177 const bool includeOutside,
178 const bool useSurfaceOrientation,
179 const scalar nearDist,
180 const scalar curvature
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)