Go to the documentation of this file.
63 bool operator==(
const cellShape& a,
const cellShape&
b);
65 Ostream&
operator<<(Ostream& os,
const cellShape&
s);
94 const bool doCollapse =
false
102 const bool doCollapse =
false
108 const word& modelName,
110 const bool doCollapse =
false
190 Ostream&
operator<<(Ostream& os,
const InfoProxy<cellShape>& ip);
void collapse()
Collapse shape to correct one after removing duplicate vertices.
friend Ostream & operator<<(Ostream &os, const cellShape &s)
A class for handling words, derived from Foam::string.
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))
point centre(const UList< point > &points) const
Centroid of the cell.
labelList meshFaces(const faceList &allFaces, const cell &cFaces) const
Mesh face labels of this cell (in order of model)
Istream & operator>>(Istream &, directionInfo &)
faceList faces() const
Faces of this cell.
labelList meshEdges(const edgeList &allEdges, const labelList &cEdges) const
Mesh edge labels of this cell (in order of model)
pointField points(const UList< point > &meshPoints) const
Return the points corresponding to this cellShape.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
edgeList edges() const
Edges of this cellShape.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
autoPtr< cellShape > clone() const
Clone.
friend Istream & operator>>(Istream &is, cellShape &s)
friend bool operator==(const cellShape &a, const cellShape &b)
cellShape()
Construct null.
An analytical geometric cellShape.
scalar mag(const UList< point > &points) const
Scalar magnitude.
label nFaces() const
Number of faces.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
label nEdges() const
Number of edges.
Foam::InfoProxy< cellShape > info() const
Return info proxy.
label nPoints() const
Number of points.
faceList collapsedFaces() const
Collapsed faces of this cell.
Maps a geometry to a set of cell primitives.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A cell is defined as a list of faces with extra functionality.
Ostream & operator<<(Ostream &, const boundaryPatch &)
const cellModel & model() const
Model reference.