43 if (eFaces.
size() == 1)
53 edgeNormal +=
n[eFaces[i]];
55 return edgeNormal/(
mag(edgeNormal) + vSmall);
60 return s.pointNormals()[
index()];
71 os <<
"trianglecoords:" <<
s[index()].tri(
s.points());
75 const edge&
e =
s.edges()[index()];
77 os <<
"edgecoords:" <<
e.line(
s.localPoints());
81 os <<
"pointcoord:" <<
s.localPoints()[index()];
90 >> elType >> sl.triangle_;
116 <<
" inside triangle:" << sl.
index()
117 <<
" excludeTriangle:" << sl.
triangle();
122 <<
" on edge:" << sl.
index()
123 <<
" excludeTriangle:" << sl.
triangle();
128 <<
" on point:" << sl.
index()
129 <<
" excludeTriangle:" << sl.
triangle();
#define forAll(list, i)
Loop across all elements in list.
A helper class for outputting values to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void size(const label)
Override size to be inconsistent with allocated storage.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
const Point & rawPoint() const
Return point with no checking.
label index() const
Return index.
bool hit() const
Is there a hit.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Contains information about location on a triSurface.
vector normal(const triSurface &s) const
Normal. Approximate for points.
triPointRef::proxType & elementType()
void write(Ostream &os, const triSurface &s) const
Write info to os.
Triangulated surface description with patch information.
proxType
Return types for classify.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Istream & operator>>(Istream &, pistonPointEdgeData &)
dimensioned< scalar > mag(const dimensioned< Type > &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)