Go to the documentation of this file.
42 #ifndef surfaceLocation_H
43 #define surfaceLocation_H
void write(Ostream &os, const triSurface &s) const
Write info to os.
A helper class for outputting values to Ostream.
Contains information about location on a triSurface:
surfaceLocation(Istream &is)
Construct from Istream.
triPointRef::proxType elementType_
triPointRef::proxType & elementType()
A triangle primitive used to calculate face normals and swept volumes.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Triangulated surface description with patch information.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
friend Istream & operator>>(Istream &is, surfaceLocation &sl)
vector normal(const triSurface &s) const
Normal. Approximate for points.
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))
triPointRef::proxType elementType() const
PointIndexHit< point > pointIndexHit
proxType
Return types for classify.
friend Ostream & operator<<(Ostream &os, const surfaceLocation &sl)
label readLabel(Istream &is)
InfoProxy< surfaceLocation > info() const
Return info proxy.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
surfaceLocation()
Construct null.