Go to the documentation of this file.
108 const labelList& curModelLabels = faces_[facei];
110 face& curFace =
f[facei];
112 curFace.
setSize(curModelLabels.size());
114 forAll(curModelLabels, labeli)
116 curFace[labeli] =
pointLabels[curModelLabels[labeli]];
128 return (&lhs == &rhs);
134 return (&lhs != &rhs);
label nFaces() const
Return number of faces.
faceList faces(const labelUList &pointLabels) const
Return list of faces.
A class for handling words, derived from Foam::string.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
label nEdges() const
Return number of edges.
edgeList edges(const labelUList &pointLabels) const
Return list of edges.
#define forAll(list, i)
Loop across all elements in list.
bool operator!=(const eddy &a, const eddy &b)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
const faceList & modelFaces() const
Return a raw list of model faces.
const word & name() const
Return model name.
constexpr auto end(C &c) -> decltype(c.end())
Return iterator to the end of the container c.
const edgeList & modelEdges() const
Return a raw list of model edges.
const dimensionedScalar e
Elementary charge.
A face is a list of labels corresponding to mesh vertices.
Maps a geometry to a set of cell primitives.
void setSize(const label newSize)
Alias for resize(const label)
label index() const
Return index of model in the model list.
labelList pointLabels(nPoints, -1)
label nPoints() const
Return number of points.