48 #ifndef Foam_surfaceLocation_H 49 #define Foam_surfaceLocation_H 61 class surfaceLocation;
64 Istream&
operator>>(Istream&, surfaceLocation&);
65 Ostream&
operator<<(Ostream&,
const surfaceLocation&);
67 Ostream& operator<<(Ostream&, const InfoProxy<surfaceLocation>&);
149 void write(Ostream&
os,
const triSurface&
s)
const;
triPointRef::proxType & elementType() noexcept
A triangle primitive used to calculate face normals and swept volumes. Uses referred points...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
This class describes the interaction of an object (often a face) and a point. It carries the info of ...
friend Istream & operator>>(Istream &is, surfaceLocation &sl)
proxType
Proximity classifications.
Istream & operator>>(Istream &, directionInfo &)
label & triangle() noexcept
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
InfoProxy< surfaceLocation > info() const noexcept
Return info proxy, to print information to a stream.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
A helper class for outputting values to Ostream.
void write(Ostream &os, const triSurface &s) const
Write info about selected face index to a stream.
surfaceLocation()
Default construct.
vector normal(const triSurface &s) const
Normal. Approximate for points.
Contains information about location on a triSurface.
Triangulated surface description with patch information.
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))
friend Ostream & operator<<(Ostream &os, const surfaceLocation &sl)