61bool operator==(
const cellShape& a,
const cellShape&
b);
92 const bool doCollapse =
false
101 const bool doCollapse =
false
109 const bool doCollapse =
false
115 const word& modelName,
117 const bool doCollapse =
false
133 inline label
nPoints()
const noexcept;
136 inline label
nEdges()
const;
139 inline label
nFaces()
const;
184 const bool doCollapse =
false
193 const bool doCollapse =
false
A 1D vector of objects of type <T> with a fixed length <N>.
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,...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Maps a geometry to a set of cell primitives.
An analytical geometric cellShape.
const cellModel & model() const
Model reference.
labelList meshEdges(const edgeList &allEdges, const labelList &cEdges) const
Mesh edge labels of this cell (in order of model)
friend bool operator==(const cellShape &a, const cellShape &b)
scalar mag(const UList< point > &points) const
Scalar magnitude.
void reset(const cellModel &model, const labelUList &labels, const bool doCollapse=false)
Reset from components.
autoPtr< cellShape > clone() const
Clone.
void collapse()
Collapse shape to correct one after removing duplicate vertices.
Foam::InfoProxy< cellShape > info() const
Return info proxy, to print information to a stream.
labelList meshFaces(const faceList &allFaces, const cell &cFaces) const
Mesh face labels of this cell (in order of model)
point centre(const UList< point > &points) const
Centroid of the cell.
friend Ostream & operator<<(Ostream &os, const cellShape &s)
label nPoints() const noexcept
Number of points.
faceList faces() const
Faces of this cell.
constexpr cellShape() noexcept
Default construct. Empty shape, no cell model.
edgeList edges() const
Edges of this shape.
faceList collapsedFaces() const
Collapsed faces of this cell.
label nEdges() const
Number of edges.
friend Istream & operator>>(Istream &is, cellShape &s)
label nFaces() const
Number of faces.
A cell is defined as a list of faces with extra functionality.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
A face is a list of labels corresponding to mesh vertices.
A class for handling words, derived from Foam::string.
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))
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
Istream & operator>>(Istream &, directionInfo &)