123 if (ptI == e.
start())
127 else if (ptI == e.
end())
134 <<
"Requested ptI " << ptI <<
" is not a point on the requested " 135 <<
"edgeI " << edgeI <<
". edgeI start and end: " 188 WarningIn(
"vectorField extendedEdgeMesh::featurePointNormals")
189 <<
"Requesting the normals of a non-feature point. " 190 <<
"Returned zero length vectorField." 202 norms[i] =
normals_[featPtNormIs[i]];
281 const label normI = eNormals[enI];
label flatStart_
Index of the start of the flat feature edges.
label externalStart() const
Return the index of the start of the external feature edges.
vectorField edgeDirections_
Flat and open edges require the direction of the edge.
const List< sideVolumeType > & normalVolumeTypes() const
Return.
label nonFeatureStart() const
Return the index of the start of the non-feature points.
PackedList< 2 > edgeBaffles(label edgeI) const
Return the baffle faces of a specified edge.
const labelListList & featurePointEdges() const
Return the edge labels for a given feature point. Edges are.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
pointStatus getPointStatus(label ptI) const
Return the pointStatus of a specified point.
void size(const label)
Override size to be inconsistent with allocated storage.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const vectorField & edgeDirections() const
Return the edgeDirection vectors.
const labelList & regionEdges() const
Return the feature edges which are on the boundary between.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
PackedList< nBits > & append(const unsigned int val)
Append a value at the end of the list.
const labelListList & edgeNormals() const
Return the indices of the normals that are adjacent to the.
labelListList featurePointNormals_
Indices of the normals that are adjacent to the feature points.
label multipleStart() const
Return the index of the start of the multiply-connected feature.
label internalStart_
Index of the start of the internal feature edges.
List< sideVolumeType > normalVolumeTypes_
Type per normal: which side of normal to mesh.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const double e
Elementary charge.
Ostream & endl(Ostream &os)
Add newline and flush stream.
label nonFeatureStart_
Index of the start of the non-feature points.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
const vectorField & normals() const
Return the normals of the surfaces adjacent to the feature edges.
label mixedStart_
Index of the start of the mixed type feature points.
vector edgeDirection(label edgeI, label ptI) const
Return the direction of edgeI, pointing away from ptI.
Field< vector > vectorField
Specialisation of Field<T> for vector.
label concaveStart_
Index of the start of the concave feature points.
labelListList featurePointEdges_
Indices of feature edges attached to feature points. The edges are.
label openStart() const
Return the index of the start of the open feature edges.
labelListList normalDirections_
Starting directions for the edges.
static label convexStart_
Index of the start of the convex feature points - static as 0.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
edgeStatus getEdgeStatus(label edgeI) const
Return the edgeStatus of a specified edge.
label convexStart() const
Return the index of the start of the convex feature points.
label openStart_
Index of the start of the open feature edges.
vectorField normals_
Normals of the features, to be referred to by index by both feature.
label end() const
Return end vertex label.
label internalStart() const
Return the index of the start of the internal feature edges.
label mixedStart() const
Return the index of the start of the mixed type feature points.
static label externalStart_
Index of the start of the external feature edges - static as 0.
labelList regionEdges_
Feature edges which are on the boundary between regions.
label start() const
Return start vertex label.
labelListList edgeNormals_
Indices of the normals that are adjacent to the feature edges.
label multipleStart_
Index of the start of the multiply-connected feature edges.
const labelListList & normalDirections() const
label concaveStart() const
Return the index of the start of the concave feature points.
bool featurePoint(label ptI) const
Return whether or not the point index is a feature point.
label flatStart() const
Return the index of the start of the flat feature edges.
const labelListList & featurePointNormals() const
Return the indices of the normals that are adjacent to the.
const edgeList & edges() const
Return edges.