Go to the documentation of this file.
48 #ifndef surfaceLocation_H
49 #define surfaceLocation_H
61 class surfaceLocation;
64 Istream&
operator>>(Istream&, surfaceLocation&);
65 Ostream&
operator<<(Ostream&,
const surfaceLocation&);
66 Ostream&
operator<<(Ostream&,
const InfoProxy<surfaceLocation>&);
void write(Ostream &os, const triSurface &s) const
Write info about selected face index to a stream.
A helper class for outputting values to Ostream.
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;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
Contains information about location on a triSurface.
surfaceLocation(Istream &is)
Construct from Istream.
Istream & operator>>(Istream &, directionInfo &)
triPointRef::proxType elementType() const noexcept
A triangle primitive used to calculate face normals and swept volumes.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
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.
OBJstream os(runTime.globalPath()/outputName)
PointIndexHit< point > pointIndexHit
A PointIndexHit for 3D points.
label & triangle() noexcept
proxType
The proximity classifications.
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
triPointRef::proxType & elementType() noexcept
friend Ostream & operator<<(Ostream &os, const surfaceLocation &sl)
InfoProxy< surfaceLocation > info() const
Return info proxy, to print information to a stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
label triangle() const noexcept
surfaceLocation()
Default construct.