Go to the documentation of this file.
92 auto iter =
p.begin();
94 for (
const label pointi : *
this)
108 return s < ROOTVSMALL ?
Zero :
n/
s;
127 return Foam::edge(thisLabel(edgei), nextLabel(edgei));
137 return vector(pts[nextLabel(edgei)] - pts[thisLabel(edgei)]);
145 const label pointi = edgei ? (nEdges() - edgei) : 0;
146 return Foam::edge(thisLabel(pointi), prevLabel(pointi));
158 const label pointi = edgei ? (nEdges() - edgei) : 0;
159 return vector(pts[prevLabel(pointi)] - pts[thisLabel(pointi)]);
171 return labelList::operator[](i);
177 return labelList::fcValue(i);
183 return labelList::rcValue(i);
List< label > labelList
A List of labels.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
static constexpr const zero Zero
scalar mag(const UList< point > &p) const
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
label thisLabel(const label i) const
Foam::edge edge(const label edgei) const
label nEdges() const noexcept
static int compare(const face &a, const face &b)
Foam::edge rcEdge(const label edgei) const
bool operator!=(const eddy &a, const eddy &b)
vector unitNormal(const UList< point > &p) const
label which(const label pointLabel) const
const dimensionedScalar b
Generic templated field type.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
label find(const ListType &input, const UnaryPredicate &pred, const label start=0)
Vector< scalar > vector
A scalar version of the templated Vector.
label prevLabel(const label i) const
label nextLabel(const label i) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A 1D vector of objects of type <T> with a fixed length <N>.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
pointField points(const UList< point > &pts) const
A face is a list of labels corresponding to mesh vertices.
constexpr face() noexcept=default