150 static void constructModels();
205 const label modelEdgei,
212 const label modelFacei,
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
bool good() const noexcept
True if next operation might succeed.
A helper class for outputting values to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Maps a geometry to a set of cell primitives.
const word & name() const noexcept
Return model name.
friend Ostream & operator<<(Ostream &os, const cellModel &cm)
edgeList edges(const labelUList &pointLabels) const
Return list of cell edges.
autoPtr< cellModel > clone() const
Return clone.
label nEdges() const noexcept
Return number of edges.
InfoProxy< cellModel > info() const
Return info proxy.
vector centre(const labelList &pointLabels, const UList< point > &points) const
Centroid of the cell.
static autoPtr< cellModel > New(Istream &is)
Return a new cellModel created from Istream.
const faceList & modelFaces() const noexcept
Return a raw list of model faces.
bool writeData(Ostream &os) const
The writeData member function required by regIOobject.
modelType
Enumeration of commonly used cellModel types.
label index() const noexcept
Return index of model in the model list.
label nPoints() const noexcept
Return number of points.
label nFaces() const noexcept
Return number of faces.
scalar mag(const labelList &pointLabels, const UList< point > &points) const
Cell volume.
static const cellModel * ptr(const modelType model)
Look up pointer to cellModel by enumeration, or nullptr on failure.
faceList faces(const labelUList &pointLabels) const
Return list of cell faces.
static const Enum< modelType > modelNames
Names of commonly used cellModels corresponding to modelType.
const edgeList & modelEdges() const noexcept
Return a raw list of model edges.
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)
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
labelList pointLabels(nPoints, -1)