foamToC: Ensure there is a space after long entry names when printing tables

This commit is contained in:
Henry Weller
2023-09-06 12:03:48 +01:00
parent 3650675a52
commit fae2367fb2

View File

@ -195,8 +195,9 @@ void printToC(const word& tableName)
forAll(toc, i) forAll(toc, i)
{ {
Info<< " " << setf(ios_base::left) << setw(40) << toc[i] Info<< " " << setf(ios_base::left)
<< debug::runTimeSelectionToC[tableName].second()[toc[i]] << setw(39) << toc[i]
<< ' ' << debug::runTimeSelectionToC[tableName].second()[toc[i]]
<< endl; << endl;
} }
@ -474,8 +475,9 @@ int main(int argc, char *argv[])
&& toc[i] == baseTypeNameTables[toc[i]].begin().key() && toc[i] == baseTypeNameTables[toc[i]].begin().key()
) )
{ {
Info<< " " << setf(ios_base::left) << setw(40) Info<< " " << setf(ios_base::left)
<< toc[i] << baseTypeNameTables[toc[i]].begin()() << setw(39) << toc[i]
<< ' ' << baseTypeNameTables[toc[i]].begin()()
<< endl; << endl;
} }
else else
@ -489,8 +491,9 @@ int main(int argc, char *argv[])
forAll(tocc, j) forAll(tocc, j)
{ {
Info<< " " Info<< " "
<< setf(ios_base::left) << setw(40) << tocc[j] << setf(ios_base::left)
<< baseTypeNameTables[toc[i]][tocc[j]] << setw(39) << tocc[j]
<< ' ' << baseTypeNameTables[toc[i]][tocc[j]]
<< endl; << endl;
} }
} }