48#ifndef surfaceLocation_H
49#define surfaceLocation_H
64Istream&
operator>>(Istream&, surfaceLocation&);
65Ostream&
operator<<(Ostream&,
const surfaceLocation&);
66Ostream&
operator<<(Ostream&,
const InfoProxy<surfaceLocation>&);
A helper class for outputting values to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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...
Contains information about location on a triSurface.
vector normal(const triSurface &s) const
Normal. Approximate for points.
surfaceLocation(const pointIndexHit &pHit, const triPointRef::proxType elementType, const label triangle)
Construct from components.
label triangle() const noexcept
friend Ostream & operator<<(Ostream &os, const surfaceLocation &sl)
triPointRef::proxType elementType() const noexcept
surfaceLocation(Istream &is)
Construct from Istream.
InfoProxy< surfaceLocation > info() const
Return info proxy, to print information to a stream.
triPointRef::proxType & elementType() noexcept
friend Istream & operator>>(Istream &is, surfaceLocation &sl)
surfaceLocation()
Default construct.
label & triangle() noexcept
Triangulated surface description with patch information.
A triangle primitive used to calculate face normals and swept volumes.
proxType
The proximity classifications.
OBJstream os(runTime.globalPath()/outputName)
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))
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)