Go to the documentation of this file.
69 const labelList& blockLabels = blockShape_;
72 const pointField blockPoints = blockShape_.points(blockPointField_);
77 forAll(curvedEdges_, cedgeI)
79 const curvedEdge& cedge = curvedEdges_[cedgeI];
81 int cmp = cedge.
compare(blockLabels[start], blockLabels[end]);
90 lineDivide divEdge(cedge, nDiv, expand_[edgeI]);
92 edgePoints_[edgeI] = divEdge.
points();
105 edgePoints_[edgeI].
setSize(
p.size());
106 edgeWeights_[edgeI].setSize(d.
size());
108 label pMax =
p.size() - 1;
111 edgePoints_[edgeI][pI] =
p[pMax - pI];
112 edgeWeights_[edgeI][pI] = 1.0 - d[pMax - pI];
130 edgePoints_[edgeI] = divEdge.
points();
const pointField & points() const
Return the points.
void makeBlockEdges()
Set the points/weights for all edges.
void setEdge(label edgeI, label start, label end, label dim)
Set the edge points/weights.
#define forAll(list, i)
Loop across all elements in list.
Divides a line into segments.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
const scalarList & lambdaDivisions() const
Return the list of lambda values.
A straight edge between the start point and the end point.
int compare(const curvedEdge &) const
Compare the given start and end points with this curve.
void setSize(const label)
Reset size of List.
Vector< label > meshDensity_
The number of cells in the i,j,k directions.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Define a curved edge that is parameterized for 0<lambda<1 between the start and end point.
void size(const label)
Override size to be inconsistent with allocated storage.