Go to the documentation of this file.
50 return nonFeatureStart_;
56 return externalStart_;
62 return internalStart_;
80 return multipleStart_;
86 return ptI < nonFeatureStart_;
99 return normalVolumeTypes_;
106 return edgeDirections_;
113 return normalDirections_;
123 const edge&
e = edges()[edgeI];
125 if (ptI ==
e.start())
127 return edgeDirections()[edgeI];
129 else if (ptI ==
e.end())
131 return -edgeDirections()[edgeI];
136 <<
"Requested ptI " << ptI <<
" is not a point on the requested "
137 <<
"edgeI " << edgeI <<
". edgeI start and end: "
138 <<
e.start() <<
" " <<
e.end()
162 norms[i] = normals_[edgeNormIs[i]];
172 return edgeNormals(edgeNormals_[edgeI]);
179 return featurePointNormals_;
188 if (!featurePoint(ptI))
191 <<
"Requesting the normals of a non-feature point. "
192 <<
"Returned zero length vectorField."
198 labelList featPtNormIs(featurePointNormals_[ptI]);
204 norms[i] = normals_[featPtNormIs[i]];
214 return featurePointEdges_;
227 if (ptI < concaveStart_)
231 else if (ptI < mixedStart_)
235 else if (ptI < nonFeatureStart_)
247 if (edgeI < internalStart_)
251 else if (edgeI < flatStart_)
255 else if (edgeI < openStart_)
259 else if (edgeI < multipleStart_)
273 const labelList& eNormals = edgeNormals_[edgeI];
277 for (
const label normi : eNormals)
279 if (normalVolumeTypes_[normi])
281 edgeBaffles.
append(normi);
const labelListList & normalDirections() const
const labelListList & featurePointNormals() const
Return the indices of the normals that are adjacent to the.
static constexpr const zero Zero
Global zero (0)
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
const labelList & regionEdges() const
Return the feature edges which are on the boundary between.
const vectorField & normals() const
Return the normals of the surfaces adjacent to the feature edges.
const labelListList & featurePointEdges() const
Return the edge labels for a given feature point. Edges are.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label multipleStart() const
Return the index of the start of the multiply-connected feature.
const List< sideVolumeType > & normalVolumeTypes() const
Return.
bool featurePoint(label ptI) const
Return whether or not the point index is a feature point.
PackedList< 2 > edgeBaffles(label edgeI) const
Return the baffle faces of a specified edge.
#define forAll(list, i)
Loop across all elements in list.
pointStatus getPointStatus(label ptI) const
Return the pointStatus of a specified point.
Field< vector > vectorField
Specialisation of Field<T> for vector.
const vectorField & edgeDirections() const
Return the edgeDirection vectors.
label nonFeatureStart() const
Return the index of the start of the non-feature points.
label concaveStart() const
Return the index of the start of the concave feature points.
DynamicList< T, SizeMin > & append(const T &val)
Append an element to the end of this list.
label internalStart() const
Return the index of the start of the internal feature edges.
const labelListList & edgeNormals() const
Return the indices of the normals that are adjacent to the.
vector edgeDirection(label edgeI, label ptI) const
Return the direction of edgeI, pointing away from ptI.
label mixedStart() const
Return the index of the start of the mixed type feature points.
errorManipArg< error, int > exit(error &err, const int errNo=1)
static label convexStart_
Index of the start of the convex feature points - static as 0.
label openStart() const
Return the index of the start of the open feature edges.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label externalStart() const
Return the index of the start of the external feature edges.
const dimensionedScalar e
Elementary charge.
label convexStart() const
Return the index of the start of the convex feature points.
#define WarningInFunction
Report a warning using Foam::Warning.
label flatStart() const
Return the index of the start of the flat feature edges.
edgeStatus getEdgeStatus(label edgeI) const
Return the edgeStatus of a specified edge.