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