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();
linePointRef line(const pointField &) const
Return edge line.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const double e
Elementary charge.
bool hit() const
Is there a hit.
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.
const Field< PointType > & points() const
Return reference to global points.
const Field< PointType > & pointNormals() const
Return point normals for patch.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
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))
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 &)
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
const Point & rawPoint() const
Return point with no checking.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
vector normal(const triSurface &s) const
Normal. Approximate for points.
A helper class for outputting values to Ostream.
const Field< PointType > & faceNormals() const
Return face normals for patch.
label index() const
Return index.
Ostream & operator<<(Ostream &, const ensightPart &)
dimensioned< scalar > mag(const dimensioned< Type > &)
const labelListList & edgeFaces() const
Return edge-face addressing.
Contains information about location on a triSurface.
Triangulated surface description with patch information.
void write(Ostream &os, const triSurface &s) const
Write info to os.
const Field< PointType > & localPoints() const
Return pointField of points in patch.