Go to the documentation of this file.
40 label triI = triFaces.size();
47 return split(SPLITTRIANGLE,
points, triI, quadI, triFaces, quadFaces);
78 for (label pI=0; pI<
nPoints; pI++)
80 centrePoint += meshPoints[operator[](pI)];
81 cf +=
fld[operator[](pI)];
90 for (label pI=0; pI<
nPoints; pI++)
103 (meshPoints[
operator[](pI)] - centrePoint)
104 ^ (meshPoints[
operator[]((pI + 1) %
nPoints)] - centrePoint)
113 return sumAf/(3*sumA);
static constexpr const zero Zero
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Type average(const UList< point > &meshPoints, const Field< Type > &fld) const
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;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void setSize(const label n)
static bool split(const std::string &line, std::string &key, std::string &val)
label triangles(const UList< point > &points, label &triI, faceList &triFaces) 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>, where the size of the vector is known and can be used for subscri...
pointField points(const UList< point > &pts) const
vector point
Point is a vector.