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()
|
||||
);
|
||||
|
||||
Info<< "Contents of table " << tableName
|
||||
<< ", base type "
|
||||
<< debug::runTimeSelectionToC[tableName].first()
|
||||
<< ":" << endl;
|
||||
Info<< "Contents of table " << tableName;
|
||||
|
||||
if (debug::runTimeSelectionToC[tableName].first() != tableName)
|
||||
{
|
||||
Info<< ", base type "
|
||||
<< debug::runTimeSelectionToC[tableName].first();
|
||||
}
|
||||
|
||||
Info<< ":" << endl;
|
||||
|
||||
forAll(toc, i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user