Go to the documentation of this file.
101 for (
const label pointi : *
this)
103 p[i++] = meshPoints[pointi];
115 return s < ROOTVSMALL ?
Zero :
n/
s;
134 return edge(
operator[](
n),
operator[](fcIndex(
n)));
152 return labelList::fcValue(i);
158 return labelList::rcValue(i);
pointField points(const UList< point > &points) const
Return the points corresponding to this face.
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
Global zero.
scalar mag(const UList< point > &p) const
Magnitude of face area.
label nEdges() const
Return number of edges.
edge faceEdge(const label n) const
Return n-th face edge.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
label nTriangles() const
Number of triangles after splitting.
Istream & operator>>(Istream &, directionInfo &)
A token holds an item read from Istream.
bool readEnd(const char *funcName)
End read of data chunk, ends with ')'.
bool readBegin(const char *funcName)
Begin read of data chunk, starts with '('.
static int compare(const face &a, const face &b)
Compare faces.
bool operator!=(const eddy &a, const eddy &b)
vector unitNormal(const UList< point > &p) const
The unit normal.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label which(const label pointLabel) const
Find local index on face for the point label,.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
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)....
versionNumber version() const noexcept
Get the stream version.
static const versionNumber originalVersion
The original version number.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
label find(const ListType &input, const UnaryPredicate &pred, const label start=0)
Find index of the first occurrence that satisfies the predicate.
label prevLabel(const label i) const
Previous vertex on face.
label nextLabel(const label i) const
Next vertex on face.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A 1D vector of objects of type <T> with a fixed length <N>.
A face is a list of labels corresponding to mesh vertices.
bool found(const label pointLabel) const
Return true if the point label is found in face.