foamToC: Only print the table base-type if it differs from the table name
This commit is contained in:
@ -171,10 +171,15 @@ void printToC(const word& tableName)
|
|||||||
debug::runTimeSelectionToC[tableName].second().sortedToc()
|
debug::runTimeSelectionToC[tableName].second().sortedToc()
|
||||||
);
|
);
|
||||||
|
|
||||||
Info<< "Contents of table " << tableName
|
Info<< "Contents of table " << tableName;
|
||||||
<< ", base type "
|
|
||||||
<< debug::runTimeSelectionToC[tableName].first()
|
if (debug::runTimeSelectionToC[tableName].first() != tableName)
|
||||||
<< ":" << endl;
|
{
|
||||||
|
Info<< ", base type "
|
||||||
|
<< debug::runTimeSelectionToC[tableName].first();
|
||||||
|
}
|
||||||
|
|
||||||
|
Info<< ":" << endl;
|
||||||
|
|
||||||
forAll(toc, i)
|
forAll(toc, i)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user