Loading...
Searching...
No Matches
PrintTable< KeyType, DataType > Class Template Reference

Print a table in parallel, e.g.;. More...

#include <PrintTable.H>

Public Member Functions

 PrintTable ()
 Null constructor.
 PrintTable (const string &title)
 Construct with a title.
 PrintTable (const PrintTable< KeyType, DataType > &table)
 Copy constructor.
 ~PrintTable ()=default
 Destructor.
void add (const KeyType &K, const DataType &D)
 Add an entry (D) to the given key(K).
void print (Ostream &os, const bool printSum=false, const bool printAverage=false) const
 Print the table.

Detailed Description

template<class KeyType, class DataType>
class Foam::PrintTable< KeyType, DataType >

Print a table in parallel, e.g.;.

                        Vertex Type Information
               Proc #        0       1       2       3
                Total   145680  145278  145751  145359
           Unassigned        0       0       0       0
 nExternalFeatureEdge      883     829     828     960
nExternalFeaturePoint        8      10      10      12
     nExternalSurface     9533    9488    9502    9482
                 nFar        0       0       0       0
            nInternal   125494  125198  125642  125174
 nInternalFeatureEdge      238     241     241     240
nInternalFeaturePoint        2       2       2       2
nInternalNearBoundary        0       0       0       0
     nInternalSurface     9522    9510    9526    9489
            nReferred     7545    7497    7500    7587
Source files

Definition at line 66 of file PrintTable.H.

Constructor & Destructor Documentation

◆ PrintTable() [1/3]

template<class KeyType, class DataType>
PrintTable ( )

Null constructor.

Referenced by PrintTable().

Here is the caller graph for this function:

◆ PrintTable() [2/3]

template<class KeyType, class DataType>
PrintTable ( const string & title)
explicit

Construct with a title.

◆ PrintTable() [3/3]

template<class KeyType, class DataType>
PrintTable ( const PrintTable< KeyType, DataType > & table)

Copy constructor.

References PrintTable().

Here is the call graph for this function:

◆ ~PrintTable()

template<class KeyType, class DataType>
~PrintTable ( )
default

Destructor.

References D.

Member Function Documentation

◆ add()

template<class KeyType, class DataType>
void add ( const KeyType & K,
const DataType & D )
inline

Add an entry (D) to the given key(K).

Definition at line 24 of file PrintTableI.H.

References D.

◆ print()

template<class KeyType, class DataType>
void print ( Ostream & os,
const bool printSum = false,
const bool printAverage = false ) const

Print the table.

References os().

Here is the call graph for this function:

The documentation for this class was generated from the following files:
  • applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTable.H
  • applications/utilities/mesh/generation/foamyMesh/conformalVoronoiMesh/PrintTable/PrintTableI.H