28 template<
class Triangulation>
35 template<
class Triangulation>
38 const string& description,
44 Info<<
nl <<
"--- [ cpuTime " 45 << time().elapsedCpuTime() <<
" s, " 46 <<
"delta " << time().cpuTimeIncrement()<<
" s";
48 if (description != word::null)
50 Info<<
", " << description <<
" ";
62 template<
class Triangulation>
65 label id = cellCount_++;
71 "Foam::DelaunayMesh<Triangulation>::getNewCellIndex() const" 72 ) <<
"Cell counter has overflowed." <<
endl;
79 template<
class Triangulation>
82 label id = vertexCount_++;
88 "Foam::DelaunayMesh<Triangulation>::getNewVertexIndex() const" 89 ) <<
"Vertex counter has overflowed." <<
endl;
96 template<
class Triangulation>
103 template<
class Triangulation>
110 template<
class Triangulation>
117 template<
class Triangulation>
label getNewCellIndex() const
Create a new unique cell index and return.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label vertexCount() const
Return the vertex count (the next unique vertex index)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define WarningIn(functionName)
Report a warning using Foam::Warning.
void timeCheck(const string &description, const bool check=true) const
Write the cpuTime to screen.
void resetVertexCount()
Set the vertex count to zero.
void resetCellCount()
Set the cell count to zero.
label cellCount() const
Return the cell count (the next unique cell index)
const Time & time() const
Return a reference to the Time object.
label getNewVertexIndex() const
Create a new unique vertex index and return.
static const label labelMax