43 if (eFaces.
size() == 1)
53 edgeNormal += n[eFaces[i]];
55 return edgeNormal/(
mag(edgeNormal) + vSmall);
71 os <<
"trianglecoords:" << s[
index()].tri(s.
points());
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.
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
const Field< PointType > & localPoints() const
Return pointField of points in patch.
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.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
linePointRef line(const pointField &) const
Return edge line.
proxType
Return types for classify.
triPointRef::proxType & elementType()
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
Istream & operator>>(Istream &, directionInfo &)
bool hit() const
Is there a hit.
const Field< PointType > & points() const
Return reference to global points.
const labelListList & edgeFaces() const
Return edge-face addressing.
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
const Field< PointType > & faceNormals() const
Return face normals for patch.
const Point & rawPoint() const
Return point with no checking.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const Field< PointType > & pointNormals() const
Return point normals for patch.
A helper class for outputting values to Ostream.
void write(Ostream &os, const triSurface &s) const
Write info to os.
Ostream & operator<<(Ostream &, const ensightPart &)
dimensioned< scalar > mag(const dimensioned< Type > &)
vector normal(const triSurface &s) const
Normal. Approximate for points.
const doubleScalar e
Elementary charge.
Contains information about location on a triSurface.
Triangulated surface description with patch information.
label index() const
Return index.